thirdweb-cli
thirdweb-cli copied to clipboard
Bump apollo-server-core from 3.8.2 to 3.10.1 in /examples/truffle
Bumps apollo-server-core from 3.8.2 to 3.10.1.
Changelog
Sourced from apollo-server-core's changelog.
v3.10.1
- ⚠️ SECURITY: The default landing page contained HTML to display a sample
curlcommand which is made visible if the full landing page bundle could not be fetched from Apollo's CDN. The server's URL is directly interpolated into this command inside the browser fromwindow.location.href. On some older browsers such as IE11, this value is not URI-encoded. On such browsers, opening a malicious URL pointing at an Apollo Router could cause execution of attacker-controlled JavaScript. In this release, the fallback page does not display acurlcommand. More details are available at the security advisory.- Improve error message when both a graph ref and a graph variant are specified. [PR #6709](apollographql/apollo-server#6709)
- Fix the TypeScript declaration of the
fieldLevelInstrumentationoption toApolloServerPluginUsageReportingto show that the function may return a number in addition to a boolean. This now matches the implementation and docs. [PR #6763](apollographql/apollo-server#6763)v3.10.0
- Add
document,variables,headersas an option in theApolloServerPluginLandingPageLocalDefaultplugins. The embedded version of Apollo Sandbox can now use these options as an initial state. [PR #6628](apollographql/apollo-server#6628)- Add
generateCacheKeytoApolloServerPluginResponseCacheto allow for custom cache keys. [PR #6655](apollographql/apollo-server#6655)v3.9.0
- ⚠️ SECURITY
apollo-server-core: The default configuration of Apollo Server is vulnerable to denial of service attacks via memory exhaustion. If you do not currently specify thecacheoption tonew ApolloServer(), we strongly recommend you specifycache: 'bounded', which replaces the default in-memory unbounded cache with a 30MB in-memory cache, or disable automatic persisted queries withpersistedQueries: false. Apollo Server now logs a warning in production if you do not configure the cache or disable APQs. See the docs for more details.- The
apollo-server-cachingpackage is no longer published. The TypeScript typesKeyValueCacheandKeyValueCacheSetOptionsand the classesPrefixingKeyValueCacheandInMemoryLRUCachecan be imported from@apollo/utils.keyvaluecacheinstead. The first three exports are identical;InMemoryLRUCacheis based onlru-cachev7 instead of v6, and no longer supports creating unbounded caches (which was the default behavior forapollo-server-caching'sInMemoryLRUCache). [PR #6522](apollographql/apollo-server#6522)- The
apollo-server-cache-redisandapollo-server-cache-memcachedpackages are no longer published (though previous versions continue to work). We recommend that users of these packages migrate to@apollo/utils.keyvadapter, which lets you connect to Redis, Memcached, or any other backend supported by the Keyv project. See the new cache backend docs for more details. [PR #6541](apollographql/apollo-server#6541)- Avoid unhandled rejection errors if the end hook from a
parsingDidStartplugin method rejects. [Issue #6567](apollographql/apollo-server#6567) [PR #6559](apollographql/apollo-server#6559)
Commits
e6097d6Release68a439bMerge pull request from GHSA-2fvv-qxrq-7jq66140880Usage reporting: fix TS declaration of fieldLevelInstrumentation (#6763)bd49975Update error message when graph ref and variant are specified (#6709)4041aaeReleasee9ae0f2fix: "without going through" typo (#6661)07639bbNEBULA-1385: AddinitialStateto embeddable sandbox based on config (#6628)36ecbb1Release9387cbaUpdate caching docs (#6547)549070eReinstate bounded documentStore (#6548)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.