Skip to content

Releases: 99designs/gqlgen

v0.17.88

09 Mar 00:10
22e9739

Choose a tag to compare

What's Changed

  • Add nested batch resolver tests and documentation to batchresolver example by @dpulpeiro in #4043
  • Fix panic in unmarshalling null to non-nullable bound type by @deitrix in #4055
  • Fixes a bug that causes excessive pruning by @AdallomRoy in #4054
  • Missing config options in gqlgen.schema.json by @atzedus in #4045
  • feat: support @gofield(batch: true) directive by @dpulpeiro in #4040
  • Remove duplicated buildField batch flag block by @dpulpeiro in #4057
  • feat: add incremental code generation for follow-schema layout by @jhonDoe15 in #4042
  • chore(deps): bump dawidd6/action-download-artifact from 14 to 15 by @dependabot[bot] in #4037
  • chore(deps): bump devops-actions/actionlint from 0.1.10 to 0.1.11 by @dependabot[bot] in #4036
  • chore(deps-dev): bump @apollo/client from 4.1.4 to 4.1.5 in /integration by @dependabot[bot] in #4035
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.2.2 to 5.2.3 in /integration by @dependabot[bot] in #4034
  • chore(deps): bump github.com/sosodev/duration from 1.3.1 to 1.4.0 by @dependabot[bot] in #4032
  • chore(deps-dev): bump @graphql-codegen/cli from 6.1.1 to 6.1.2 in /integration by @dependabot[bot] in #4033
  • chore(deps-dev): bump rollup from 4.56.0 to 4.59.0 in /integration in the npm_and_yarn group across 1 directory by @dependabot[bot] in #4039
  • chore(deps): bump github.com/urfave/cli/v3 from 3.6.2 to 3.7.0 by @dependabot[bot] in #4046
  • chore(deps-dev): bump @apollo/client from 4.1.5 to 4.1.6 in /integration by @dependabot[bot] in #4048
  • chore(deps): bump mikepenz/action-junit-report from 6.2.0 to 6.3.1 by @dependabot[bot] in #4049
  • chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0 by @dependabot[bot] in #4050
  • chore(deps): bump dawidd6/action-download-artifact from 15 to 16 by @dependabot[bot] in #4051
  • chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #4052
  • chore(deps-dev): bump graphql from 16.12.0 to 16.13.0 in /integration by @dependabot[bot] in #4047
  • chore(deps): bump immutable from 3.7.6 to 5.1.5 in /integration in the npm_and_yarn group across 1 directory by @dependabot[bot] in #4058

New Contributors

Full Changelog: v0.17.87...v0.17.88

v0.17.87

19 Feb 14:14
07f16e5

Choose a tag to compare

