graphql v1.1.0 Release Notes

Release Date: 2016-11-01 // over 7 years ago
  • ๐Ÿ’ฅ Breaking changes

    • Two-character "\\u" is no longer treated as the Unicode escape character, only the Unicode escape character "\u" is treated that way. (This behavior was a bug, the migration path is to use the Unicode escape character.) #366
    • ๐Ÿšš GraphQL::Language::ParserTests was removed, use GraphQL::Compatibility instead. #366
    • 0๏ธโƒฃ Non-null arguments can't be defined with default values, because those values would never be used #361

    ๐Ÿ†• New features

    • Schema.from_definition(definition_string) builds a GraphQL::Schema out of a schema definition. #346
    • Schema members (types, fields, arguments, enum values) can be hidden on a per-query basis with the except: option #300
    • ๐Ÿ— GraphQL::Compatibility contains .build_suite functions for testing user-provided parsers and execution strategies with GraphQL internals. #366
    • Schema members respond to #redefine { ... } for making shallow copies with extended definitions. #357
    • Schema#instrument provides an avenue for observing query and field resolution with no overhead.
    • ๐ŸŽ Some SerialExecution objects were converted to functions, resulting in a modest performance improvement for query resolution.

    ๐Ÿ› Bug fixes

    • NonNullType and ListType have no name (nil), as per the spec #355
    • 0๏ธโƒฃ Non-null arguments can't be defined with default values, because those values would never be used #361