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
Fix not generating Operations with single fragment
outputDirectory.outputDirectory for generated outputs..copyWith by removing functions.- Feat Support global output dir
One column per quarter.
Fix not generating Operations with single fragment
- Fixes broken paths on windows
Fixes broken imports when specifying the outputDirectory.
outputDirectory.Allow specifying outputDirectory for generated outputs.
outputDirectory for generated outputs.BREAKING: Improve .copyWith by removing functions.
.copyWith by removing functions.BREAKING: Inline fragments; We're now inligning fragments to reduce the number of boilerplate classes generated.
BREAKING: Fix bad name of generated documentNode.
documentNode.extraKeywords.copyWith to input classesFix bad name of generated documentNode.
documentNode.Introduce ability to specify custom extraKeywords.
extraKeywords.Introduce naming separator configuration
- Add copyWith to input classes
copyWith to input classesFix errors when fragment variables are enums
- Update docs - Change naming strategy
- Update docs
Remove useless extend of JsonSerializable
JsonSerializableStricten the analysis: Gotta get them points.
Feat: Support not including null values on input serializers
copyWith method.toJson.== operator and hashCode getter on all JSONSerializable classes.GQL and GQLF prefixes.parserFn externallyonCompleted.Feat: Support not including null values on input serializers
Feat: Add utility extension containing copyWith method.
copyWith method.toJson.Fix: Import nested fragments and create DocumentNode for fragments
Fix: Don't generate cache methods for nested fragments
- Generate fragment variables
Generate cache write/read methods
Support scopes for multiple schemas
Upgrade dependencies (Including analyzer!)
== operator and hashCode getter on all JSONSerializable classes.- Improve scalar converters
- Improve hook options
- Change property naming scheme
Rename classes. Remove GQL and GQLF prefixes.
GQL and GQLF prefixes.- Feat: Build hooks!
Fix: Fresh referene on onCompleted.
parserFn externallyonCompleted.Support subscription in clients.
generatedFileHeader.graphql: 5.0.1-beta.4.- Support generatedFileHeader.
generatedFileHeader.- Upgrade graphql.
graphql.Support subscription in clients.
Use parserFn introduced in graphql: 5.0.1-beta.4.
graphql: 5.0.1-beta.4.Support addTypename transformation: Automatically add __typename to operations.
addTypename transformation: Automatically add __typename to operations.addTypename per defaultassetPath config option.__typename.Allow excluding selection-sets from getting added __typename.
__typename.Allow for customisable asset path through the assetPath config option.
assetPath config option.- Enable addTypename per default
addTypename per defaultDowngrade gql version to work with graphql
Support addTypename transformation: Automatically add __typename to operations.
Support addTypename transformation: Automatically add __typename to operations.
Update dependencies
Update dependencies
Docs: Add blog posts to README
Docs: Add blog posts to README
Fix: Recursively build possible types
Fix: Recursively build possible types
Fix bug that generated wrong path separators on Windows.
Fix bug that generated wrong path separators on Windows.
Fix bug in abstract fragment spread with concrete spread on concrete type.
Fix bug in abstract fragment spread with concrete spread on concrete type.
Fix bug in fragments
Fix bug in fragments
Add watchQuery helpers.
Add watchQuery helpers.
Further improve consequtive fragment spreads, can it get any crazier!
Further improve consequtive fragment spreads, can it get any crazier!
Support fragment spread after overlapping keys.
Support fragment spread after overlapping keys.
Fix import of unused fragments and add right interfaces on fragment spread
Fix import of unused fragments and add right interfaces on fragment spread
Support arbitrary type conditions on fragment spreads
Support arbitrary type conditions on fragment spreads
Replace POSSIBLE_TYPE_OF_MAP with the inverse POSSIBLE_TYPES_MAP
Replace POSSIBLE_TYPE_OF_MAP with the inverse POSSIBLE_TYPES_MAP
Fix bug in introspection access on union types
Fix bug in introspection access on union types
Print a POSSIBLE_TYPE_OF_MAP containing type inheritence information.
Print a POSSIBLE_TYPE_OF_MAP containing type inheritence information.
Improved interface/union fragment spread inside fragment on type.
Improved interface/union fragment spread inside fragment on type.
Support fragment inheritence
Support fragment inheritence
Your coding agent can read these notes before it upgrades. Set up the MCP server →