New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-ruby-client

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-ruby-client - npm Package Versions

1
8

1.11.2

Diff

Changelog

Source

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. #3011

New features

  • Support Date, Time and OpenStruct in Subscription::Serialize #3057

Bug fixes

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

Changelog

Source

1.11.1 (17 June 2020)

New Features

  • Add StatsdTracing #2996

Bug Fixes

  • Raise the proper InvalidNullError when a mutation field returns an invalid nil #2997
rmosolgo
published 1.11.0 •

Changelog

Source

1.11.0 (13 June 2020)

Breaking changes

  • Global tracers are removed (deprecated since 1.7.4) #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. #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 #2770
  • Add broadcast: true option to subscriptions #2959
  • Add Edge#parent to new connection classes #2961

Bug fixes

  • Use the field name as configured for hash key or method name #2906
rmosolgo
published 1.10.7 •

Changelog

Source

1.10.7 (16 April 2020)

Breaking changes

  • Schema.from_introspection(...) builds class-based schemas #2876

New features

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

Bug fixes

  • Fix memory leak in legacy runtime #2884
  • Fix interface inheritance in legacy runtime #2882
  • Fix description on List and NonNull types (for introspection) #2875
  • Fix over-rescue of NoMethodError when building list responses #2887
rmosolgo
published 1.10.6 •

Changelog

Source

1.10.6 (6 April 2020)

New features

  • Add options to implements(...) and interface type visibility #2791
  • Add Query#fingerprint for logging #2859
  • Add --playground option to install generator #2839
  • Support lazy-loaded objects from input object loads: #2834

Bug fixes

  • Fix Language::Nodes equality: move eql? to == #2861
  • Make rake task properly detect rails environment task #2862
  • Fix nil override for max_page_size #2843
  • Fix pageInfo methods when they're called before nodes #2845
  • Make the default development error match a normal GraphQL error #2825
  • Fix loads: with require: false #2833
  • Fix typeerror for BigInt given nil #2827
rmosolgo
published 1.10.5 •

Changelog

Source

1.10.5 (12 March 2020)

New features

  • Add #field_complexity hook to AST::QueryComplexity analyzer #2807

Bug fixes

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

Changelog

Source

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. #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 #2782 for migration notes.

New features

  • Add Appoptics tracing #2789
  • Add Query#sanitized_query_string #2785
  • Improved duplicate type error message #2777

Bug fixes

  • Fix arguments ending in numbers, so they're injected with the same name that they're configured with #2792
  • Improve Query#arguments_for with interpreter #2781
  • Fix visitor replacement of variable definitions #2752
  • Remove half-broken connection handling from Schema.from_definition #2782
rmosolgo
published 1.10.3 •

Changelog

Source

1.10.3 (17 Feb 2020)

New features

  • Support loads: with plain field arguments #2720
  • Support raw_value(...) to halt execution with a certain value #2699
  • .read_subscription can return nil to bypass executing a subscription #2741

Bug fixes

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

Changelog

Source

1.10.2 (31 Jan 2020)

Bug fixes

  • Properly wrap nested input objects in instances #2710
rmosolgo
published 1.10.1 •

Changelog

Source

1.10.1 (28 Jan 2020)

Bug fixes

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

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc