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: v0.1.0-alpha.10 #704

Merged
merged 5 commits into from
Mar 21, 2022
Merged

release: v0.1.0-alpha.10 #704

merged 5 commits into from
Mar 21, 2022

Conversation

abernix
Copy link
Member

@abernix abernix commented Mar 21, 2022

❗ BREAKING ❗

  • Header propagation remove's name is now named (PR #674)

    This merely renames the remove options' name setting to be instead named to be a bit more intuitively named and consistent with its partner configuration, propagate.

    Previous configuration

      # Remove a named header
      - remove:
        name: "Remove" # Was: "name"

    New configuration

      # Remove a named header
      - remove:
        named: "Remove" # Now: "named"
  • Command-line flag vs Environment variable precedence changed (PR #693)

    For logging related verbosity overrides, the RUST_LOG environment variable no longer takes precedence over the command line argument. The full order of precedence is now command-line argument overrides environment variable overrides the default setting.

🚀 Features

  • Forbid mutations plugin (#641)

    The forbid mutations plugin allows you to configure the router so that it disallows mutations. Assuming none of your query requests are mutating data or changing state (they shouldn't!) this plugin can be used to effectively make your graph read-only. This can come in handy when testing the router, for example, if you are mirroring/shadowing traffic when trying to validate a Gateway to Router migration! 😸

  • ⚠️ Add experimental Rhai plugin (PR #484)

    Add an experimental core plugin to be able to extend Apollo Router functionality using Rhai script. This allows users to write their own *_service function similar to how as you would with a native Rust plugin but without needing to compile a custom router. Rhai scripts have access to the request context and headers directly and can make simple manipulations on them.

    See our Rhai script documentation for examples and details!

🐛 Fixes

  • Correctly set the URL path of the HTTP request in RouterRequest (Issue #699)

    Previously, we were not setting the right HTTP path on the RouterRequest so when writing a plugin with router_service you always had an empty path / on RouterRequest.

📚 Documentation

  • We have incorporated a substantial amount of documentation (via many, many PRs!)

    See our improved documentation on our website.

- Bumps versions in `Cargo.toml` files (and licensing related bits in
  `cargo-deny.toml`)
@github-actions

This comment has been minimized.

@abernix abernix self-assigned this Mar 21, 2022
@abernix abernix added this to the v0.1.0-alpha.10 milestone Mar 21, 2022
@abernix abernix enabled auto-merge (squash) March 21, 2022 11:11
@abernix abernix merged commit 89fdbdc into main Mar 21, 2022
@abernix abernix deleted the 0.1.0-alpha.10 branch March 21, 2022 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants