Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency graphql to v1.13.23 #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql (source, changelog) 1.11.6 -> 1.13.23 age adoption passing confidence

Release Notes

rmosolgo/graphql-ruby (graphql)

v1.13.23

Compare Source

v1.13.22

Compare Source

v1.13.21

Compare Source

v1.13.20

Compare Source

v1.13.19

Compare Source

Bug fixes
  • Performance: don't re-encode schema member names #​4323
  • Performance: fix a duplicate field.type call #​4316
  • Performance: use scope: false for introspection types #​4315
  • Performance: improve argument coercion and validation #​4312
  • Performance: improve interface type membership lookup #​4309

v1.13.18

Compare Source

New Features
  • hash_key:: perform [...] lookups even when the underlying object isn't a Hash #​4286

v1.13.17

Compare Source

Bug fixes
  • Handle ExecutionErrors from prepare hooks when calculating complexity #​4248

v1.13.16

Compare Source

New Features
  • Make variable validation respect validate_max_errors #​4178

v1.13.15

Compare Source

Bug fixes
  • Remove partial OpenTelementry tracing #​4086
  • Properly use Query#validate to skip static validation #​3881

v1.13.14

Compare Source

New Features
  • Add Field#relay_nodes_field reader #​4103
  • Datadog: detect tracing module #​4100

v1.13.13

Compare Source

New features
  • Datadog: update tracer for ddtrace 1.0 #​4038
  • Datadog: Add #prepare_span hook for custom tags #​4067
  • Tracing: Add OpenTelementry tracing #​4077

v1.13.12

Compare Source

  • Pass context[:dataloader] to multiplex context #​4026
  • Add a deprecation warning to .accepts_definitions #​4002

v1.13.11

Compare Source

Deprecations
  • RangeAdd warns when context: isn't provided (it's required in GraphQL-Ruby 2.0) #​3996

v1.13.10

Compare Source

Breaking changes
  • id fields: #​3914 Previously, when a field was created with global_id_field, it would pass a legacy-style type definition (an instance of GraphQL::ObjectType) to Schema.id_from_object(...). Now, it passes a class-based definition instead. If your id_from_object(...) method was using any methods from those legacy definitions, they should be migrated. (Most notably, uses of type.name should be migrated to type.graphql_name.)
Deprecations
  • Connections: deprecation warnings were added to configuration methods .bidirectional_pagination = ... and .default_nodes_field = .... These two configurations don't apply to the new pagination implementation, so they can be removed. #​3918

v1.13.9

Compare Source

Breaking changes
  • Authorization: #​3903 In graphql-ruby v1.12.17-1.13.8, when input objects used prepare: -> { ... } , the returned values were not authorized at all. However, this release goes back to the behavior from 1.12.16 and before, where a returned Hash is validated just like an input object that didn't have a prepare: hook. To get the previous behavior, you can implement def self.authorized? in the input object you want to skip authorization in:

    class Types::BaseInputObject < GraphQL::Schema::InputObject
      def self.authorized?(obj, value, ctx)
        if value.is_a?(self)
          super
        else
          true # graphql-ruby skipped auth in this case for v1.12.17-v1.13.8
        end
      end
    end
Bug fixes
  • Support re-setting query.validate = ... after a query is initialized #​3881
  • Handle validation errors in connection complexity calculations #​3906
  • Input Objects: try to authorize values when prepare: returns a Hash (this was default < v1.12.16) #​3903
  • SDL: fix when a type has two directives

v1.13.8

Compare Source

Bug fixes
  • Introspection query: hide newly-supported fields behind arguments, maintain backwards-compatible INTROSPECTION_QUERY #​3877

v1.13.7

Compare Source

New Features
  • Arguments: replace_null_with_default: true replaces incoming nulls with the configured default_value: #​3871
  • Arguments: support dig: [key1, key2, ...] for nested hash key access #​3856
  • Generators: support more Postgresql field types #​3577
  • Generators: support downcased generator argument types #​3577
  • Generators: add an input type generator #​3577
  • Generators: support namespaces in generators #​3577
Bug Fixes
  • Field: better error for nil owner #​3870
  • ISO8601DateTime: don't accept inputs with partial time parts #​3862
  • SDL: fix for base connection classes that implement interfaces #​3859
  • Cops: find required: true on f.argument calls (with explicit receiver) #​3858
  • Analysis: handle undefined or hidden fields with nil in visitor.field_definition #​3857

v1.13.6

Compare Source

