Skip to content

Commit 0cf4509

Browse files
authored
Merge pull request #666 from apollographql/AMS-418
deps: update apollo-compiler, apollo-federation
2 parents 8b331d5 + fe54c81 commit 0cf4509

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
default: patch
3+
---
4+
5+
# Fix panic with multibyte UTF-8 characters in GraphQL schemas
6+
7+
Update `apollo-compiler` to 1.31.1, which upgrades the `ariadne` error reporting library from 0.5.1 to 0.6.0. This fixes a panic when handling GraphQL schemas containing CJK text or emoji in field names or descriptions, where byte-offset span calculations could land inside a multibyte character boundary.

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ rust-version = "1.92.0"
1515
version = "1.8.0"
1616

1717
[workspace.dependencies]
18-
apollo-compiler = "1.27.0"
19-
apollo-federation = "2.1.3"
18+
apollo-compiler = "1.31.1"
19+
apollo-federation = "2.12.0"
2020
futures = { version = "0.3.31", features = ["thread-pool"] }
2121
insta = { version = "1.43.1", features = [
2222
"json",

0 commit comments

Comments
 (0)