Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

En/117 Upgrade proxy to aws 7.0 api #118

Merged
merged 17 commits into from
Mar 12, 2024
Merged

Conversation

bhaskarkishore
Copy link
Contributor

@bhaskarkishore bhaskarkishore commented Feb 28, 2024

Refer to ticket #117 , closes #79

PR includes:

  • Updated rekognition module to support 7.0 API
  • All dependencies updated to latest version. Rust compiler version is 1.78-nightly
  • Refactor for hyper due to version bump.
  • Clippy cleanup
  • npm lib updated with new categories
  • npm lib has vuln fixes via npm audit
  • Version number bumped down to 1.5.0. Rebump via later PR.

@bhaskarkishore bhaskarkishore added this to the Release 1.5.0 milestone Feb 28, 2024
@bhaskarkishore bhaskarkishore self-assigned this Feb 28, 2024
@bhaskarkishore bhaskarkishore removed this from the Release 1.5.0 milestone Feb 28, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2024

Codecov Report

Attention: Patch coverage is 12.19512% with 72 lines in your changes are missing coverage. Please review.

Project coverage is 36.84%. Comparing base (b12b64b) to head (a50f151).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
- Coverage   36.89%   36.84%   -0.05%     
==========================================
  Files          23       23              
  Lines        1827     1767      -60     
  Branches      379      406      +27     
==========================================
- Hits          674      651      -23     
+ Misses        924      880      -44     
- Partials      229      236       +7     
Files Coverage Δ
src/db/tests.rs 66.66% <100.00%> (-2.57%) ⬇️
src/document.rs 68.83% <100.00%> (+3.64%) ⬆️
src/moderation.rs 45.12% <ø> (-1.87%) ⬇️
src/rpc/mod.rs 51.93% <0.00%> (-1.14%) ⬇️
src/rpc/error.rs 0.00% <0.00%> (ø)
src/cache/moka.rs 0.00% <0.00%> (ø)
src/rpc/responses.rs 5.49% <0.00%> (+0.33%) ⬆️
src/http/hyper_client.rs 0.00% <0.00%> (ø)
src/main.rs 5.55% <0.00%> (+0.42%) ⬆️
src/aws/mod.rs 0.00% <0.00%> (ø)
... and 1 more

... and 9 files with indirect coverage changes

@@ -1,25 +1,27 @@
[package]
name = "nft_image_proxy"
version = "2.0.0"
version = "1.5.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come the version went down?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main branch was on an upgrade path. Nothing breaking was merged to it nor was a release done of it, so it was deemed a reasonable starting point for the current aws changes. Hence the bump down.

@@ -1,5 +1,5 @@
{
"url": "http://localhost:3000",
"url": "http://127.0.0.1:3000",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm has started resolving localhost to ipv6 addresses. Proxy doesn't support ipv6 yet.

@SiddharthV1 SiddharthV1 self-requested a review February 29, 2024 11:35
SiddharthV1
SiddharthV1 previously approved these changes Mar 1, 2024
@bhaskarkishore bhaskarkishore merged commit 49f6060 into main Mar 12, 2024
5 checks passed
@bhaskarkishore bhaskarkishore deleted the en/117-upgrade-aws-7.0-api branch March 14, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Address dependency vulns in npm lib
4 participants