All notable changes to Router will be documented in this file.
This project adheres to Semantic Versioning.
Move experimental.rhai
out of experimental
PR #1365
You will need to update your YAML configuration file to use the correct name for rhai
plugin.
- plugins:
- experimental.rhai:
- filename: /path/to/myfile.rhai
+ rhai:
+ scripts: /path/to/directory/containing/all/my/rhai/scripts (./scripts by default)
+ main: <name of main script to execute> (main.rhai by default)
You can now modularise your rhai code. Rather than specifying a path to a filename containing your rhai code, the rhai plugin will now attempt to execute the script specified via main
. If modules are imported, the rhai plugin will search for those modules in the scripts
directory. for more details about how rhai makes use of modules, look at the rhai documentation.
The simplest migration will be to set scripts
to the directory containing your myfile.rhai
and to rename your myfile.rhai
to main.rhai
.
By @garypen in apollographql#1365
The opentelemetry-otlp crate needs a http-client feature PR #1392
The opentelemetry-otlp crate only checks at runtime if a HTTP client was added through cargo features. We now use reqwest for that.
By @geal in apollographql#1392
Dependency updates were blocked for some time due to incompatibilities:
- #1389: the router-bridge crate needed a new version of
deno_core
in its workspace that would not fix the version ofonce_cell
. Now that it is done we can updateonce_cell
in the router - #1395:
clap
at version 3.2 changed the way values are extracted from matched arguments, which resulted in panics. This is now fixed and we can updateclap
in the router and related crates - #1394: broader dependency updates now that everything is locked
By @Geal in apollographql#1389 apollographql#1394 apollographql#1395
Insert the full target triplet in the package name PR #1393
The released package names will now contain the full target triplet in their name:
router-0.11.0-x86_64-linux.tar.gz
->router-0.11.0-x86_64-unknown-linux-gnu.tar.gz
router-0.11.0-x86_64-macos.tar.gz
->router-0.11.0-x86_64-apple-darwin.tar.gz
router-0.11.0-x86_64-windows.tar.gz
->router-0.11.0-x86_64-pc-windows-msvc.tar.gz
By @Geal in apollographql#1393