gql_code_builder
Dart code builders taking *.graphql documents and SDL to build useful classes.
0.15.2
333K downloads/mo
#645 most downloaded on pub.dev
gql-dart/gql
What this package is like to depend on
Last release 2 months ago
17 Jun 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 33 of 38 stable releases
4 versions withdrawn
withdrawn after publishing
7 years old
212 releases · first in 2020
5 releases in the last 12 months
see the full history below
Release timeline
212 releases · Jan 2020 to Jun 2026Releases
latest 60 of 212-
0.15.217 Jun 2026Release notes
Open source →-
Support analyzer 13 while keeping analyzer 9 as the minimum supported version.
-
FEAT: support analyzer 9.x and 10.x (#505).
2025-09-20
Changes
Packages with breaking changes:
Packages with other changes:
gql-v1.0.1gql_build-v0.13.1gql_code_builder-v0.15.1gql_exec-v1.1.0gql_http_link-v1.2.0gql_link-v1.1.0gql_pedantic-v1.2.0gql_tristate_value-v1.1.0gql_websocket_link-v2.1.0gql_code_builder_serializers-v0.1.0+1gql_transform_link-v1.0.1gql_error_link-v1.0.1
Packages with dependency updates only:
Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
gql_code_builder_serializers-v0.1.0+1gql_transform_link-v1.0.1gql_error_link-v1.0.1
Release notes
Open source →-
Support analyzer 13 while keeping analyzer 9 as the minimum supported version.
-
FEAT: support analyzer 9.x and 10.x (#505).
-
-
0.15.120 Sep 2025Release notes
Open source →- FIX: vars_create_factories handle BuiltList type (#447).
- FIX(gql_code_builder): Fixing nullables and type overrides for vars create factories (#444).
- FIX(gql_code_builder): add void return to builder param function type (#431).
- FIX: value should be non-null (#428).
- FIX(gql_code_builder): improve variable resolution in fragment types (#382).
- FIX(gql_codegen): Proper field selector recursion on InlineFragments for Interface-extended Types and Typed FragmentSpreads (#373).
- FIX: escape reserved dart names for references (#335).
- FIX(gql_code_builder): properly generate nullable types for nullable elements in lists (#363).
- FIX(gql_code_builder): add typename to possibletypesmap to generate t… (#353).
- FIX(gql_code_builder): add @override annotation.
- FEAT: deferred allocator pattern and configurable formatting support.
- FEAT: allow distinguishing between null and absent values in gql_code_builder (#381).
- FEAT(gql_code_builder): add when() method to fragment spread classes (#377).
- FEAT: build possible types map.
- DOCS(gql_code_builder): fix typo in changelog.
-
0.15.024 Aug 2025Release notes
Open source →- BREAKING: Remove allocator parameter from public APIs - allocation is now deferred using Code.scope
- Use Code.scope pattern for deferred type allocation
- Improves separation of concerns between code generation and import management
-
0.14.014 Apr 2025 -
0.13.420 Apr 2026Nothing published for this version
-
0.13.320 Apr 2026Nothing published for this version
-
0.13.215 Dec 2025Nothing published for this version
-
0.13.127 Jan 2025Release notes
Open source →- FIX(gql_code_builder): Fixing nullables and type overrides for vars create factories (#444).
- FIX(gql_code_builder): properly generate nullable types for nullable elements in lists (#363).
- FEAT: deferred allocator pattern and configurable formatting support (#495).
- FEAT: deferred allocator pattern and configurable formatting support.
- FEAT: allow distinguishing between null and absent values in gql_code_builder (#381).
- FEAT(gql_code_builder): add when() method to fragment spread classes (#377).
- FEAT: build possible types map.
-
0.13.002 Aug 2024 -
0.12.1-alpha+171552107956012 May 2024 pre-releaseNothing published for this version
-
0.12.019 May 2024Release notes
Open source →- Moving built-in Serializers to gql_code_builder_serializers package, so so don't have to depend on gql_code_builder in dependencies, and can keep it as dev-dependency (#456)
-
0.11.1-alpha+170984549149707 Mar 2024 pre-releaseNothing published for this version
-
0.11.007 Mar 2024Release notes
Open source →- Adding option to create factory initializers with required parameters also for inputs (#585)
-
0.10.1-alpha+170511393217213 Jan 2024 pre-releaseNothing published for this version
-
0.10.1-alpha+170511462302813 Jan 2024 pre-releaseNothing published for this version
-
0.10.1-alpha+170637232782627 Jan 2024 pre-releaseNothing published for this version
-
0.10.1-alpha+170819545157317 Feb 2024 pre-releaseNothing published for this version
-
0.10.1-alpha+170871804932923 Feb 2024 pre-releaseNothing published for this version
-
0.10.1-alpha+170967073359805 Mar 2024 pre-releaseNothing published for this version
-
0.10.013 Jan 2024Release notes
Open source →- Adding 'vars_create_factories' option to create factory initializers with required parameters ( #434)
-
0.9.3-alpha+170510610858113 Jan 2024 pre-release withdrawnNothing published for this version
-
0.9.3-alpha+170510626861813 Jan 2024 pre-release withdrawnNothing published for this version
-
0.9.213 Jan 2024 withdrawnNothing published for this version
-
0.9.2-alpha+169981381271412 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+169981675404612 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+169981984708312 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+169982000352812 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+169983245358212 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+170034994146718 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+170086821461424 Nov 2023 pre-releaseNothing published for this version
-
0.9.2-alpha+170411813746901 Jan 2024 pre-releaseNothing published for this version
-
0.9.2-alpha+170497694788411 Jan 2024 pre-releaseNothing published for this version
-
0.9.2-alpha+170499900694511 Jan 2024 pre-releaseNothing published for this version
-
0.9.112 Nov 2023Nothing published for this version
-
0.9.1+112 Nov 2023 -
0.9.1-alpha+169981003904212 Nov 2023 pre-releaseNothing published for this version
-
0.9.1-alpha+169981367178712 Nov 2023 pre-releaseNothing published for this version
-
0.9.012 Nov 2023 withdrawnRelease notes
Open source →- add TriStateValueConfig option in order to wrap nullable fields in input types in a
Valueclass in order distinguish between three cases:- absent
- null
- non-null value in serialization
- add TriStateValueConfig option in order to wrap nullable fields in input types in a
-
0.8.1-alpha+169194339463613 Aug 2023 pre-releaseNothing published for this version
-
0.8.1-alpha+169671734397807 Oct 2023 pre-releaseNothing published for this version
-
0.8.1-alpha+169973374268911 Nov 2023 pre-releaseNothing published for this version
-
0.8.1-alpha+169973391813111 Nov 2023 pre-releaseNothing published for this version
-
0.8.1-alpha+169973415155211 Nov 2023 pre-releaseNothing published for this version
-
0.8.013 Aug 2023Release notes
Open source →- add experimental
DataClassConfigoption to reuse data classes when a selection set only consists of a single fragment spread
- add experimental
-
0.7.3-alpha+168149166637714 Apr 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+168166590788016 Apr 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+168167292321316 Apr 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+168271529137528 Apr 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+168624052660708 Jun 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+168624065607408 Jun 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+169012125303523 Jul 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+169012357226623 Jul 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+169012519947523 Jul 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+169047983103527 Jul 2023 pre-releaseNothing published for this version
-
0.7.3-alpha+169194284373313 Aug 2023 pre-releaseNothing published for this version
-
0.7.228 Apr 2023 -
0.7.2-alpha+167675498094018 Feb 2023 pre-releaseNothing published for this version
-
0.7.2-alpha+167744126432626 Feb 2023 pre-releaseNothing published for this version
-
0.7.2-alpha+168139673791813 Apr 2023 pre-releaseNothing published for this version
-
0.7.118 Feb 2023Release notes
Open source →- experimental support for when/maybeWhen methods in inline spread fragments with type condition
- fix issue with generating fragment classes with variables, see https://github.com/gql-dart/ferry/issues/484