Releases: apollographql/apollo-server
@apollo/server-integration-testsuite@4.10.5
@apollo/server@4.10.4
Patch Changes
- #7871
18a3827Thanks @tninesling! - Subscription heartbeats are initialized prior to awaiting subscribe(). This allows long-running setup to happen in the returned Promise without the subscription being terminated prior to resolution.
@apollo/server-integration-testsuite@4.10.4
Patch Changes
- Updated dependencies [
18a3827]:- @apollo/server@4.10.4
@apollo/server@4.10.3
Patch Changes
- #7866
5f335a5Thanks @tninesling! - Catch errors thrown by subscription generators, and gracefully clean up the subscription instead of crashing.
@apollo/server-integration-testsuite@4.10.3
Patch Changes
- Updated dependencies [
5f335a5]:- @apollo/server@4.10.3
@apollo/server@4.10.2
Patch Changes
- #7849
c7e514cThanks @TylerBloom! - In the subscription callback server plugin, terminating a subscription now immediately closes the internal async generator. This avoids that generator existing after termination and until the next message is received.
@apollo/server-integration-testsuite@4.10.2
Patch Changes
- Updated dependencies [
c7e514c]:- @apollo/server@4.10.2
@apollo/server@4.10.1
Patch Changes
- #7843
72f568eThanks @bscherlein! - Improves timing of thewillResolveFieldend hook on fields which return Promises resolving to Arrays. This makes the use of thesetCacheHintmethod more reliable.
@apollo/server-integration-testsuite@4.10.1
Patch Changes
- Updated dependencies [
72f568e]:- @apollo/server@4.10.1
@apollo/server@4.10.0
Minor Changes
-
#7786
869ec98Thanks @ganemone! - Restore missing v1skipValidationoption asdangerouslyDisableValidation. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option. -
#7803
e9a0d6eThanks @favna! - allowstringifyResultto return aPromise<string>Users who implemented the
stringifyResulthook can now expect error responses to be formatted with the hook as well. Please take care when updating to this version to ensure this is the desired behavior, or implement the desired behavior accordingly in yourstringifyResulthook. This was considered a non-breaking change as we consider that it was an oversight in the original PR that introducedstringifyResulthook.
Patch Changes
-
#7793
9bd7748Thanks @bnjjj! - General availability of subscription callback protocol -
#7799
63dc50fThanks @stijnbe! - Fix type of ApolloServerPluginUsageReporting reportTimer -
#7740
fe68c1bThanks @barnisanov! - Uninstalledbody-parserand usedexpressbuilt-inbody-parserfunctionality instead(mainly the json middleware)