Skip to content

Commit 6eba091

Browse files
committed
Merge branch 'master' into cparser-encoding-fix
2 parents 41f1392 + da41589 commit 6eba091

31 files changed

+459
-145
lines changed

CHANGELOG-enterprise.md

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

99
### Bug Fix
1010

11+
# 1.3.0 (29 May 2023)
12+
13+
### New Features
14+
15+
- Changesets: Add `added_in: ...` and `removed_in: ...` for inline definition changes
16+
1117
# 1.2.0 (10 February 2023)
1218

1319
### New Features

CHANGELOG-pro.md

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

99
### Bug Fix
1010

11+
# 1.24.6 (24 May 2023)
12+
13+
- Defer: Add `incremental: true` for new proposed wire format, add example for working with GraphQL-Batch #4477
14+
15+
# 1.24.5 (24 May 2023)
16+
17+
- Stable relation connection: Quote table names and column names in selects and orders #4485
18+
1119
# 1.24.4 (18 April 2023)
1220

1321
### Bug Fix

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@
1010

1111
### Bug fixes
1212

13+
# 2.0.22 (17 May 2023)
14+
15+
### New features
16+
17+
- Warden: manually instantiating doesn't require a `filter` instance #4462
18+
19+
### Bug fixes
20+
21+
- Enum: fix procs for enum values #4474
22+
- Lexer: force UTF-8 encoding #4467
23+
- Trace: inherit superclass `trace_options` #4470
24+
- Dataloader: properly run mutations in sequence #4461
25+
- NotificationsTrace: Add `execute_multiplex.graphql` event #4460
26+
- Fix `Context#dig` when called with one key #4458
27+
- Performance: Use a plain hash for selection sets at runtime #4453
28+
- Performance: Memoize current trace #4450, #4452
29+
- Performance: Pass is_non_null to runtime check #4449
30+
- Performance: Use `compare_by_identity` on some runtime caches
31+
- Properly support nested queries (fix `Thread.current` clash) #4445
32+
1333
# 2.0.21 (11 April 2023)
1434

1535
### Deprecations

gemfiles/rails_4.2.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ gem "ruby-prof", platform: :ruby
77
gem "pry"
88
gem "pry-stack_explorer", platform: :ruby
99
gem "rails", "~> 4.2", require: "rails/all"
10+
gem 'loofah', '~>2.19.1' # Trying to fix Nokogiri incompatibility
1011
gem "activerecord", "~> 4.2.4"
1112
gem "actionpack", "~> 4.2.4"
1213
gem "concurrent-ruby", "~> 1.0"

guides/authorization/visibility.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,17 @@ end
9393
```
9494

9595
For this to work, the base argument class must be {% internal_link "configured with other GraphQL types", "/type_definitions/extensions.html#customizing-arguments" %}.
96+
97+
## Opting Out
98+
99+
By default, GraphQL-Ruby always runs visibility checks. You can opt out of this by adding to your schema class:
100+
101+
```ruby
102+
class MySchema < GraphQL::Schema
103+
# ...
104+
# Opt out of GraphQL-Ruby's visibility feature:
105+
use GraphQL::Schema::AlwaysVisible
106+
end
107+
```
108+
109+
For big schemas, this can be a worthwhile speed-up.

0 commit comments

Comments
 (0)