New features
  • Introspection: support __Schema.description, __Directive.isRepeatable, __Type.specifiedByUrl, and __DirectiveLocation.VARIABLE_DEFINITION #​3854
  • Directives: Call Directive.resolve_each for list items #​3853
  • Dataloader: Run each list item in its own fiber (to support batching across list items) #​3841
Bug fixes
  • RelationConnection: Preserve OFFSET when it's already set on the relation #​3846
  • Types::ISO8601Date: Accept default values as Ruby date objects #​3563

v1.13.5

Compare Source

New features
  • Directives: support repeatable directives #​3837
  • Tracing: use context[:fallback_transaction_name] when operations aren't named #​3778
Bug fixes
  • Performance: improve performance of queries with directives #​3835
  • Fix crash on undefined constant NodeField #​3832
  • Fix crash on partially-required ActiveSupport #​3829

v1.13.4

Compare Source

Bug fixes
  • Connections: Fix regression in 1.13.3 on unbounded Relation connections #​3822

v1.13.3

Compare Source

Deprecations
  • GraphQL::Relay::NodeField and GraphQL::Relay::NodesField are deprecated; use GraphQL::Types::Relay::HasNodesField or GraphQL::Types::Relay::HasNodeField instead. (The underlying field instances require a reference to their owner type, but NodeField and NodesField can't do that, since they're shared instances) #​3791
New features
  • Arguments: support required: :nullable to make an argument required to be present, even if it's null #​3784
  • Connections: When paginating an AR::Relation, use already-loaded results if possible #​3790
  • Tracing: Support DRY::Notifications #​3776
  • Improve the error when a Ruby method doesn't support the defined GraphQL arguments #​3785
  • Input Objects: call .authorized? on them at runtime #​3786
  • Field extensions: add extras(...) for extension-related extras with automatic cleanup #​3787
Bug fixes
  • Validation: accept nullable variable types for arguments with default values #​3819
  • Validation: raise a better error when a schema receives a query { ... } but has no query root #​3815
  • Improve the error message when Schema.get_field can't make sense of the arguments #​3815
  • Subscriptions: losslessly serialize Rails 7 TimeWithZone #​3774
  • Field Usage analyzer: handle errors from prepare: hooks #​3794
  • Schema from definition: fix default values with camelized arguments #​3780

v1.13.2

Compare Source

Bug fixes
  • Authorization: only authorize arguments once, after they've been loaded with loads: #​3782
  • Execution: always provide an Interpreter::Arguments instance as context[:current_arguments] #​3783

v1.13.1

Compare Source

Bug fixes
  • Performance: don't re-encode schema member names #​4323
  • Performance: fix a duplicate field.type call #​4316
  • Performance: use scope: false for introspection types #​4315
  • Performance: improve argument coercion and validation #​4312
  • Performance: improve interface type membership lookup #​4309

v1.13.0

Compare Source

Since this version, GraphQL-Ruby is tested on Ruby 2.4+ and Rails 4+ only.

Breaking changes
  • ActionCable Subscriptions: No update is delivered if all subscriptions return NO_UPDATE #​3713
  • Subscription classes: If a subscription has a scope ... configuration, then a scope: option is required in .trigger(...). Use scope ..., optional: true to get the old behavior. #​3692
  • Arguments whose default values are used aren't checked for authorization #​3665
  • Complexity: Connection fields have a default complexity implementation based on first/last/max_page_size #​3609
  • Arguments: if arguments are configured to return false for .visible?(context), their default values won't be applied
New features
  • Visibility: A schema may contain multiple members with the same name. For each name, GraphQL-Ruby will use the one that returns true for .visible?(context) for each query (and raise an error if multiple objects with the same name are visible). #​3651 #​3716 #​3725
  • Dataloader: nonblocking: true will make GraphQL::Dataloader use Fiber.scheduler to run fields and load data with sources, supporting non-blocking IO. #​3482
  • null: true and required: true are now default. GraphQL-Ruby includes some RuboCop cops, GraphQL/DefaultNullTrue and GraphQL/DefaultRequiredTrue, which identify and remove those needless configurations. #​3612
  • Interfaces may implement ... other interfaces #​3613
Bug fixes
  • Enum value(...) and Input Object argument(...) methods return the defined object #​3727
  • When a field returns an array of mixed errors and values, the result will contain nil where there were errors in the list #​3656

v1.12.24

Compare Source

Bug fixes
  • SDL: fix parsing schemas where types have multiple directives #​3886

v1.12.23

Compare Source

Bug fixes
  • FieldUsage analyzer: handle arguments that raise an error during prepare: #​3795

v1.12.22

Compare Source

Bug fixes
  • Static validation: fix regression and improve performance of fields_will_merge validation #​3761

v1.12.21

Compare Source

Bug fixes
  • Validators: Fix format:/allow_blank: true to correctly accept a blank string #​3726
  • Generators: generate a correct Schema.type_error hook #​3722

v1.12.20

Compare Source

New Features
  • Static validation: improve error messages when fields won't merge #​3698
  • Generators: improve id_from_object and type_error suggested implementations #​3710
  • Connections: make the new connections module fall back to old connections #​3704
Bug fixes
  • Dataloader: re-enqueue sources when one call to yield didn't satisfy their pending requests #​3707
  • Subscriptions: Fix when JSON-typed arguments are used #​3705

v1.12.19

Compare Source

New Features
  • Argument validation: Make allow_null and allow_blank work standalone #​3671
  • Add field and path info to Encoding errors #​3697
  • Add Resolver#unauthorized_object for handling loaded but unauthorized objects #​3689
Bug fixes
  • Properly hook up Schema.validate_max_errors at runtime #​3691

v1.12.18

Compare Source

New features
  • Subscriptions: Add NO_UPDATE constant for skipping subscription updates #​3664
  • Validation: Add Schema.validate_max_errors(integer) for halting validation when it reaches a certain number #​3683
  • Call self.load_... methods on Input objects for loading arguments #​3682
  • Use import_methods in Refinements when available #​3674
  • AppsignalTracing: Add set_action_name #​3659
Bug fixes
  • Authorize objects returned from custom def load_... methods #​3682
  • Fix context[:current_field] when argument prepare: hooks raise an error #​3666
  • Raise a helpful error when a Resolver doesn't have a configured type(...) #​3679
  • Better error message when subscription clients are using ActionCable #​3668
  • Dataloader: Fix dataloading of input object arguments #​3666
  • Subscriptions: Fix parsing time zones #​3667
  • Subscriptions: Fix parsing with non-null arguments #​3620
  • Authorization: Call schema.unauthorized_field for unauthorized resolvers
  • Fix when literal null is used as a value for a list argument #​3660

v1.12.17

Compare Source

New features
  • Support extras: [:parent] #​3645
  • Support ranges in NumericalityValidator #​3635
  • Add some Dataloader methods for testing #​3335
Bug fixes
  • Support input object arguments called context #​3654
  • Support single-item default values for list arguments #​3652
  • Ensure query strings are strings before running a query #​3628
  • Fix empty hash kwargs for Ruby 3 #​3610
  • Fix wrongly detecting Ipnut objects in authorization #​3606

v1.12.16

Compare Source

New features
  • Connections: automatically support Mongoid 7.3 #​3599
  • Support def self.topic_for in Subscription classes for server-filtered streams #​3597
  • When a list item or object field has an invalid null, stop executing that list or
Bug fixes
  • Perf: don't refine String when unnecessary #​3593
  • BigInt: always parse as base 10 #​3586
  • Errors: only return one error when a node in a non-null connection has an invalid null #​3601

v1.12.15

Compare Source

New Features
  • Subscriptions: add support for multi-tenant setups when deserializing context #​3574
  • Analyzers: also track deprecated arguments #​3549

v1.12.14

Compare Source

Bug fixes
  • SDL: support directive arguments referencing overridden built-in scalars #​3564
  • Use "_" as the name for field :_, ... fields #​3560
  • Support sanitized_printer(...) in the schema definition for Query#sanitized_query_string
  • GraphQL::Backtrace: fix multiplex support

v1.12.13

Compare Source

Breaking changes
  • Add a trailing newline to the Schema.to_definition output string #​3541
Bug fixes
  • Properly handled list results in GraphQL::Backtrace #​3540
  • Return plain Hashes and Arrays from queries instead of customized subclasses #​3533
  • Fix errors raised from non-null fields #​3537
  • Resolver: don't pass frozen array of extensions when none were configured #​3515
  • Configure the right owner for node and nodes fields #​3509
  • Improve error message for invalid enum value #​3507
  • Properly halt on lazily-returned context.skips #​3514
  • Fix: call overridden to_h methods on InputObject classes #​3539
  • Halt execution when a runtime directive argument raises a GraphQL::ExecutionError #​3542

v1.12.12

Compare Source

Bug fixes
  • Directives on inline fragments and fragment spreads receive .resolve(...) calls #​3499

v1.12.11

Compare Source

Bug fixes
  • Validate argument default values when adding them to the schema #​3496
  • Resolvers inherit extensions from superclasses #​3500
  • Greatly reduce runtime overhead #​3494, #​3505
  • Remove hidden directives from introspection #​3488

v1.12.10

