Releases: ablestack/graphql-codegen-hasura
Releases · ablestack/graphql-codegen-hasura
4.0.0
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
v2.3.0 v2.3.0
Document (Fragment) Driven Code Generation
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
Updated packages to support react-apollo v2 aswell as v3 through the addition of a 'reactApolloVersion' configuration option