Skip to content

Releases: tarantool/graphql

0.3.0

13 Mar 09:42
Compare
Choose a tag to compare

Overview

This release introduces new API to check module version in code.

Changed

  • Add versioning support through module._VERSION (PR #65).
  • Deprecate versioning support through module.VERSION (PR #66).

0.2.0

26 Aug 11:57
Compare
Choose a tag to compare

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 to nil.
  • 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

08 Apr 23:19
Compare
Choose a tag to compare

Overview

This release better stitch numeric types we have in LuaJIT with the Float
GraphQL type.

Breaking changes

This release should not break existing code.

Bugfixes

  • Accept a cdata number as value of a Float variable (#47).
  • Forbid NaN and Infinity as a value Float type (PR #49).

Infrastructure

  • Fixed rockspec (added forgotten graphql/init.lua) (PR #53).
  • Fixed graphql.VERSION generation (PR #53).
  • Deploy .all.rock instead of .src.rock (PR #53).
  • Deploy scm-1 rockspec from CI (PR #53).

0.1.3

01 Feb 08:09
Compare
Choose a tag to compare

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

  • Fix coercing default values on schema generation (#35).
  • Fix damaging schema on directiveMap generation (#44).

0.1.2

14 Dec 17:02
Compare
Choose a tag to compare

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!