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

prep release: v1.14.0 #2911

Merged
merged 3 commits into from
Apr 7, 2023
Merged

prep release: v1.14.0 #2911

merged 3 commits into from
Apr 7, 2023

Conversation

abernix
Copy link
Member

@abernix abernix commented Apr 6, 2023

Note

When approved, this PR will merge into the 1.14.0 branch which will — upon being approved itself — merge into main.

Things to review in this PR:

  • Changelog correctness (There is a preview below, but it is not necessarily the most up to date. See the Files Changed for the true reality.)
  • Version bumps
  • That it targets the right release branch (1.14.0 in this case!).

🚀 Features

GraphOS Enterprise: Coprocessor read access to request uri, method and HTTP response status codes (Issue #2861, Issue #2861)

We've added the ability for coprocessors to have read-only access to additional contextual information at the RouterService and SubgraphService stages:

The RouterService stage now has read-only access to the request from the client:

  • path (e.g., /graphql)
  • method (e.g., POST, GET)

The RouterService stage now has read-only access to the overall response to the client:

  • status_code (e.g. 403, 200)

The SubgraphService stage now has read-only access to the response of the subgraph request:

  • status_code (e.g., 503, 200)

By @o0ignition0o in #2863

🐛 Fixes

Coprocessors: Empty body requests from GET requests are now deserialized without error

Fixes a bug where a coprocessor operating at the router_request stage would fail to deserialize an empty body, which is typical for GET requests.

By @o0ignition0o in #2863

📃 Configuration

Helm: Router chart now supports extraLabels for Deployments/Pods

Our Helm chart now supports a new value called extraLabels, which enables chart users to add custom labels to the Router Deployment and its Pods.

By [@gscheibel(https://github.com/gscheibel/) in https://github.com//pull/2903

Helm: Router chart now supports extraContainers to run sidecars

Our Helm chart now supports extraContainers in an effort to simplify the ability to run containers alongside Router containers (sidecars) which is a useful pattern for coprocessors.

By [@pcarrier(https://github.com/pcarrier) in https://github.com//pull/2881

Migrate away from unimplemented coprocessor.subgraph.all.response.uri

We have removed a completely unimplemented coprocessor.subgraph.all.response.uri key from our configuration. It had no effect, but we will automatically migrate configurations which did use it, resulting in no breaking changes by this removal.

By @o0ignition0o in #2863

📚 Documentation

Update coprocessor documentation to reflect newly added fields (Issue #2886)

The External coprocessing documentation is now up to date, with a full configuration example, and the newly added fields.

By @o0Ignition0o in #2863

Example: Rhai-based cache-control response header management

A new Rhai example demonstrates how to recreate some of the behavior of Apollo Gateway's subgraph cache-control response header behavior. This addresses some of the need identified in #326.

By @lennyburdette in #2759

@abernix abernix self-assigned this Apr 6, 2023
@abernix abernix marked this pull request as ready for review April 6, 2023 16:58
@abernix abernix requested review from a team, Geal, SimonSapin, BrynCooke, bnjjj and o0Ignition0o and removed request for SimonSapin and BrynCooke April 6, 2023 17:35
CHANGELOG.md Outdated Show resolved Hide resolved
@abernix abernix enabled auto-merge (squash) April 6, 2023 18:18
@abernix abernix mentioned this pull request Apr 6, 2023
@abernix abernix merged commit 9f2ff44 into 1.14.0 Apr 7, 2023
@abernix abernix deleted the prep-1.14.0 branch April 7, 2023 08:08

Our Helm chart now supports a new value called `extraLabels`, which enables chart users to add custom labels to the Router Deployment and its Pods.

By [@gscheibel(https://github.com/gscheibel/) in https://github.com/apollographql/router/pull/2903
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
By [@gscheibel(https://github.com/gscheibel/) in https://github.com/apollographql/router/pull/2903
By [@gscheibel](https://github.com/gscheibel/) in https://github.com/apollographql/router/pull/2903


Our Helm chart now supports `extraContainers` in an effort to simplify the ability to run containers alongside Router containers (sidecars) which is a useful pattern for [coprocessors](https://www.apollographql.com/docs/router/customizations/coprocessor/).

By [@pcarrier(https://github.com/pcarrier) in https://github.com/apollographql/router/pull/2881
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
By [@pcarrier(https://github.com/pcarrier) in https://github.com/apollographql/router/pull/2881
By [@pcarrier](https://github.com/pcarrier) in https://github.com/apollographql/router/pull/2881

@abernix abernix mentioned this pull request Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants