Skip to content

Commit 2858007

Browse files
committed
1.5.2
1 parent f1307d0 commit 2858007

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

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

99
### Bug fixes
1010

11+
## 1.5.2 (16 Mar 2017)
12+
13+
### Breaking Changes
14+
15+
- Parse errors are no longer raised to the application. #607 Instead, they're returned to the client in the `"errors"` key. To preserve the previous behavior, you can implement `Schema#parse_error` to raise the error:
16+
17+
```ruby
18+
MySchema = GraphQL::Schema.define do
19+
# ...
20+
parse_error ->(err, ctx) { raise(err) }
21+
end
22+
```
23+
24+
### New Features
25+
26+
- Add `graphq:enum` generator #611
27+
- Parse errors are returned to the client instead of raised #607
28+
29+
### Bug Fixes
30+
31+
- Handle negative cursor pagination args as `0` #612
32+
- Properly handle returned `GraphQL::ExecutionError`s from connection resolves #610
33+
- Properly handle invalid nulls in lazy scalar fields #609
34+
- Properly handle invalid input objects passed to enum arguments #604
35+
- Fix introspection response of enum default values #605
36+
- Allow `Schema.from_definition` default resolver hashes to have defaults #608
37+
1138
## 1.5.1 (12 Mar 2017)
1239

1340
### Bug fixes

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.5.1"
3+
VERSION = "1.5.2"
44
end

0 commit comments

Comments
 (0)