Skip to content

v0.9.0

Choose a tag to compare

@seriallink seriallink released this 26 Nov 13:26
· 118 commits to master since this release

First release of github.com/gql-go/graphql, the community-maintained continuation of graphql-go/graphql.
It ships everything merged upstream since v0.8.1 (April 2023), which was never released, under the new module path.

Migrating

The API is unchanged. Replace the import prefix:

github.com/graphql-go/graphql  ->  github.com/gql-go/graphql

New

  • Query plans and plan cache (graphql-go/graphql#740, @Nthalk): PlanQuery,
    ExecutePlan and PlanCache precompute the per-operation work (field
    collection, field definition lookup, literal argument coercion, constant
    @include/@skip) so a repeated operation only pays the per-request part.
    PlanCache is a bounded LRU with an optional Normalize mode that lets
    queries differing only in literal values share a plan. Execute keeps its
    behaviour and now runs on top of the plan internally.

Fixes

Performance

Maintenance

Thanks

To @chris-ramon and @sogko for creating and maintaining graphql-go/graphql, and to everyone whose work is in this release.