What's Changed

  • refactor: fix modernize.slicescontains lint issues by @alexandear in #4004
  • refactor(codegen): use graphql.Config type by @tomoikey in #4017
  • feat(forceGenerate): forceGenerate argument added for @gofield directive by @atzedus in #4012
  • feat(config): add batch flag to TypeMapField by @tomoikey in #4005
  • feat(codegen): add Batch flag to Field struct (blocked by #4005) by @tomoikey in #4006
  • feat(resolvergen): add batch resolver stub generation (blocked by #4006) by @tomoikey in #4007
  • feat(exec): batch-only resolver generation (blocked by #4007) by @tomoikey in #4008
  • refactor(codegen): add graphql.ExecutableSchemaState as shared schema dependency holder by @tomoikey in #4023
  • federation: apply OBJECT-level directives to entity resolvers by @ravisastryk in #4021
  • Refactor slice marshaling to use MarshalSliceConcurrently helper. fixes #4018 by @advoretsky in #4019
  • refactor(codegen) move executionContext into static go file by @tomoikey in #4024
  • fix: run go generate ./... & golangci-lint run --fix by @tomoikey in #4026
  • test(graphql): implement test codes for execution_context struct by @tomoikey in #4028
  • Update to Go 1.25 Minimum now that Go 1.26 is out by @StevenACoffman in #4027
  • Bugfix/2281 directive hook fix by @parkerroan in #4029
  • Update gqlparser to v2.5.32 by @StevenACoffman in #4030
  • chore(deps-dev): bump @graphql-codegen/cli from 6.1.0 to 6.1.1 in /integration by @dependabot[bot] in #3991
  • chore(deps-dev): bump @apollo/client from 4.0.11 to 4.0.12 in /integration by @dependabot[bot] in #3992
  • chore(deps-dev): bump @apollo/client from 4.0.12 to 4.1.0 in /integration by @dependabot[bot] in #3993
  • chore(deps-dev): bump vitest from 4.0.16 to 4.0.17 in /integration by @dependabot[bot] in #3995
  • chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.4.0 to 2.5.0 in /_examples by @dependabot[bot] in #3996
  • chore(deps): bump github.com/urfave/cli/v3 from 3.6.1 to 3.6.2 by @dependabot[bot] in #3997
  • chore(deps): bump actions/setup-go from 6.1.0 to 6.2.0 by @dependabot[bot] in #3999
  • chore(deps): bump actions/setup-node from 6.1.0 to 6.2.0 by @dependabot[bot] in #4000
  • chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.4.0 to 2.5.0 by @dependabot[bot] in #3994
  • chore(deps): bump lodash from 4.17.21 to 4.17.23 in /integration in the npm_and_yarn group across 1 directory by @dependabot[bot] in #4002
  • chore(deps-dev): bump @apollo/client from 4.1.0 to 4.1.2 in /integration by @dependabot[bot] in #4009
  • chore(deps-dev): bump vitest from 4.0.17 to 4.0.18 in /integration by @dependabot[bot] in #4010
  • chore(deps): bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #4011
  • chore(deps-dev): bump @apollo/client from 4.1.2 to 4.1.3 in /integration by @dependabot[bot] in #4013
  • chore(deps): bump dawidd6/action-download-artifact from 12 to 14 by @dependabot[bot] in #4016
  • chore(deps-dev): bump graphql-ws from 6.0.6 to 6.0.7 in /integration by @dependabot[bot] in #4014
  • chore(deps): bump mikepenz/action-junit-report from 6.1.0 to 6.2.0 by @dependabot[bot] in #4015
  • chore(deps-dev): bump @apollo/client from 4.1.3 to 4.1.4 in /integration by @dependabot[bot] in #4020
  • chore(deps): bump golang.org/x/tools from 0.40.0 to 0.41.0 by @dependabot[bot] in #3998

New Contributors

Full Changelog: v0.17.86...v0.17.87

v0.17.86

12 Jan 01:28
4079e8d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.17.85...v0.17.86

v0.17.85

17 Dec 02:21
763f5a2

Choose a tag to compare

What's Changed

  • Optional json marshallers generation by @PaulVasilenko in #3940
  • Add functional options to control complexity calculation by @vibridi in #3939
  • feat(resolveField): allow field middlewares to return a marshaler directly by @lbarthon in #3928
  • fix(introspection): support @deprecated directive on field arguments by @AlexanderArvidsson in #3949
  • feat(codegen): allow users to manually extend GraphQL unions by @lbarthon in #3945
  • fix(codegen): correctly unmarshal slice of input object mapped to map… by @rodcorsi in #3954
  • chore(deps): bump github.com/goccy/go-yaml from 1.18.0 to 1.19.0 in /_examples by @dependabot[bot] in #3941
  • chore(deps): bump github.com/goccy/go-yaml from 1.18.0 to 1.19.0 by @dependabot[bot] in #3942
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.2.0 to 5.2.1 in /integration by @dependabot[bot] in #3944
  • chore(deps-dev): bump vitest from 4.0.13 to 4.0.14 in /integration by @dependabot[bot] in #3943
  • chore(deps-dev): bump vitest from 4.0.14 to 4.0.15 in /integration by @dependabot[bot] in #3956
  • chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #3957
  • chore(deps): bump actions/setup-node from 6.0.0 to 6.1.0 by @dependabot[bot] in #3958
  • chore(deps): bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #3959
  • chore(deps): bump robherley/go-test-action from 0.6.0 to 0.7.1 by @dependabot[bot] in #3969
  • chore(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 by @dependabot[bot] in #3968
  • chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 in /_examples by @dependabot[bot] in #3967
  • chore(deps): bump google.golang.org/protobuf from 1.36.10 to 1.36.11 by @dependabot[bot] in #3963
  • chore(deps-dev): bump @apollo/client from 4.0.9 to 4.0.10 in /integration by @dependabot[bot] in #3962
  • chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by @dependabot[bot] in #3965
  • chore(deps): bump golang.org/x/tools from 0.39.0 to 0.40.0 by @dependabot[bot] in #3964

New Contributors

Full Changelog: v0.17.84...v0.17.85

v0.17.84

24 Nov 16:56
77969f8

Choose a tag to compare

What's Changed

  • change interface embedding from config to directive by @PaulVasilenko in #3911
  • Migrate from archived go-yaml to goccy/go-yaml by @irubey in #3913
  • fix: replace deprecated ec.Errorf with graphql.AddErrorf in code gene… by @vinodhalaharvi in #3923
  • fix(complexity): fieldComplexity calculation override allows reducing score by @mahboubii in #3909
  • feat: add @inlineArguments directive for cleaner resolver signatures by @irubey in #3924
  • Update docs to use go 1.24 tool dependencies instead of internal/tools.go pattern by @deitrix in #3741
  • Lint config changes by @StevenACoffman in #3926
  • chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 in /integration in the npm_and_yarn group across 1 directory by @dependabot[bot] in #3914
  • chore(deps): bump golang.org/x/text from 0.30.0 to 0.31.0 in /_examples by @dependabot[bot] in #3915
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.1.1 to 5.1.3 in /integration by @dependabot[bot] in #3917
  • chore(deps): bump github.com/urfave/cli/v3 from 3.6.0 to 3.6.1 by @dependabot[bot] in #3920
  • chore(deps-dev): bump vitest from 4.0.8 to 4.0.9 in /integration by @dependabot[bot] in #3922
  • chore(deps-dev): bump @graphql-codegen/cli from 6.0.1 to 6.0.2 in /integration by @dependabot[bot] in #3921
  • chore(deps): bump golang.org/x/text from 0.30.0 to 0.31.0 by @dependabot[bot] in #3919
  • chore(deps): bump golang.org/x/tools from 0.38.0 to 0.39.0 by @dependabot[bot] in #3916
  • chore(deps): bump github.com/PuerkitoBio/goquery from 1.10.3 to 1.11.0 by @dependabot[bot] in #3918
  • chore(deps): bump golang.org/x/crypto from 0.35.0 to 0.45.0 in /_examples/mini-habr-with-subscriptions in the go_modules group across 1 directory by @dependabot[bot] in #3929
  • chore(deps): bump devops-actions/actionlint from 0.1.9 to 0.1.10 by @dependabot[bot] in #3937
  • chore(deps): bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #3936
  • chore(deps): bump golangci/golangci-lint-action from 9.0.0 to 9.1.0 by @dependabot[bot] in #3934
  • chore(deps): bump actions/setup-go from 6.0.0 to 6.1.0 by @dependabot[bot] in #3935
  • chore(deps-dev): bump vitest from 4.0.9 to 4.0.13 in /integration by @dependabot[bot] in #3933
  • chore(deps-dev): bump @graphql-codegen/cli from 6.0.2 to 6.1.0 in /integration by @dependabot[bot] in #3932

New Contributors

Full Changelog: v0.17.83...v0.17.84

v0.17.83

11 Nov 02:05
9be3db0

Choose a tag to compare

What's Changed

  • chore(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 in /_examples by @dependabot[bot] in #3901
  • chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #3903
  • chore(deps-dev): bump vitest from 4.0.6 to 4.0.8 in /integration by @dependabot[bot] in #3904
  • chore(deps): bump mikepenz/action-junit-report from 6.0.0 to 6.0.1 by @dependabot[bot] in #3902
  • chore(deps): bump github.com/urfave/cli/v3 from 3.5.0 to 3.6.0 by @dependabot[bot] in #3905
  • Set default config value properly when DefaultConfig isn't used by @PaulVasilenko in #3907

Full Changelog: v0.17.82...v0.17.83

v0.17.82

07 Nov 01:29
e10ac92

Choose a tag to compare

What's Changed

  • [NEW] perf: Optimize CollectFields calculation for non-primitive array fields by @tomoikey in #3874
  • Added WithApolloSandboxJs option by @UnAfraid in #3855
  • Cleanup apollo sandbox sri update tool by @UnAfraid in #3857
  • fix(modelgen): use ToGoModelName instead of ToGo for model fields by @lbarthon in #3865
  • doc: small docs correction about 'entity_resolver_multi' by @atzedus in #3867
  • Updated GraphiQL to version 4 by @UnAfraid in #3866
  • Add support for embedded structs by @adrianlungu in #3242
  • Update github.com/vektah/gqlparser/v2@v2.5.31 by @StevenACoffman in #3888
  • Updated github.com/urfave/cli to v3.5.0 by @UnAfraid in #3889
  • Embedded base types for interfaces: support external types embedding, transitional embedding of repeated fields by @PaulVasilenko in #3885
  • Add nolint to avoid static check deprecation lint failure by @StevenACoffman in #3890
  • Set Executor DispatchOperation inner context to default to avoid nil pointer in InterceptOperation extensions by @StevenACoffman in #3895
  • fix(modelgen): use ToGoModelName in generateGetters by @lbarthon in #3894
  • Adjust permissions for Nancy to avoid spurious failures by @StevenACoffman in #3897
  • fix: allow error presenter to silence errors by @lbarthon in #3896
  • feat(time): enhance time handling marshalling and unmarshalling by @rodneyosodo in #3898
  • chore(deps-dev): bump @apollo/client from 4.0.5 to 4.0.6 in /integration by @dependabot[bot] in #3858
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.0.0 to 5.0.1 in /integration by @dependabot[bot] in #3850
  • chore(deps): bump mikepenz/action-junit-report from 5.6.2 to 6.0.0 by @dependabot[bot] in #3873
  • chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0 in /_examples by @dependabot[bot] in #3872
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.0.1 to 5.1.0 in /integration by @dependabot[bot] in #3870
  • chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0 by @dependabot[bot] in #3871
  • chore(deps-dev): bump @apollo/client from 4.0.6 to 4.0.7 in /integration by @dependabot[bot] in #3861
  • chore(deps-dev): bump typescript from 5.9.2 to 5.9.3 in /integration by @dependabot[bot] in #3860
  • chore(deps): bump google.golang.org/protobuf from 1.36.9 to 1.36.10 by @dependabot[bot] in #3859
  • chore(deps-dev): bump vite from 7.1.5 to 7.1.11 in /integration in the npm_and_yarn group across 1 directory by @dependabot[bot] in #3876
  • chore(deps-dev): bump vitest from 3.2.4 to 4.0.3 in /integration by @dependabot[bot] in #3880
  • chore(deps-dev): bump @graphql-codegen/client-preset from 5.1.0 to 5.1.1 in /integration by @dependabot[bot] in #3878
  • chore(deps): bump golang.org/x/tools from 0.37.0 to 0.38.0 by @dependabot[bot] in #3869
  • chore(deps-dev): bump vitest from 3.2.4 to 4.0.3 in /_examples/federation by @dependabot[bot] in #3883
  • chore(deps-dev): bump graphql-sse from 2.5.4 to 2.6.0 in /integration by @dependabot[bot] in #3882
  • chore(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by @dependabot[bot] in #3881
  • chore(deps-dev): bump @graphql-codegen/cli from 6.0.0 to 6.0.1 in /integration by @dependabot[bot] in #3879
  • chore(deps-dev): bump @apollo/client from 4.0.7 to 4.0.9 in /integration by @dependabot[bot] in #3892
  • chore(deps-dev): bump vitest from 4.0.3 to 4.0.6 in /integration by @dependabot[bot] in #3893
  • chore(deps-dev): bump graphql from 16.11.0 to 16.12.0 in /integration by @dependabot[bot] in #3891
  • chore(deps): bump actions/setup-node from 5.0.0 to 6.0.0 by @dependabot[bot] in #3875

New Contributors

Full Changelog: v0.17.81...v0.17.82

v0.17.81

25 Sep 23:00
4ded4eb

Choose a tag to compare

What's Changed

  • Fix a high severity CSRF vulnerability in the Apollo Embedded Sandbox code. This was reported to Apollo last week. Full details here: GHSA-w87v-7w53-wwxv. Fixes #3847 in next two items
  • Add tool for updating Apollo Sandbox by @StevenACoffman in #3848
  • remove trailing duplicate script in apollo playground embedd by @opensaucerer in #3849
  • feat: new federation.options.entity_resolver_multi option by @atzedus in #3852

New Contributors

Full Changelog: v0.17.80...v0.17.81

v0.17.80

17 Sep 16:13

Choose a tag to compare

What's Changed

  • Fix context not being captured for field directives by @dloukadakis in #3843
  • Test propagating context to resolvers from directive by @g1ntas in #3842

New Contributors

Full Changelog: v0.17.79...v0.17.80

v0.17.79

14 Sep 19:35
d83cd09

Choose a tag to compare

What's Changed

  • Added new Maintainer @UnAfraid 🥳
  • Add server GraphQL rules customization by @StevenACoffman in #3779
  • Fixed benchmark not awaiting dispatched operation by @UnAfraid in #3781
  • Better duration documentation by @StevenACoffman in #3812
  • Documentation of the Omittable type by @evellior in #3813
  • fix: handle nil-return from field hooks to omit a field from code generation by @7opf in #3814
  • Add Support For All SIgned and Unsigned Integers by @rodneyosodo in #3787
  • Updated federation integration tests by @UnAfraid in #3829
  • Updated integration tests by @UnAfraid in #3831
  • fix generating enum maps for slices by @adamgonen in #3830
  • Move field generated code to graphql package by @dloukadakis in #3832
  • Drop support for Go 1.23 and Add support for Go 1.25 by @StevenACoffman in #3833
  • Pin GitHub Actions to SHA1 with human readable comments for security, lint actions by @StevenACoffman in #3834
  • Fix test coverage script by @StevenACoffman in #3838
  • Try alternative coverage package include/exclude by @StevenACoffman in #3839
  • chore(deps-dev): bump @apollo/client from 3.13.8 to 3.13.9 in /integration by @dependabot[bot] in #3783
  • chore(deps): bump @apollo/server from 4.12.2 to 5.0.0 in /_examples/federation by @dependabot[bot] in #3785
  • chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 in /integration by @dependabot[bot] in #3786
  • chore(deps-dev): bump vite from 7.0.4 to 7.0.6 in /integration by @dependabot[bot] in #3782
  • chore(deps-dev): bump graphql-ws from 6.0.5 to 6.0.6 in /integration by @dependabot[bot] in #3784
  • chore(deps-dev): bump vite from 7.0.6 to 7.1.1 in /integration by @dependabot[bot] in #3790
  • chore(deps-dev): bump urql from 4.2.2 to 5.0.0 in /integration by @dependabot[bot] in #3791
  • chore(deps): bump the npm_and_yarn group in /integration with 2 updates by @dependabot[bot] in #3793
  • chore(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 in /_examples by @dependabot[bot] in #3792
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #3795
  • chore(deps-dev): bump vite from 7.1.1 to 7.1.2 in /integration by @dependabot[bot] in #3797
  • chore(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 by @dependabot[bot] in #3796
  • chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.7 by @dependabot[bot] in #3799
  • chore(deps): bump the go_modules group across 3 directories with 1 update by @dependabot[bot] in #3801
  • chore(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0 by @dependabot[bot] in #3798
  • chore(deps-dev): bump vite from 7.1.2 to 7.1.3 in /integration by @dependabot[bot] in #3804
  • chore(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.8 by @dependabot[bot] in #3807
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 in /_examples by @dependabot[bot] in #3806
  • chore(deps): bump @apollo/client from 3.14.0 to 4.0.0 in /_examples/chat by @dependabot[bot] in #3809
  • chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #3808
  • chore(deps-dev): bump vite from 7.1.3 to 7.1.5 in /integration by @dependabot[bot] in #3823
  • chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #3826
  • chore(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #3827
  • chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 in /_examples by @dependabot[bot] in #3815
  • chore(deps-dev): bump @graphql-codegen/schema-ast from 4.1.0 to 5.0.0 in /integration by @dependabot[bot] in #3822
  • chore(deps-dev): bump @graphql-codegen/cli from 5.0.7 to 6.0.0 in /integration by @dependabot[bot] in #3818
  • chore(deps-dev): bump @graphql-codegen/introspection from 4.0.3 to 5.0.0 in /integration by @dependabot[bot] in #3820
  • chore(deps): bump golang.org/x/text from 0.28.0 to 0.29.0 in /_examples by @dependabot[bot] in #3817
  • chore(deps): bump golang.org/x/text from 0.28.0 to 0.29.0 by @dependabot[bot] in #3821
  • chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #3819
  • chore(deps-dev): bump @apollo/client from 4.0.4 to 4.0.5 in /integration by @dependabot[bot] in #3837
  • chore(deps): bump google.golang.org/protobuf from 1.36.8 to 1.36.9 by @dependabot[bot] in #3835
  • chore(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0 by @dependabot[bot] in #3836

New Contributors

Full Changelog: v0.17.78...v0.17.79