Compare Source

New features
  • Use GlobalID::Locator.locate_many for arrays of global Ids #​3481
  • Support runtime directives (call .resolve) on QUERY #​3474
Bug fixes
  • Don't override Resolver #load_* methods when they're inherited #​3486
  • Fix validation of runtime directive arguments that have input objects #​3485
  • Add a final newline to rake task output
  • Don't add connection arguments to fields loaded from introspection responses #​3470
  • Fix rescue_from on loading arguments #​3471

v1.12.9

Compare Source

New features
  • Overriding .authorized_new(...) to call .new(...) effectively skips object authorization #​3446
  • Dataloader copies Fiber-local values from Thread.current[...] when initializing new Fibers #​3461
Bug fixes
  • Fix introspection of default value input objects #​3456
  • Add StandardError => ... condition to the generated GraphqlController #​3460
  • Fix Dataloader::Source on Ruby 3 with keyword arguments
  • Respect directive visibility at runtime #​3450
  • ActionCable subscriptions: only deserialize the broadcast payload once #​3443
  • Don't re-add graphiql-rails when generate graphql:install is run twice #​3441
  • Allow differing selections on mutually exclusive interfaces #​3063
  • Respect max_page_size: nil override in fields #​3438

v1.12.8

Compare Source

Bug fixes
  • Fix loading single-key hashes in Subscriptions #​3428
  • Fix looking up rescue_from handlers inherited from parent schema classes #​3431

v1.12.7

Compare Source

Breaking changes
  • Execution::Errors (which implements rescue_from) was refactored so that, when an error matches more than one registered handler, it picks the most specific handler instead of the first match in the underlying Hash. This might "break" your code if your application registered a handler for a parent class and a child class, but expects instances of the child class to be handled by the handler for the parent class. (This seems very unlikely -- I consider the change to be a "breaking fix.") #​3404
New features
  • Errors: pick the most specific error handlers (instead of an order-dependent selection) #​3404
  • Add node_nullable(...) connection configuration options #​3389
  • Add has_nodes_field(true|false) connection configuration option #​3388
  • Store more metadata in argument-related static validation errors #​3406
Bug fixes
  • Fix connection nullability settings to properly handle false #​3386
  • Fix returning RawValues as part of a list #​3403
  • Fix introspection for deprecated directive arguments #​3416
  • Optimize has_next_page for ActiveRecord::Relation connections #​3414
  • Tracing: consistent event sequencing when queries are executed with Query#result #​3408

v1.12.6

Compare Source

Breaking changes
  • Static validation: previously, variables passed as arguments to input objects were not properly type-checked. #​3370 fixed type checking in this case, but may case existing (invalid) queries to break.
New features
  • Connection types: support edges_nullable(false) and edge_nullable(false) for non-null fields #​3376
  • Connections: add .arguments reader to new Pagination::Connection classes #​3360
Bug fixes
  • Relation connection: Remove extra COUNT query from some scenarios #​3373
  • Add a Bootsnap-style parsing cache when Bootsnap is detected #​3156
  • Fix input validation for input object variables #​3370

v1.12.5

Compare Source

New features
  • Resolvers: support max_page_size config #​3338
  • RangeAdd: call range_add_edge (if supported) to improve stable connection support #​3341
Bug fixes
  • Backtrace: fix new tracer when analyzing multiplex without executing it #​3342
  • Dataloader: pass along throws #​3333
  • Skip possible_types filtering for non-interface types #​3336
  • Improve debugging message for ListResultFailedError #​3339

v1.12.4

Compare Source

Bug fixes
  • Allow prepended modules to add fields #​3325
  • Fix ConnectionExtension when another extension short-circuits resolve #​3326
  • Backtrace: Fix GraphQL::Backtrace with static validation (used by graphql-client) #​3324
  • Dataloader: Fix yield from root fiber when accessing arguments from analyzers. Fix arguments sometimes containing unresolved Execution::Lazys #​3320
  • Dataloader: properly pass raised errors to handle_error handlers #​3319
  • Fix NameError in validation error #​3303
  • Dataloader: properly batch when parent fields were not batched #​3312

v1.12.3

Compare Source

Bug fixes
  • Fix constant names for legacy scalar types

v1.12.2

Compare Source

Bug fixes
  • SDL: fix parsing schemas where types have multiple directives #​3886

v1.12.1

Compare Source

New Features
  • Argument validation: Make allow_null and allow_blank work standalone #​3671
  • Add field and path info to Encoding errors #​3697
  • Add Resolver#unauthorized_object for handling loaded but unauthorized objects #​3689
Bug fixes
  • Properly hook up Schema.validate_max_errors at runtime #​3691

v1.12.0

Compare Source

Breaking changes
  • GraphQL::Schema defaults to GraphQL::Execution::Interpreter, GraphQL::Analysis::AST, GraphQL::Pagination::Connections, and GraphQL::Execution::Errors. (#​3145) To get the previous (deprecated) behaviors:

v1.11.10

Compare Source

Bug fixes
  • Properly hook up Schema.max_validation_errors at query runtime #​3690

v1.11.9

Compare Source

New Features
  • Schema.max_validation_errors(val) limits the number of errors that can be added during static validation #​3675

v1.11.8

Compare Source

Bug fixes
  • Improve performance of Schema.possible_types(t) for object types #​3172

v1.11.7

Compare Source

Breaking changes
  • Incoming integer values are properly bound (as per the spec) #​3206 To continue receiving out-of-bound integer values, add this to your schema's def self.type_error(err, ctx) hook:

    def self.type_error(err, ctx)
      if err.is_a?(GraphQL::IntegerDecodingError)
        return err.integer_value # return it anyways, since this is how graphql-ruby used to work
      end

...

end

##### New features

- Support Ruby 3.0 #&#8203;3278
- Add validation timeout option #&#8203;3234
- Support Prometheus custom_labels in GraphQLCollector #&#8203;3215
##### Bug fixes

- Handle `GraphQL::UnauthorizedError` in interpreter in from arguments #&#8203;3276
- Set description for auto-generated `input:` argument #&#8203;3141
- Improve performance of fields will merge validation #&#8203;3228
- Use `Float` graphql type for ActiveRecord decimal columns #&#8203;3246
- Add some custom methods to ArrayConnection #&#8203;3238
- Fix generated fields for types ending Connection #&#8203;3223
- Improve runtime performance #&#8203;3217
- Improve argument handling when extensions shortcut the defined resolve #&#8203;3212
- Bind scalar ints as per the spec #&#8203;3206
- Validate that input object names are unique #&#8203;3205
#### 1.11.6 (29 October 2020)
##### Breaking changes

FieldExtension: pass extended values instead of originals to `after_resolve` #&#8203;3168
##### Deprecations
##### New features

- Accept additional options in `global_id_field` macro #&#8203;3196
##### Bug fixes

- Use `graphql_name` in `UnauthorizedError` default message (fixes #&#8203;3174) #&#8203;3176
- Improve error handling for base 64 decoding (in `UniqueWithinType`) #&#8203;3179
- Fix `.valid_isolated_input?` on parsed schemas (fixes #&#8203;3181) #&#8203;3182
- Fix fields nullability in subscriptions documentation #&#8203;3194
- Update `RangeAdd` to use new connections when available #&#8203;3195
#### 1.11.5 (30 September 2020)
##### New features

- SanitizedPrinter: accept `inline_variables: false` option and add `#redact_argument_value?` and `#redacted_argument_value` hooks #&#8203;3167
- GraphQL::Schema::Timeoout#max_seconds(query) can provide a per-query timeout duration #&#8203;3167
- Implement Interpreter::Arguments#fetch
- Assign `current_{path,field,arguments,object}` in `query.context` #&#8203;3139. The values at these keys change while the query is running.
- ActionCableSubscriptions: accept `use(..., namespace: "...")` for running multiple schemas in the same application #&#8203;3076
- Add `deprecation_reason:` to arguments #&#8203;3015
##### Bug fixes

- SanitizedPrinter: Fix lists and JSON scalars #&#8203;3171
- Improve retained memory in Schema.from_definition #&#8203;3153
- Make it easier to cache schema parsing #&#8203;3153
- Make sure deprecated arguments aren't required #&#8203;3137
- Use `.empty?` instead of `.length.zero?` in lexer #&#8203;3134
- Return a proper error when a stack error happens #&#8203;3129
- Assert valid input types on arguments #&#8203;3120
- Improve Validator#validate performance #&#8203;3125
- Don't wrap `RawValue` in ConnectionExtension #&#8203;3122
- Fix interface possible types visibility #&#8203;3124
#### 1.11.4 (24 August 2020)
##### Breaking changes
##### New features

- Add `node_nullable` option for `edge_type` #&#8203;3083
- Use module namespacing for template generators #&#8203;3098
##### Bug fixes

- Rescue `SystemStackError`s during validation #&#8203;3107
- Add `require 'digest/sha2'` for fingerprint #&#8203;3103
- Optimize `GraphQL::Query::Context#dig` #&#8203;3090
- Check if new connections before calling method on it (fixes #&#8203;3059) #&#8203;3100
- Thread field owner type through interpreter runtime (fixes #&#8203;3086) #&#8203;3099
- Check for visible interfaces on the type in warden #&#8203;3096
- Update `AppOpticsTracing` with latest changes in `PlatformTracing` #&#8203;3097
- Use throw instead of raise to halt subscriptions early #&#8203;3084
- Optimize `GraphQL::Query::Context#fetch` #&#8203;3081
#### 1.11.3 (13 August 2020)
##### Breaking changes

- Reverted the `required` and `default_value` argument behaviour change in 1.11.2 since it was not spec compliant #&#8203;3066
##### New features

- Improve resolver method conflict warning #&#8203;3069, #&#8203;3062
- Store arguments on `Mutation` instances after they're loaded #&#8203;3073
##### Bug fixes

- Fix connection wrappers on lazy lists #&#8203;3070
#### 1.11.2 (1 August 2020)
##### Breaking changes

- Previously, GraphQL-Ruby allowed _both_ `default_value: ...` and `required: true` in argument definitions. However, this definition doesn't make sense -- a default value is never used for a `required: true` argument. This configuration now raises an error. Remove the `default_value:` to get rid of the error. #&#8203;3011
##### New features

- Support Date, Time and OpenStruct in Subscription::Serialize #&#8203;3057
##### Bug fixes

- Speed up `DELETE_NODE` check #&#8203;3053
- Reject invalid enum values during definition #&#8203;3055
- Fix `.trigger` from unsubscribed ActionCable channel #&#8203;3051
- Fix error message from VariablesAreUsedAndDefined for anonymous queries #&#8203;3050
- Fix renaming variable identifiers in AST visitor #&#8203;3045
- Reject `default_value: ...` used with `required: true` during definition #&#8203;3011
- Use the configured `edge_class:` with new connections #&#8203;3036
- Don't call visible for unused arguments #&#8203;3030, #&#8203;3031
- Properly load directives from introspection results #&#8203;3021
- Reject interfaces as members of unions #&#8203;3024
- Load deprecation reason from introspection results #&#8203;3014
- Fix arguments caching when extension modify arguments #&#8203;3009
#### 1.11.1 (17 June 2020)
##### New Features

- Add `StatsdTracing` #&#8203;2996
##### Bug Fixes

- Raise the proper `InvalidNullError` when a mutation field returns an invalid `nil` #&#8203;2997
#### 1.11.0 (13 June 2020)
##### Breaking changes

- Global tracers are removed (deprecated since 1.7.4) #&#8203;2936
- Fields defined in camel case (`field :doStuff`) will not line up to methods that are underscore case (`def do_stuff`). Instead, the given symbol is used _verbatim_. #&#8203;2938 To work around this:

- Change the name of the method to match the field (eg, `def doStuff`)
- Change the name of the field to match the method (eg, `field :do_stuff`, let graphql-ruby camelize it for you)
- Or, add `resolver_method: :do_stuff` to explicitly map the field to a method on the object type definition

You can probably find instances of this in your application with a regexp like `/field :[a-z]+[A-Z]/`, and review them.
##### New features

- `extend SubscriptionRoot` is no longer necessary #&#8203;2770
- Add `broadcast: true` option to subscriptions #&#8203;2959
- Add `Edge#parent` to new connection classes #&#8203;2961
##### Bug fixes

- Use the field name as configured for hash key or method name #&#8203;2906
#### 1.10.12 (13 June 2020)
##### Bug fixes

- Fix compatibility of `YYYY-mm-dd` with `Types::ISO8601DateTime` #&#8203;2989
- Remove unused ivar in InputObject #&#8203;2987
#### 1.9.21 (12 June 2020)
##### Bug fixes

- Fix `extras:` on subscription fields #&#8203;2983
#### 1.10.11 (11 June 2020)
##### New features

- Scout tracer adds transaction name to traces #&#8203;2969
- `resolve_type` can optionally return a resolved object #&#8203;2976
- DateTime scalar returns a `Time` for better timezone handling #&#8203;2973
- Interpreter memory improvements #&#8203;2980, #&#8203;2978
- Support lazy values from field-level authorization hooks #&#8203;2977
- Object generator infers fields from model classes #&#8203;2954
- Add type-specific runtime errors #&#8203;2957
##### Bug fixes

- Fix for error when using `extras:` with subscription fields #&#8203;2984
- Improve Schema.error_handler inheritance #&#8203;2975
- Add raw_value to conflict warning list #&#8203;2958
- Arguments#each_value yields ArgumentValues #&#8203;2956
#### 1.10.10 (20 May 2020)
##### Bug Fixes

- Fix lazy `loads:` with list arguments #&#8203;2949
- Show object fields even when inherited ones are hidden #&#8203;2950
- Use `reverse_each` in instrumenters #&#8203;2945
- Fix underscored names in introspection loader #&#8203;2941
- Fix array input to Date/DateTime types #&#8203;2927
- Fix method conflict warnings on schema loader #&#8203;2934
- Fix some Ruby 2.7 warnings #&#8203;2925
#### 1.9.20 (20 May 2020)
##### Bug fixes

- Fix `default_value: {}` on Ruby 2.7
#### 1.10.9 (4 May 2020)
##### New features

- Add `Interpreter::Arguments#dig` #&#8203;2912
#### 1.10.8 (27 April 2020)
##### Breaking changes

- With the interpreter, `Query#arguments_for` returns `Interpreter::Arguments` instances instead of plain hashes. (They should work mostly the same, though.) #&#8203;2881
##### New features

- `Schema::Field#introspection?` returns true for built-in introspection-related fields
##### Bug fixes

- Fix Ruby 2.7 warning on `Schema.to_json` #&#8203;2905
- Pass `&block` to nested method calls to reduce stack depths #&#8203;2900
- Fix lazy `loads:` with list arguments #&#8203;2894
- Fix `loads:` on nested input object #&#8203;2895
- Rescue base64 encoding errors in the encoder #&#8203;2896
#### 1.10.7 (16 April 2020)
##### Breaking changes

- `Schema.from_introspection(...)` builds class-based schemas #&#8203;2876
##### New features

- `Date` and `DateTime` types also accept well-formatted strings #&#8203;2848
- `Schema.from_introspection(...)` builds class-based schemas #&#8203;2876
- `Schema#to_definition` now dumps all directives that were part of the original IDL, if the schema was parsed with `.from_definition` #&#8203;2879
##### Bug fixes

- Fix memory leak in legacy runtime #&#8203;2884
- Fix interface inheritance in legacy runtime #&#8203;2882
- Fix description on `List` and `NonNull` types (for introspection) #&#8203;2875
- Fix over-rescue of NoMethodError when building list responses #&#8203;2887
#### 1.10.6 (6 April 2020)
##### New features

- Add options to `implements(...)` and inteface type visibility #&#8203;2791
- Add `Query#fingerprint` for logging #&#8203;2859
- Add `--playground` option to install generator #&#8203;2839
- Support lazy-loaded objects from input object `loads:` #&#8203;2834
##### Bug fixes

- Fix `Language::Nodes` equality: move `eql?` to `==` #&#8203;2861
- Make rake task properly detect rails `environment` task #&#8203;2862
- Fix `nil` override for `max_page_size` #&#8203;2843
- Fix `pageInfo` methods when they're called before `nodes` #&#8203;2845
- Make the default development error match a normal GraphQL error #&#8203;2825
- Fix `loads:` with `require: false` #&#8203;2833
- Fix typeerror for `BigInt` given `nil` #&#8203;2827
#### 1.10.5 (12 March 2020)
##### New features

- Add `#field_complexity` hook to `AST::QueryComplexity` analyzer #&#8203;2807
##### Bug fixes

- Pass `nonce: true` when encoding cursors #&#8203;2821
- Ignore empty-string cursors #&#8203;2821
- Properly pass along `Analysis::AST` to schema instances #&#8203;2820
- Support filtering unreachable types in schemas from IDL #&#8203;2816
- Use `Query#arguments_for` for lookahead arguments #&#8203;2811
- Fix pagination bug on old connections #&#8203;2799
- Support new connection system on old runtime #&#8203;2798
- Add details to raise CoercionErrors #&#8203;2796
#### 1.10.4 (3 March 2020)
##### Breaking changes

- When an argument is defined with a symbol (`argument :my_arg, ...`), that symbol is used _verbatim_ to build Ruby keyword arguments. Previously it was converted to underscore-case, but this autotransform was confusing and wrong in some cases. You may have to change the symbol in your `argument(...)` configuration if you were depending on that underscorization. #&#8203;2792
- Schemas from `.from_definition` previously had half-way connection support. It's now completely removed, so you have to add connection wrappers manually. See #&#8203;2782 for migration notes.
##### New features

- Add `Appoptics` tracing #&#8203;2789
- Add `Query#sanitized_query_string` #&#8203;2785
- Improved duplicate type error message #&#8203;2777
##### Bug fixes

- Fix arguments ending in numbers, so they're injected with the same name that they're configured with #&#8203;2792
- Improve `Query#arguments_for` with interpreter #&#8203;2781
- Fix visitor replacement of variable definitions #&#8203;2752
- Remove half-broken connection handling from `Schema.from_definition` #&#8203;2782
#### 1.10.3 (17 Feb 2020)
##### New features

- Support `loads:` with plain field arguments #&#8203;2720
- Support `raw_value(...)` to halt execution with a certain value #&#8203;2699
- `.read_subscription` can return `nil` to bypass executing a subscription #&#8203;2741
##### Bug fixes

- Connection wrappers are properly inherited #&#8203;2750
- `prepare(...)` is properly applied to default values in subscription fields #&#8203;2748
- Code tidying for RSpec warnings #&#8203;2741
- Include new analysis module when generating a schema #&#8203;2734
- Include directive argument types in printed schemas #&#8203;2733
- Use `module_parent_name` in Rails #&#8203;2713
- Fix overriding default scalars in build_from_definition #&#8203;2722
- Fix some non-null errors in lists #&#8203;2651
#### 1.10.2 (31 Jan 2020)
##### Bug fixes

- Properly wrap nested input objects in instances #&#8203;2710
#### 1.10.1 (28 Jan 2020)
##### Bug fixes

- Include Interface-level `orphan_types` when building a schema #&#8203;2705
- Properly re-enter selections in complexity analyzer #&#8203;2595
- Fix input objects with null values #&#8203;2690
- Fix default values of `{}` in `.define`-based schemas #&#8203;2703
- Fix field extension presence check #&#8203;2689
- Make new relation connections more efficient #&#8203;2697
- Don't include fields `@skip(if: true)` or `@include(if: false)` in lookahead #&#8203;2700
#### 1.9.19 (28 Jan 2020)
##### Bug Fixes

- Fix argument default value of `{}` with Ruby 2.7 argument handling #&#8203;2704
#### 1.10.0 (20 Jan 2020)
##### Breaking Changes

- Class-based schemas using the new interpreter will now use _definition classes_ at runtime. #&#8203;2363 (Previously, `.to_graphql` methods were used to generate singletons which were used at runtime.) This means:
- Methods that used to receive types at runtime will now receive classes instead of those singletons.
- `.name` will now call `Class#name`, which will give the class name. Use `.graphql_name` to get the name of a GraphQL type. (Fields, arguments and directives have `.graphql_name` too, so you can use it everywhere.)
- Some methods that return hashes are slow because they merge hashes according to class inheritance, for example `MySchema.types` and `MyObjectType.fields`. Instead:
  - If you only need one item out of the Hash, use `.get_type(type_name)` or `.get_field(field_name)` instead. Those methods find a match without performing Hash merges.
  - If you need the whole Hash, get a cached value from `context.warden` (an instance of `GraphQL::Schema::Warden`) at runtime. Those values reflect the types and fields which are permitted for the current query, and they're cache

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codesandbox
Copy link

codesandbox bot commented Sep 15, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@github-actions
Copy link

github-actions bot commented Sep 15, 2023

💻 Website Preview

The latest changes are available as preview in: https://a3369fac.schema-stitching.pages.dev

@renovate renovate bot force-pushed the renovate/graphql-1.x-lockfile branch from 07d6bc0 to fc2e245 Compare October 20, 2023 17:01
@renovate renovate bot changed the title chore(deps): update dependency graphql to v1.13.19 chore(deps): update dependency graphql to v1.13.20 Oct 20, 2023
@renovate renovate bot force-pushed the renovate/graphql-1.x-lockfile branch from fc2e245 to b80709f Compare January 25, 2024 20:57
@renovate renovate bot changed the title chore(deps): update dependency graphql to v1.13.20 chore(deps): update dependency graphql to v1.13.21 Jan 25, 2024
@renovate renovate bot changed the title chore(deps): update dependency graphql to v1.13.21 chore(deps): update dependency graphql to v1.13.22 Feb 28, 2024
@renovate renovate bot force-pushed the renovate/graphql-1.x-lockfile branch from b80709f to 8967829 Compare February 28, 2024 20:00
@renovate renovate bot force-pushed the renovate/graphql-1.x-lockfile branch 2 times, most recently from 78a2b5f to 7fbcf88 Compare March 26, 2024 22:33
@renovate renovate bot force-pushed the renovate/graphql-1.x-lockfile branch from 7fbcf88 to 3aff2b3 Compare April 7, 2024 02:49
@renovate renovate bot changed the title chore(deps): update dependency graphql to v1.13.22 chore(deps): update dependency graphql to v1.13.23 Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants