Skip to content

Releases: ablestack/graphql-codegen-hasura

4.0.0

22 Jan 13:51
Compare
Choose a tag to compare

Released as a new major version due to non-trivial breaking changes. However, this is mostly around method naming, so upgrading should be relativley straight forward

  • The primary new feature included in this release is support for strongly typed Subscriptions (and the associated Query.SubscribeTo methods). See Apollo documentation and Hasura Documentation for specifics on Subscriptions
  • Subscription methods have been added with the "Subscribe*" naming
  • The previous "Fetch*" methods have been renamed to "Query*" naming to conform to this evolution of the naming

Added experimental React Hooks generation

03 Dec 00:10
Compare
Choose a tag to compare

Document (Fragment) Driven Code Generation

02 Dec 06:28
Compare
Choose a tag to compare

The V2 Release includes Fragment Driven codegen, in addition to the existing Schema Driven Codegen. This provides support for nested query graphs, in addition to finer grained control over the queries, mutations, and helper code that is generated

v1.1.0 - react-apollo v2 & v3 compatibility

29 Nov 11:34
Compare
Choose a tag to compare

Updated packages to support react-apollo v2 aswell as v3 through the addition of a 'reactApolloVersion' configuration option