fix(deps): update dependency apollo-server-express to v2.18.2 #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.14.2->2.18.2Release Notes
apollographql/apollo-server
v2.18.2Compare Source
apollo-server-core: Explicitly includelru-cachedependency inapollo-server-core's dependencies. PR #4600v2.18.1Compare Source
apollo-server-core: Fix support for legacy optionengine: {logger}, broken in v2.18.0. PR #4588apollo-server-plugin-base: TheApolloServerPluginTypeScript type does not need to extendAnyFunctionMap, which was an unnecessary change in v2.18.0. PR #4588apollo-server-core: Improve a usage reporting error which occurs when you use Apollo Server in an unsupported way. PR #4588apollo-server-core: Fix typo in error message for unparsable/invalid schemas provided viaoverrideReportedSchema. PR #4581v2.18.0Compare Source
apollo-server-core: When Apollo Server is configured with an Apollo API key, the URLs it uses to connect to Apollo's servers have changed. If the environment in which you run your servers requires you to explicitly allow connections by domain, you will need to add the new domain names. Usage reporting previously connected to https://engine-report.apollodata.com/ and now connects to https://usage-reporting.api.apollographql.com/; schema reporting previously connected to https://edge-server-reporting.api.apollographql.com/ and now connects to https://schema-reporting.api.apollographql.com/ . PR #4453Apollo Server's support for communicating with Apollo’s commercial products has been refactored into three separate plugins exported from
apollo-server-core(for usage reporting, schema reporting, and inline tracing), configured using the standardpluginsoption. Theengineoption continues to work for backwards compatibility in the 2.x series; support forenginewill be deprecated in Apollo Server 3.x. Full details are available in the migration guide. PR #4453To consistently support tracing, inline tracing is enabled by default on federated implementing services, even when an Apollo API key is provided. Previously it was not enabled when an API key was provided. You can disable it with
ApolloServerPluginInlineTraceDisabled. PR #4453The
apollo-engine-reportingnpm package has been obsoleted and will no longer receive updates. PR #4453The
apollo-engine-reporting-protobufpackage has been renamed toapollo-reporting-protobuf. No new versions of the old package will be published. PR #4453Implementations of
ApolloServerfor serverless frameworks such as Lambda now override theserverlessFramework()method to return true. We have changed our own integrations, but other implementations that extendApolloServerwhich need this behavior should do the same. Support forengine.sendReportsImmediatelywill be dropped in Apollo Server 3.x. PR #4453The
GraphQLServiceContexttype passed to the plugin serverWillStart method now containsapolloandserverlessFrameworkvalues. PR #4453apollo-server-core/apollo-server-plugin-base: The request pipeline plugin API now supports aserverWillStoplifecycle hook. PR #4453apollo-server-core: Previously, the usage reporting functionality registered one-shot handlers for theSIGINTandSIGTERMsignals, which it used to send one final usage report before re-sending the signal to itself to continue shutdown. These signals handlers were installed by default if you enabled usage or schema reporting, and could be disabled by passingengine.handleSignals: false. Now, termination signal handling is the responsibility of Apollo Server as a whole rather than something specific to usage reporting. Apollo Server itself now registers these one-shot signal handlers, which triggerApolloServer.stop(). This allows any plugin that implements the newserverWillStopcallback to hook into shutdown logic, not just the usage reporting code. Similarly to before, these signal handlers are registered by default but can be disabled by via an option. We've changed the option name tostopOnTerminationSignals: falseas it is more explicit about the behavior. PR #4453apollo-server-core: The default logger implementation (if you don't specify your ownloggeror specifydebug) now logs at the INFO level instead of the WARN level. The main effect is on a few built-in plugins which log one INFO message at startup; if a custom plugin logs at the INFO level then those messages will be visible by default as well. PR #4453apollo-server-core: Parse and validate any schema passed viaoverrideReportedSchemato the schema reporting plugin, and throw accordingly on unparsable or invalid schemas.Using Apollo Server from TypeScript now requires TypeScript 3.8 due to the use of the
import typeandexport typedirectives. (If this proves to be a major problem we can revert this choice, but it makes it easier for us to ensure that certain large dependencies are only loaded when needed.) PR #4453Updated
@apollographql/graphql-playground-reactto 1.7.33 to include an upstream fix. PR #4550v2.17.0Compare Source
installSubscriptionHandlersfrom accepting awebsocket.Server(as intended in PR #1966) and also added support for otherhttp.Servervariations (e.g., Tls). Issue #4198 PR #4200v2.16.1Compare Source
v2.16.0Compare Source
apollo-server-fastify: Pass Fastify'srequestandreplyobjects into thecontextfunction, which previously had been receiving nothing. Issue #3156 [PR #3895(#3895)apollo-server-lamdbda: Automatically decode payloads which are Base64-encoded when theisBase64Encodedboolean is present on Lambdaeventpayloads. PR #4311v2.15.1Compare Source
main. As this changed a number of references in the repository'spackage.jsonandREADME.mdfiles (e.g., for badges, links, etc.), this necessitates a release to publish those changes to npm. PR #4302v2.15.0Compare Source
apollo-engine-reporting: Added areportTimingAPI to allow trace reporting to be enabled or disabled on a per request basis. The option takes either a boolean or a predicate function that takes aGraphQLRequestContextDidResolveOperationorGraphQLRequestContextDidEncounterErrorsand returns a boolean. If the boolean is false the request will not be instrumented for tracing and no trace will be sent to Apollo Graph Manager. The default istrueso all traces will get instrumented and sent, which is the same as the previous default behavior. PR #3918apollo-engine-reporting: RemovedGraphQLServerOptions.reporting. It isn't known whether a trace will be reported at the beginning of the request because of the above change. We believe this field was only used internally within Apollo Server; let us know if this is a problem and we can suggest alternatives. Additionally, the fieldrequestContext.metrics.captureTracesis now initialized later in the request pipeline. PR #3918apollo-engine-reporting: Make Apollo Server throw if schema reporting is enabled for a gateway or federated service. PR #4246apollo-engine-reporting: Remove theexperimental_prefix from schema reporting options, and specifically renameexperimental_schemaReportingoption name toreportSchema. (The old option names remain functional, but are deprecated.) PR #4236v2.14.5Compare Source
apollo-engine-reporting: Make Apollo Server throw if schema reporting is enabled for a gateway or federated service. PR #4246v2.14.4Compare Source
apollo-engine-reporting: Add environment variableAPOLLO_SCHEMA_REPORTINGthat can enable schema reporting. Ifexperimental__schemaReportingis set it will override the environment variable. PR #4206apollo-engine-reporting: The schema reporting URL has been changed to use the new dedicated sub-domainhttps://edge-server-reporting.api.apollographql.com. PR #4232apollo-server-core: Though Apollo Server is not affected due to the way it is integrated, in response to an upstream security advisory for GraphQL Playground we have published the same patch on our@apollographql/graphql-playground-htmlfork and bumped Apollo Server to use it. Again, this was done out of an abundance of caution since the way that Apollo Server utilizesrenderPlaygroundPageis not vulnerable as it does not allow per-request Playground configuration that could allow interpolation of user-input. PR #4231v2.14.3Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.