Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changesets/fix_bryn_upgrade_rhai.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Fix Rhai scientific notation handling ([PR #8528](https://github.com/apollographql/router/pull/8528))

Upgrades the Rhai scripting engine from version 1.21.0 to 1.23.6, fixing scientific notation parsing in scripts and JSON operations.

By [@BrynCooke](https://github.com/BrynCooke) in https://github.com/apollographql/router/pull/8528
22 changes: 11 additions & 11 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
dependencies = [
"libc",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]

[[package]]
Expand Down Expand Up @@ -3552,7 +3552,7 @@ dependencies = [
"libc",
"percent-encoding",
"pin-project-lite",
"socket2 0.5.10",
"socket2 0.6.0",
"tokio",
"tower-service",
"tracing",
Expand Down Expand Up @@ -3823,7 +3823,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9"
dependencies = [
"hermit-abi",
"libc",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5420,7 +5420,7 @@ dependencies = [
"once_cell",
"socket2 0.5.10",
"tracing",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]

[[package]]
Expand Down Expand Up @@ -5730,9 +5730,9 @@ dependencies = [

[[package]]
name = "rhai"
version = "1.21.0"
version = "1.23.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce4d759a4729a655ddfdbb3ff6e77fb9eadd902dae12319455557796e435d2a6"
checksum = "f4e35aaaa439a5bda2f8d15251bc375e4edfac75f9865734644782c9701b5709"
dependencies = [
"ahash",
"bitflags 2.9.3",
Expand Down Expand Up @@ -5809,9 +5809,9 @@ dependencies = [

[[package]]
name = "rhai_codegen"
version = "2.2.0"
version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a5a11a05ee1ce44058fa3d5961d05194fdbe3ad6b40f904af764d81b86450e6b"
checksum = "d4322a2a4e8cf30771dd9f27f7f37ca9ac8fe812dddd811096a98483080dabe6"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -6006,7 +6006,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]

[[package]]
Expand Down Expand Up @@ -6692,7 +6692,7 @@ dependencies = [
"getrandom 0.3.3",
"once_cell",
"rustix",
"windows-sys 0.52.0",
"windows-sys 0.61.0",
]

[[package]]
Expand Down Expand Up @@ -7773,7 +7773,7 @@ version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0978bf7171b3d90bac376700cb56d606feb40f251a475a5d6634613564460b22"
dependencies = [
"windows-sys 0.48.0",
"windows-sys 0.60.2",
]

[[package]]
Expand Down
6 changes: 2 additions & 4 deletions apollo-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ prost = "0.13.0"
prost-types = "0.13.0"
proteus = "0.5.0"
rand = "0.9.0"
# Pinned due to https://github.com/apollographql/router/pull/7679
rhai = { version = "=1.21.0", features = ["sync", "serde", "internals"] }
rhai = { version = "1.23.6", features = ["sync", "serde", "internals"] }
regex = "1.10.5"
reqwest = { workspace = true, default-features = false, features = [
"rustls-tls",
Expand Down Expand Up @@ -341,8 +340,7 @@ reqwest = { version = "0.12.9", default-features = false, features = [
"multipart",
"stream",
] }
# Pinned due to https://github.com/apollographql/router/pull/7679
rhai = { version = "=1.21.0", features = [
rhai = { version = "1.23.6", features = [
"sync",
"serde",
"internals",
Expand Down
Loading