-
Notifications
You must be signed in to change notification settings - Fork 14
Breaking change in latest minor release #39
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
Comments
I generally agree with Trevor here. Moreover, even if you do want to issue a release with a maximum |
`node-abort-controller` just released `v3.1.0` with a breaking change that can be pulled in by current Apollo Server users (since the dependency is careted). We should pin to the previous latest for now and see what comes of southpolesteve/node-abort-controller#39
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @apollo/[email protected] ### Minor Changes - [#7325](#7325) [`e0f959a63`](e0f959a) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add optional `nonFtv1ErrorPaths` to Gateway metrics data. This change is a prerequisite to: - <apollographql/federation#2242> - <#7136> ## @apollo/[email protected] ### Patch Changes - [#7316](#7316) [`37d884650`](37d8846) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency - Updated dependencies \[[`f246ddb71`](f246ddb), [`e25cb58ff`](e25cb58)]: - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - [#7314](#7314) [`f246ddb71`](f246ddb) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add an `__identity` property to `HeaderMap` class to disallow standard `Map`s (in TypeScript). This ensures that typechecking occurs on fields which are declared to accept a `HeaderMap` (notably, the `httpGraphQLRequest.headers` option to `ApolloServer.executeHTTPGraphQLRequest` and the `http.headers` option to `ApolloServer.executeOperation`). This might be a breaking change for integration authors, but should be easily fixed by switching from `new Map<string, string>()` to `new HeaderMap()`. - [#7326](#7326) [`e25cb58ff`](e25cb58) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Pin `node-abort-controller` version to avoid breaking change. Apollo Server users can enter a broken state if they update their package-lock.json due to a breaking change in a minor release of the mentioned package. Ref: <southpolesteve/node-abort-controller#39> - Updated dependencies \[[`e0f959a63`](e0f959a)]: - @apollo/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
It's worth noting that the above override fix will not work if you're using From the Terraform Deploy github action output:
|
See southpolesteve/node-abort-controller#39 Override only works locally, consumers of package still get wrong dependency: Revert
This is affecting a lot of storybook users, see: |
Apologies all. We didn’t anticipate this would be breaking. We’ll get it
sorted out today.
…On Thu, Jan 26, 2023 at 7:39 AM Norbert de Langen ***@***.***> wrote:
This is affecting a lot of storybook users, see:
storybookjs/storybook#20793
<storybookjs/storybook#20793>
—
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADTC2AHTLTN2UUUY5652X3WUJ5CFANCNFSM6AAAAAAUGXYJ3M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you so much for the quick reply / assist @southpolesteve ⭐ |
My apologies folks. I didn't think that field would cause a breaking change. Going to revert and release a patch asap. Again, sorry for the headache! |
v3.1.1 has been published removing the |
eclipse-scout/cli on 23.1 branch builds again, other internal builds are recovering. Thanks for the fast fix! |
We've tested on our end and Webpack based Storybooks are good now. Thank you so much @Ethan-Arrowood! |
Thanks for the quick turnaround @Ethan-Arrowood (and for the PR @yannbf)! |
Hey @Ethan-Arrowood, #38 is a breaking change. I'd also argue that just because this lib isn't needed doesn't mean it shouldn't continue to work.
I'm a library author for Apollo Server who supports Node versions 14, 16, 18 (+) and this is part of our runtime code until we drop support for v14. This means that some of our v14 users and all of our 16, 18, + can end up in a broken state.
Can this change be reverted in a patch release please? If not, I'll be pinning to
3.0.x
until we drop node v14, but this will continue to effect users of existing apollo server versions if their lockfiles are updated.The text was updated successfully, but these errors were encountered: