Releases: tarantool/graphql
0.3.0
0.2.0
Overview
This release brings library closer to GraphQL specification and JS reference implementation library.
Breaking changes
This release changes the behavior in several ways based on GraphQL specification and JS reference implementation library behavior. It is not likely that your application will be affected by these changes, but not impossible.
box.NULL
is now a possible execution result. Before this release, it was always transformed tonil
.- Using non-null defaults for non-nullable variables no longer results in error.
Bugfixes
- Fixed coerse scalar list and input object variables (#13, PR #54).
- Fixed casting big cdata numbers to null (#17).
- Fixed returning gapped arrays (#57).
- Propagate
box.NULL
execution result to a user (PR #64). - Fix null variables coerce (PR #64).
- Allow using non-null defaults for non-null variables (PR #64).
- Fix error message in case of using variable with null or no default for non-nullable argument (PR #64).
Infrastructure
- Comparison nullability test with JS reference implementation library (PR #64).
Thanks
Most features and bugfixes were introduced by Yaroslav Shumakov. Thank you, Yaroslav!
0.1.4
0.1.3
Overview
This release adds several fixes and improvements, mostly related to default values.
Since this version, you can get current rock version with require('graphql').VERSION
in code.
Breaking changes
specifiedByUrl
option is renamed to specifiedByURL
due to GraphQL specification.
New features
- Get current rock version with
require('graphql').VERSION
(#29). - Specify custom types description URL (#30).
- Propagate defaults to operation callback (#37).
Bugfixes
0.1.2
Overview
This release contains several bugfixes and features based on graphql spec.
Breaking changes
This release should not break existing code.
Features
- Custom directives (PR #26).
- Scalar specification URL (PR #27).
- Update luagraphqlparser to 0.2.0 (PR #32).
- Measure test coverage in CI (PR #24).
Bugfixes
- Throw error if it's impossible to coerce boolean (#14).
- Fix returning both data and error for multiple resolvers (PR #25).
- Include descriptions in introspection output (PR #28).
- Fix describing type with table in schema (PR #31).
Thanks
Most features and bugfixes were introduced by Yaroslav Shumakov. Thank you, Yaroslav!