Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.10.0 #6662

Merged
merged 4 commits into from Jul 11, 2022
Merged

Release 3.10.0 #6662

merged 4 commits into from Jul 11, 2022

Conversation

trevor-scheer
Copy link
Member

As with release PRs in the past, this is a PR tracking a release-x.y.z branch for an upcoming release of Apollo Server. 🙌 The version in the title of this PR should correspond to the appropriate branch.

Check the appropriate milestone (to the right) for more details on what we hope to get into this release!

The intention of these release branches is to gather changes which are intended to land in a specific version (again, indicated by the subject of this PR). Release branches allow additional clarity into what is being staged, provide a forum for comments from the community pertaining to the release's stability, and to facilitate the creation of pre-releases (e.g. alpha, beta, rc) without affecting the main branch.

PRs for new features might be opened against or re-targeted to this branch by the project maintainers. The main branch may be periodically merged into this branch up until the point in time that this branch is being prepared for release. Depending on the size of the release, this may be once it reaches RC (release candidate) stage with an -rc.x release suffix. Some less substantial releases may be short-lived and may never have pre-release versions.

When this version is officially released onto the latest npm tag, this PR will be merged into main.

…for custom cache keys (#6655)

Create a new hook (`generateCacheKey`) on the `ApolloServerPluginResponseCache`
constructor options which allows users to customize the cache key used by returning
their own `string`.

The hook receives two arguments: the `requestContext` and an object (`cacheKeyData`)
which contains the following properties:
`source`
`operationName`
`variables`
`extra` (computed by `options.extraCacheKeyData`)
`sessionId`
`sessionMode`
@trevor-scheer trevor-scheer added the 📦 release Applied to PRs which track upcoming releases. label Jul 11, 2022
@trevor-scheer trevor-scheer self-assigned this Jul 11, 2022
@changeset-bot
Copy link

changeset-bot bot commented Jul 11, 2022

⚠️ No Changeset found

Latest commit: 4041aae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Jul 11, 2022

Deploy Preview for apollo-server-docs canceled.

Name Link
🔨 Latest commit 4041aae
🔍 Latest deploy log https://app.netlify.com/sites/apollo-server-docs/deploys/62cc7737c602220008f22ed5

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7d6d3ce:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

@trevor-scheer
Copy link
Member Author

Note: #6628 landed to main, but that PR is being released via this release branch.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 11, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 4041aae:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

glasser and others added 2 commits July 11, 2022 12:14
- Rename BaseCacheKey and ContextualCacheKey with "Data" on end, since
  the cache key is a string.
- Reintroduce CacheKey(Data) removed in #6655; make the
  GenerateCacheKeyFunction type be defined in terms of it. Now calls to
  the `const generateCacheKey` function are type-safe (ie, the second
  arg is a CacheKeyData rather than unknown).
- Describe generateCacheKey hook as a method rather than a field, like
  the other hooks in Options.
 - apollo-reporting-protobuf@3.3.2
 - apollo-server-azure-functions@3.10.0
 - apollo-server-cloud-functions@3.10.0
 - apollo-server-cloudflare@3.10.0
 - apollo-server-core@3.10.0
 - apollo-server-express@3.10.0
 - apollo-server-fastify@3.10.0
 - apollo-server-hapi@3.10.0
 - apollo-server-integration-testsuite@3.10.0
 - apollo-server-koa@3.10.0
 - apollo-server-lambda@3.10.0
 - apollo-server-micro@3.10.0
 - apollo-server-plugin-base@3.6.2
 - apollo-server-plugin-response-cache@3.7.0
 - apollo-server-types@3.6.2
 - apollo-server@3.10.0
@trevor-scheer trevor-scheer merged commit 9ff57d0 into main Jul 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📦 release Applied to PRs which track upcoming releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants