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, useGraphQL::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 aGraphQL::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
andListType
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
- Two-character