Skip to content

Commit c9c8dce

Browse files
committed
1.10.0.pre1
1 parent 319f29b commit c9c8dce

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,30 @@
88

99
### Bug fixes
1010

11+
## 1.10.0.pre1 (10 Oct 2019)
12+
13+
### Breaking changes
14+
15+
- Field and Argument `#authorized?` methods now accept _three_ arguments (instead of 2). They now accept `(obj, args, ctx)`, where `args` is the arguments (for a field) or the argument value (for an argument). #2536
16+
- Double-null `!!` is disallowed by the parser #2397
17+
- (Non-interpreter only) The return value of subscription fields is passed along to execute the subscription. Return `nil` to get the previous behavior. #2536
18+
- `Schema.from_definition` builds a _class-based schema_ from the definition string #2178
19+
- Only integers are accepted for `Int` type #2404
20+
21+
### New features
22+
23+
- Input object arguments with `loads:` get the loaded object in their `authorized?` hook, as `arg` in `authorized?(obj, args, ctx)`. #2536
24+
- `GraphQL::Pagination` auto-pagination system #2143
25+
- `Schema.from_definition` builds a _class-based schema_ from the definition string #2178
26+
27+
### Bug fixes
28+
29+
- Return parse errors for empty documents and empty argument lists #2344
30+
- Properly serialize `defaultValue` of input objects containing enum values #2439
31+
- Don't crash when a query contains `!!`. #2397
32+
- Resolver `loads:` assign the value to argument `@loads` #2364
33+
- Only integers are accepted for `Int` type #2404
34+
1135
## 1.9.13 (8 Oct 2019)
1236

1337
### Breaking changes

lib/graphql/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
22
module GraphQL
3-
VERSION = "1.10.0.dev"
3+
VERSION = "1.10.0.pre1"
44
end

0 commit comments

Comments
 (0)