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

chore(deps): upgrade axios to 1.6.0 #12489

Merged
merged 10 commits into from
Nov 6, 2023
Merged

chore(deps): upgrade axios to 1.6.0 #12489

merged 10 commits into from
Nov 6, 2023

Conversation

elorzafe
Copy link
Contributor

@elorzafe elorzafe commented Nov 1, 2023

Description of changes

  • upgrade axios version on api-rest
  • upgrade typescript version to 5.0.2 and build scripts on api-rest, api-graphql and api packages similar to core

Issue #, if available

Axios version needs to be upgrade

Description of how you validated changes

  • unit tests
  • smoke test

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sorry, something went wrong.

david-mcafee
david-mcafee previously approved these changes Nov 1, 2023
Copy link
Contributor

@david-mcafee david-mcafee left a comment

Choose a reason for hiding this comment

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

LGTM!

Verified

This commit was signed with the committer’s verified signature.
jasnell James M Snell
trigger e2e
AllanZhengYP
AllanZhengYP previously approved these changes Nov 1, 2023
Copy link
Member

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

The change looks good to me

wip

Verified

This commit was signed with the committer’s verified signature.
ruyadorno Ruy Adorno
@elorzafe elorzafe marked this pull request as ready for review November 1, 2023 18:10
@elorzafe elorzafe requested review from a team as code owners November 1, 2023 18:10

Verified

This commit was signed with the committer’s verified signature.
ruyadorno Ruy Adorno

Verified

This commit was signed with the committer’s verified signature.
targos Michaël Zasso
@@ -48,7 +48,8 @@
},
"homepage": "https://aws-amplify.github.io/",
"devDependencies": {
"@types/zen-observable": "^0.8.0"
"@types/zen-observable": "^0.8.0",
"typescript": "5.0.2"
Copy link
Member

Choose a reason for hiding this comment

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

Can you do a quick check with the v6 tsc-compatibility-test to make sure we don't break interface consumption in older TSC?

AllanZhengYP
AllanZhengYP previously approved these changes Nov 1, 2023
Copy link
Member

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@@ -9,7 +9,7 @@ on:
push:
branches:
# Change this to your branch name where "example-preid" corresponds to the preid you want your changes released on
- feat/example-preid-branch/main
- fix/v5-upgrade-axios
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove?

Copy link
Contributor

@jimblanc jimblanc left a comment

Choose a reason for hiding this comment

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

Looks good, some nits & questions

Comment on lines 23 to 25
"build:esm": "rimraf lib-esm && tsc -m esnext --outDir lib-esm",
"build:cjs:watch": "rimraf lib && tsc -m commonjs --outDir lib --watch",
"build:esm:watch": "rimraf lib-esm && tsc -m esnext --outDir lib-esm --watch",
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit but tabbing error

Comment on lines 23 to 25
"build:esm": "rimraf lib-esm && tsc -m esnext --outDir lib-esm",
"build:cjs:watch": "rimraf lib && tsc -m commonjs --outDir lib --watch",
"build:esm:watch": "rimraf lib-esm && tsc -m esnext --outDir lib-esm --watch",
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Tabbing error

@elorzafe elorzafe force-pushed the fix/v5-upgrade-axios branch from 05638d0 to 0254b4f Compare November 3, 2023 17:29
AllanZhengYP
AllanZhengYP previously approved these changes Nov 3, 2023
Copy link
Member

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Approving again. The bundle size increase reflects the Axios' own size increase from 0.26 to 1.6

stocaaro
stocaaro previously approved these changes Nov 3, 2023
@AllanZhengYP AllanZhengYP changed the title upgrade axios to 1.6.0 chore(deps): upgrade axios to 1.6.0 Nov 6, 2023
AllanZhengYP
AllanZhengYP previously approved these changes Nov 6, 2023
@elorzafe elorzafe dismissed stale reviews from AllanZhengYP and stocaaro via 061fbee November 6, 2023 20:56
@elorzafe elorzafe requested a review from david-mcafee November 6, 2023 21:08
@jimblanc jimblanc merged commit 51e97ea into v5-stable Nov 6, 2023
@HuiSF HuiSF deleted the fix/v5-upgrade-axios branch September 27, 2024 16:24
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.

None yet

5 participants