You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

graphql-ruby-client

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-ruby-client - npm Package Versions

1245
8

1.11.5

Diff
r
rmosolgo
published 1.11.5 •

Changelog

Source

1.11.5 (30 September 2020)

New features

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

Bug fixes

  • SanitizedPrinter: Fix lists and JSON scalars #3171
  • Improve retained memory in Schema.from_definition #3153
  • Make it easier to cache schema parsing #3153
  • Make sure deprecated arguments aren't required #3137
  • Use .empty? instead of .length.zero? in lexer #3134
  • Return a proper error when a stack error happens #3129
  • Assert valid input types on arguments #3120
  • Improve Validator#validate performance #3125
  • Don't wrap RawValue in ConnectionExtension #3122
  • Fix interface possible types visibility #3124
r
rmosolgo
published 1.11.4 •

Changelog

Source

1.11.4 (24 August 2020)

Breaking changes

New features

  • Add node_nullable option for edge_type #3083
  • Use module namespacing for template generators #3098

Bug fixes

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

Changelog

Source

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 #3066

New features

  • Improve resolver method conflict warning #3069, #3062
  • Store arguments on Mutation instances after they're loaded #3073

Bug fixes

  • Fix connection wrappers on lazy lists #3070
r
rmosolgo
published 1.11.2 •

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
r
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
r
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
r
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
r
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
r
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
r
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
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.