NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #896 most downloaded on pub.dev
Simple, opinionated, codegen library for GraphQL. It allows you to generate serializers and client helpers to easily call and parse your data.
Last release 3 months ago
05 Jul 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
128 releases · first in 2021
Support interface fragment spreads on fragments on interfaces
Propagate deprecated annotation on input types.
- Support build 4.0.0.
One column per quarter.
build 4.0.0.Support build 3.0.0 and set min. language version to 3.8.0.
build 3.0.0 and set min. language version to 3.8.0.Fix bug: allowMissingNullableKeysInFromJson was not applied to Input.fromJson.
allowMissingNullableKeysInFromJson was not applied to Input.fromJson.- Support setOperationName.
setOperationName.Support allowMissingNullableKeysInFromJson.
allowMissingNullableKeysInFromJson.- Upgrade gql_code_builder.
gql_code_builder.Upgrade dependencies and dart SDK version.
- Update is operators.
is operators.Add new experimental input builders for better null / _undefined_ handling. Enable by setting EXPERIMENTAL_enable_input_builders: true.
null / undefined handling. Enable by setting EXPERIMENTAL_enable_input_builders: true.Don't remove when and maybeWhen when disableCopyWithGeneration = true.
when and maybeWhen when disableCopyWithGeneration = true.Supports @oneOf directive on input.
@oneOf directive on input.Add new JSON serialization constructors and methods to enum
- Fix bug on bad type extension.
Support enum value names starting with _.
_.Fix bug in asset path resolution
Fix bug in asset path resolution.
- Support .graphqls files
.graphqls filesFix bad copy class on list with default value.
Run builder before json_serializable
json_serializableFix poor handling of complex non-null types with defalt values
Support non-null input with a default value.
Support deprecated directive on fields and enum values.
- Support introspection queries
- Upgrade gql version.
gql version.Support include and skip directives on fields (not fragments yet)
include and skip directives on fields (not fragments yet)Add when and maybeWhen utility methods!
when and maybeWhen utility methods!Major performance improvement with many fragments
onError and onComplete callbacks to query options.typedOptimisticResult as an typed alternative to optimistcResult- Update documentation
Major performance improvement with many fragments
Support custom enum fallback values
- Fix onComplete
onCompleteAdd onError and onComplete callbacks to query options.
onError and onComplete callbacks to query options.typedOptimisticResult as an typed alternative to optimistcResult- Update dev deps.
Cache schema parsing, further improving performance.
- Improve performance a bit.
Provide default typename parameter to constructor
- Support schema extensions.
Fix bug in generating wrong json methods.
Fix absolute output dir paths on windows.
Add built-in types to keywords.
- Add custom enums.
Update SDK version and required code-builder version.
Remove operation definitions without name before codegen.
Fix missing serializers for concrete types on fragments
- Bump gql versions - Fix naming separator issue
Fix broken toJson on fragment spreads.
toJson on fragment spreads.Fix enum serialization with keywords.
Expose methods for graphql_switch
.gql file-extensiongraphql_switchDateTimedouble conversion.json_serializablenull-handling.- Support .gql file-extension
.gql file-extensionExpose methods for graphql_switch
graphql_switch- Inline GraphQL Config
Fix deep copy on nested objects
Add custom support for DateTime
DateTimedouble conversion.- Simplify input classes
Remove dependency on json_serializable
json_serializablenull-handling.Fix add deep copy functionality to input objects.
- Fix operation name collision
- Fix lint
Your coding agent can read these notes before it upgrades. Set up the MCP server →