Releases: apollographql/apollo-server
@apollo/server@4.12.2
(No change; there is a change to the @apollo/server-integration-testsuite
used to test integrations, and the two packages always have matching versions.)
@apollo/server-integration-testsuite@4.12.2
Patch Changes
-
#8070
0dee3c9
Thanks @glasser! - Provide dual-build CJS and ESM for@apollo/server-integration-testsuite
.We previously provided only a CJS build of this package, unlike
@apollo/server
itself and the other helper packages that come with it. We may make all of
Apollo Server ESM-only in AS5; this is a step in that direction. Specifically,
only providing this package for CJS makes it challenging to run the tests in
ts-jest
in some ESM-only setups, because the copy of@apollo/server
fetched
directly in your ESM-based test may differ from the copy fetched indirectly via
@apollo/server-integration-testsuite
, causing the "lockstep versioning" test
to fail. -
Updated dependencies:
- @apollo/server@4.12.2
@apollo/server@4.12.2-alpha.0
@apollo/server@4.12.2-alpha.0
@apollo/server-plugin-response-cache@4.1.5-alpha.0
Patch Changes
- Updated dependencies []:
- @apollo/server@4.12.2-alpha.0
@apollo/server-integration-testsuite@4.12.2-alpha.0
Patch Changes
-
#8070
0dee3c9
Thanks @glasser! - Provide dual-build CJS and ESM for@apollo/server-integration-testsuite
.We previously provided only a CJS build of this package, unlike
@apollo/server
itself and the other helper packages that come with it. We may make all of
Apollo Server ESM-only in AS5; this is a step in that direction. Specifically,
only providing this package for CJS makes it challenging to run the tests in
ts-jest
in some ESM-only setups, because the copy of@apollo/server
fetched
directly in your ESM-based test may differ from the copy fetched indirectly via
@apollo/server-integration-testsuite
, causing the "lockstep versioning" test
to fail. -
Updated dependencies []:
- @apollo/server@4.12.2-alpha.0
@apollo/server@4.12.1
@apollo/server-integration-testsuite@4.12.1
Patch Changes
- Updated dependencies [
41f98d4
]:- @apollo/server@4.12.1
@apollo/server@4.12.0
Minor Changes
- #8054
89e3f84
Thanks @clenfest! - Adds a new graphql-js validation rule to reject operations that recursively request selections above a specified maximum, which is disabled by default. Use configuration optionmaxRecursiveSelections=true
to enable with a maximum of 10,000,000, ormaxRecursiveSelections=<number>
for a custom maximum. Enabling this validation can help avoid performance issues with configured validation rules or plugins.
Patch Changes
- #8031
2550d9f
Thanks @slagiewka! - Add return after sending 400 response in doubly escaped JSON parser middleware