You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- add `description` field to `ast::Operation`, `ast::Fragment` and `ast::VariableDefinition` (graphql/graphql-spec#1170)
- support full Unicode range (graphql/graphql-spec#849, graphql/graphql-spec#687)
- support parsing block string literals
- support variable-length escaped Unicode characters in strings (graphql/graphql-spec#849, graphql/graphql-spec#687)
- fix incorrect double escaping in `ScalarToken::String` `Display`ing
- change `ScalarToken::String` to contain raw quoted and escaped `StringLiteral`
- add `LexerError::UnterminatedBlockString` variant
Additionally:
- move `String` parsing to `StringLiteral::parse()` method
- move lexer tests to `parser::lexer` module
- satisfy rustc linter when running `juniper` unit tests without features
Copy file name to clipboardExpand all lines: juniper/CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,26 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
15
15
-[September 2025] GraphQL spec: ([#1347])
16
16
- Made `includeDeprecated` argument of `__Type.fields`, `__Type.enumValues`, `__Type.inputFields`, `__Field.args` and `__Directive.args` fields non-`Null`. ([#1348], [graphql/graphql-spec#1142])
17
17
- Made `@deprecated(reason:)` argument non-`Null`. ([#1348], [graphql/graphql-spec#1040])
18
+
- Added `description` field to `ast::Operation`, `ast::Fragment` and `ast::VariableDefinition`. ([#1349], [graphql/graphql-spec#1170])
19
+
- Changed `ScalarToken::String` to contain raw quoted and escaped `StringLiteral` (was unquoted but escaped string before). ([#1349])
- Support for variable-length escaped Unicode characters (e.g. `\u{110000}`) in strings. ([#1349], [graphql/graphql-spec#849], [graphql/graphql-spec#687])
35
+
- Full Unicode range support. ([#1349], [graphql/graphql-spec#849], [graphql/graphql-spec#687])
36
+
- Support parsing descriptions on operations, fragments and variable definitions. ([#1349], [graphql/graphql-spec#1170])
37
+
- Support for [block strings][0180-1]. ([#1349])
31
38
32
39
### Changed
33
40
@@ -38,15 +45,21 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
38
45
39
46
- Incorrect `__Type.specifiedByUrl` field to `__Type.specifiedByURL`. ([#1348])
40
47
- Missing `@specifiedBy(url:)` directive in [SDL] generated by `RootNode::as_sdl()` and `RootNode::as_document()` methods. ([#1348])
48
+
- Incorrect double escaping in `ScalarToken::String``Display`ing. ([#1349])
0 commit comments