-
Notifications
You must be signed in to change notification settings - Fork 493
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
deps(cw): regen clients with codegen at 0.25.x (IGNORE) #6439
base: master
Are you sure you want to change the base?
Conversation
|
The [email protected] published Since this is a monorepo which has a single lock file across all clients, the version of client packages need to be updated to Since AWS SDK for JavaScript v3 follows fixed versioning, the |
As there's another codegen client It currently uses old codegen version. |
I pinned the |
I see that you've use exact version Can you use There's no issue with using exact version as it'll be just one version above previous one. |
For a detailed explanation, if you search for
If you use |
I see, thanks for the explanation that makes a lot of sense. I switched it to to be |
I'm glad that versioning issues with Do update your Contributor Guide with learnings from this PR. The AWS SDK for JavaScript team will take a backlog to write a doc on versioning from this experience - possibly in our Developer Guide. We'll get it reviewed from you internally before publishing. |
Tackling I see that you're using 5 dependencies from "@smithy/middleware-retry": "^2.3.1",
"@smithy/protocol-http": "^3.3.0",
"@smithy/service-error-classification": "^2.1.5",
"@smithy/shared-ini-file-loader": "^2.2.8",
"@smithy/util-retry": "^2.2.0", An easy fix would be to copy the same version used by your code generated packages. i.e. "@smithy/middleware-retry": "^3.0.27",
"@smithy/protocol-http": "^4.1.7",
"@smithy/service-error-classification": "^3.0.11", // not direct client dependency, found from package-lock
"@smithy/shared-ini-file-loader": "^3.1.12", // not direct client dependency, found from package-lock
"@smithy/util-retry": "^3.0.10", Since it's the latest major version, you can use "@smithy/middleware-retry": "^3.0.0",
"@smithy/protocol-http": "^4.0.0",
"@smithy/service-error-classification": "^3.0.0",
"@smithy/shared-ini-file-loader": "^3.0.0",
"@smithy/util-retry": "^3.0.0", |
Thanks for the help! I was able to get it building by fixing the smithy versions. The tests are now failing since the code that relied on the older versions of Assuming we can update that code to work with the newer smithy versions, I want to make sure I understand how to avoid this in the future. Here is my understanding of what we had to do to fix this:
Feel free to let me know if I missed any important steps above. Also a few follow up questions:
Thank you again for your help on this issue! This has been a huge headache for us, and its refreshing to see a path out of it. |
768353c
to
cea3f93
Compare
Problem
Solution
feature/x
branches will not be squash-merged at release time.