Commit 5dd8233
authored
Version Packages (#7413)
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
- [#7431](#7431)
[`7cc163ac8`](7cc163a)
Thanks [@mayakoneval](https://github.com/mayakoneval)! - In the Apollo
Server Landing Page Local config, you can now automatically turn off
autopolling on your endpoints as well as pass headers used to introspect
your schema, embed an operation from a collection, and configure whether
the endpoint input box is editable. In the Apollo Server Landing Page
Prod config, you can embed an operation from a collection & we fixed a
bug introduced in release 4.4.0
Example of all new config options:
```
const server = new ApolloServer({
typeDefs,
resolvers,
plugins: [
process.env.NODE_ENV === 'production'
? ApolloServerPluginLandingPageProductionDefault({
graphRef: 'my-graph-id@my-graph-variant',
collectionId: 'abcdef',
operationId: '12345'
embed: true,
footer: false,
})
: ApolloServerPluginLandingPageLocalDefault({
collectionId: 'abcdef',
operationId: '12345'
embed: {
initialState: {
pollForSchemaUpdates: false,
sharedHeaders: {
"HeaderNeededForIntrospection": "ValueForIntrospection"
},
},
endpointIsEditable: true,
},
footer: false,
}),
],
});
```
- [#7430](#7430)
[`b694bb1dd`](b694bb1)
Thanks [@mayakoneval](https://github.com/mayakoneval)! - We now send
your @apollo/server version to the embedded Explorer & Sandbox used in
the landing pages for analytics.
### Patch Changes
- [#7432](#7432)
[`8cbc61406`](8cbc614)
Thanks [@mayakoneval](https://github.com/mayakoneval)! - Bug fix: TL;DR
revert a previous change that stops passing includeCookies from the prod
landing page config.
Who was affected?
Any Apollo Server instance that passes a `graphRef` to a production
landing page with a non-default `includeCookies` value that does not
match the `Include cookies` setting on your registered variant on
studio.apollographql.com.
How were they affected?
From release 4.4.0 to this patch release, folks affected would have seen
their Explorer requests being sent with cookies included only if they
had set `Include cookies` on their variant. Cookies would not have been
included by default.
## @apollo/[email protected]
### Patch Changes
- Updated dependencies
\[[`7cc163ac8`](7cc163a),
[`8cbc61406`](8cbc614),
[`b694bb1dd`](b694bb1)]:
- @apollo/[email protected]
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 5e7ead9 commit 5dd8233
File tree
9 files changed
+68
-66
lines changed- .changeset
- packages
- integration-testsuite
- server
9 files changed
+68
-66
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
3 | 57 | | |
4 | 58 | | |
5 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments