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

13
8

1.12.1

Diff

Changelog

Source

1.12.1 (25 January 2021)

Bug fixes

  • GraphQL::Dataloader: properly support selections with multiple fields #3297
rmosolgo
published 1.12.0 •

Changelog

Source

1.12.0 (20 January 2021)

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:

    # Revert to deprecated execution behaviors:
    use GraphQL::Execution::Execute
    use GraphQL::Analysis
    # Disable the new connection implementation:
    self.connections = nil
    
  • GraphQL::Execution::Interpreter::Arguments instances are frozen (#3138). (Usually, GraphQL code doesn't interact with these objects, but they're used some places under the hood.)

Deprecations

  • Many, many legacy classes and methods were deprecated. #3275 Deprecation errors include links to migration documentation. For a full list, see: https://github.com/rmosolgo/graphql-ruby/issues/3056

New features

  • Rails-like argument validations (#3207)
  • Fiber-based GraphQL::Dataloader for batch-loading data #3264
  • Connection and edge behaviors are available as mixins #3071
  • Schema definition supports schema directives #3224

Bug fixes

rmosolgo
published 1.11.10 •

Changelog

Source

1.11.10 (5 Nov 2021)

Bug fixes

  • Properly hook up Schema.max_validation_errors at query runtime #3690
rmosolgo
published 1.11.9 •

Changelog

Source

1.11.9 (1 Nov 2021)

New Features

  • Schema.max_validation_errors(val) limits the number of errors that can be added during static validation #3675
rmosolgo
published 1.11.8 •

Changelog

Source

1.11.8 (12 Feb 2021)

Bug fixes

  • Improve performance of Schema.possible_types(t) for object types #3172
rmosolgo
published 1.11.7 •

Changelog

Source

1.11.7 (18 January 2021)

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 #3278
  • Add validation timeout option #3234
  • Support Prometheus custom_labels in GraphQLCollector #3215

Bug fixes

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

Changelog

Source

1.11.6 (29 October 2020)

Breaking changes

FieldExtension: pass extended values instead of originals to after_resolve #3168

Deprecations

New features

  • Accept additional options in global_id_field macro #3196

Bug fixes

  • Use graphql_name in UnauthorizedError default message (fixes #3174) #3176
  • Improve error handling for base 64 decoding (in UniqueWithinType) #3179
  • Fix .valid_isolated_input? on parsed schemas (fixes #3181) #3182
  • Fix fields nullability in subscriptions documentation #3194
  • Update RangeAdd to use new connections when available #3195
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
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
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
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