Skip to content

Commit d46ad09

Browse files
committed
v0.11.0
1 parent c5efd1d commit d46ad09

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## v0.11.0
4+
This release brings little changes, but there are two reasons why it is released as major version:
5+
6+
1. To follow reference implementation versions (it matches 0.11.x series of graphql-js)
7+
2. It may break existing applications because scalar input coercion rules are stricter now:<br>
8+
<br>
9+
In previous versions sloppy client input could leak through with unexpected results.
10+
For example string `"false"` accidentally sent in variables was converted to boolean `true`
11+
and passed to field arguments. In new version such input will produce an error
12+
(which is a spec-compliant behavior).
13+
14+
Improvements:
15+
- Stricter input coercion (see #171)
16+
- Types built with `BuildSchema` now have reference to ast node with corresponding AST definition (in $astNode property)
17+
- Account for query offset for errors (e.g. when query is stored in `.graphql` file)
18+
319
#### v0.10.2
420
- StandardServer improvement: do not raise an error when variables are passed as empty string (see #156)
521

0 commit comments

Comments
 (0)