Releases: 99designs/gqlgen
v0.17.57
What's Changed
- Allow preserve_resolver config to work for layout follow schema by @StevenACoffman in #3361
- chore(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 in /_examples by @dependabot in #3368
- chore(deps): bump golang.org/x/text from 0.19.0 to 0.20.0 in /_examples by @dependabot in #3369
- chore(deps-dev): bump urql from 4.2.0 to 4.2.1 in /integration by @dependabot in #3365
- chore(deps-dev): bump @apollo/client from 3.11.8 to 3.11.9 in /integration by @dependabot in #3363
- chore(deps-dev): bump vite from 5.4.10 to 5.4.11 in /integration by @dependabot in #3364
- Improve transport.Post Do method by @lkeix in #3373
- add
worker_limit
option for server code generation by @OldBigBuddha in #3376 - chore(deps-dev): bump @apollo/client from 3.11.9 to 3.11.10 in /integration by @dependabot in #3379
- chore(deps-dev): bump vitest from 2.1.4 to 2.1.5 in /integration by @dependabot in #3378
- chore(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2 by @dependabot in #3377
- websocket subscribe missing header bugfix by @jeremylaier-tc in #3383
- Fix missing boundary when MultipartMixed transport aggregates initial and deferred response by @phughes-scwx in #3382
- Update field collection to allow inline fragment without type by @phughes-scwx in #3384
New Contributors
- @lkeix made their first contribution in #3373
- @OldBigBuddha made their first contribution in #3376
- @jeremylaier-tc made their first contribution in #3383
- @phughes-scwx made their first contribution in #3382
Full Changelog: v0.17.56...v0.17.57
v0.17.56
What's Changed
- Add Preserve rewrite Config to Opt-out of breaking change to single-file resolver always rewriting by @StevenACoffman in #3359
- chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 by @dependabot in #3318
- chore(deps): bump golang.org/x/text from 0.18.0 to 0.19.0 in /_examples by @dependabot in #3314
- chore(deps-dev): bump vitest from 2.1.1 to 2.1.2 in /integration by @dependabot in #3315
- chore(deps): bump golang.org/x/text from 0.18.0 to 0.19.0 by @dependabot in #3317
- feat: Embed template for root file generation by @barr-code in #3319
- chore(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1 by @dependabot in #3323
- chore(deps): bump github.com/urfave/cli/v2 from 2.27.4 to 2.27.5 by @dependabot in #3322
- chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 by @dependabot in #3324
- chore(deps-dev): bump @graphql-codegen/cli from 5.0.2 to 5.0.3 in /integration by @dependabot in #3326
- chore(deps-dev): bump typescript from 5.6.2 to 5.6.3 in /integration by @dependabot in #3325
- fix: Ensure that nil http responses don't cause issues by @df-wg in #3329
- refactor graphql.NoCache. use string type keys by @adomaskizogian in #3332
- chore(deps): bump github.com/vektah/gqlparser/v2 from 2.5.17 to 2.5.18 in /_examples by @dependabot in #3336
- chore(deps-dev): bump urql from 4.1.0 to 4.2.0 in /integration by @dependabot in #3338
- chore(deps-dev): bump vitest from 2.1.2 to 2.1.3 in /integration by @dependabot in #3337
- chore(deps-dev): bump vite from 5.4.8 to 5.4.9 in /integration by @dependabot in #3339
- chore(deps): bump github.com/vektah/gqlparser/v2 from 2.5.17 to 2.5.18 by @dependabot in #3340
multipart/mixed
transport support for deferred queries by @giulio-opal in #3341- print response.Data before panicking when invalid by @vbmithr in #3334
- Migrate mapstructure package to maintained fork by @utgwkk in #3343
- refactor: simplify the Packages.Errors implementation by @alexandear in #3344
- refactor: use fmt.Sprintf for better readability by @alexandear in #3345
- Fix union queries not working in @requires by @rickbijkerk in #3347
- chore(deps-dev): bump vite from 5.4.9 to 5.4.10 in /integration by @dependabot in #3346
- feat: add possibility to configure client target by @taraktikos in #3349
- chore: add test for client with custom target by @taraktikos in #3350
- fix op to rc in comment of FieldContext.Child by @s-ichikawa in #3333
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.4.0 to 4.5.0 in /integration by @dependabot in #3352
- chore(deps): bump mikepenz/action-junit-report from 4.3.1 to 5 by @dependabot in #3354
- chore(deps-dev): bump vitest from 2.1.3 to 2.1.4 in /integration by @dependabot in #3353
- Bump graphiql to 3.7.0 to add support for multipart/mixed incremental field by @giulio-opal in #3356
- Batch
incremental
deferred responses. Fix hanging behavior on last response by @giulio-opal in #3357 - Update to gqlparser v2.5.19 by @StevenACoffman in #3358
New Contributors
- @barr-code made their first contribution in #3319
- @df-wg made their first contribution in #3329
- @adomaskizogian made their first contribution in #3332
- @giulio-opal made their first contribution in #3341
- @vbmithr made their first contribution in #3334
- @utgwkk made their first contribution in #3343
- @rickbijkerk made their first contribution in #3347
- @taraktikos made their first contribution in #3349
Full Changelog: v0.17.55...v0.17.56
v0.17.55
What's Changed
-
Handle common initialisms as the non-first word by @noamcohen97 in #3302
-
Add CSPs to list of common initialisms by @noamcohen97 in #3303
-
Update subscriptions.md by @HaraldNordgren in #3305
-
Call
Unalias()
inIsNilable()
to supportgotypesalias=1
by @noamcohen97 in #3304 -
Update gqlparser to v2.5.17 by @StevenACoffman in #3307
-
chore(deps-dev): bump vite from 5.4.6 to 5.4.7 in /integration by @dependabot in #3296
-
chore(deps): bump rollup from 4.21.0 to 4.22.4 in /integration in the npm_and_yarn group by @dependabot in #3299
-
chore(deps-dev): bump vite from 5.4.7 to 5.4.8 in /integration by @dependabot in #3311
New Contributors
- @noamcohen97 made their first contribution in #3302
- @HaraldNordgren made their first contribution in #3305
Full Changelog: v0.17.54...v0.17.55
v0.17.54
What's Changed
- chore(deps-dev): bump vite from 5.4.5 to 5.4.6 in /integration in the npm_and_yarn group by @dependabot in #3291
- feat: Federation - create @requires integration that functions like a normal resolver by @clayne11 in #3292
Full Changelog: v0.17.53...v0.17.54
v0.17.53
What's Changed
- Revert "Fix marshaling interfaces and union types (#3211)" by @StevenACoffman in #3289
Full Changelog: v0.17.52...v0.17.53
v0.17.52
What's Changed
- chore(deps-dev): bump vite from 5.4.3 to 5.4.5 in /integration by @dependabot in #3280
- chore(deps-dev): bump typescript from 5.5.4 to 5.6.2 in /integration by @dependabot in #3281
- chore(deps-dev): bump vitest from 2.0.5 to 2.1.1 in /integration by @dependabot in #3282
- Revert #3203 change that added Concurrent directive for resolvers by @StevenACoffman in #3287
Full Changelog: v0.17.51...v0.17.52
v0.17.51
What's Changed
- Accept event-stream for POST for urql-graphql by @StevenACoffman in #3276
Full Changelog: v0.17.50...v0.17.51
v0.17.50
What's Changed
- BREAKING: [resolvergen] make rewrite default for single-file mode by @hailyngx in #3243
- chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by @dependabot in #3140
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.2.6 to 4.3.0 in /integration by @dependabot in #3141
- chore(deps-dev): bump graphql from 16.8.1 to 16.8.2 in /integration by @dependabot in #3142
- chore(deps-dev): bump @apollo/client from 3.10.4 to 3.10.5 in /integration by @dependabot in #3143
- chore(deps-dev): bump vite from 5.2.13 to 5.3.1 in /integration by @dependabot in #3144
- feat: Add new plugin signatures by @cliedeman in #2011
- Fix typo in config field names by @alexandear in #3149
- docs: missing 'repeatable' in @goExtraField directive by @alexandear in #3150
- chore(deps-dev): bump ws from 8.16.0 to 8.17.1 in /integration in the npm_and_yarn group by @dependabot in #3147
- Add prettier test results by @StevenACoffman in #3148
- Change report workflow to look for correct test events by @StevenACoffman in #3151
- fix bug: POST transport Insufficient rigorous judgment leads to invalid SSE transport by @o8x in #3153
- chore(deps-dev): bump @apollo/client from 3.10.5 to 3.10.6 in /integration by @dependabot in #3156
- chore(deps): bump mikepenz/action-junit-report from 4.3.0 to 4.3.1 by @dependabot in #3159
- chore(deps-dev): bump graphql from 16.8.2 to 16.9.0 in /integration by @dependabot in #3158
- chore(deps-dev): bump typescript from 5.4.5 to 5.5.2 in /integration by @dependabot in #3157
- chore(deps-dev): bump @graphql-codegen/schema-ast from 4.0.2 to 4.1.0 in /integration by @dependabot in #3167
- chore(deps-dev): bump vite from 5.3.1 to 5.3.2 in /integration by @dependabot in #3166
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.3.0 to 4.3.1 in /integration by @dependabot in #3165
- chore(deps-dev): bump @apollo/client from 3.10.6 to 3.10.8 in /integration by @dependabot in #3164
- chore(deps): bump test-summary/action from 2.3 to 2.4 by @dependabot in #3163
- Nulls are now unmarshalled as zero values for primitive types by @endSly in #3162
- chore(deps): bump github.com/rs/cors from 1.9.0 to 1.11.0 in /_examples/websocket-initfunc/server in the go_modules group across 1 directory by @dependabot in #3171
- chore(deps-dev): bump vite from 5.3.2 to 5.3.3 in /integration by @dependabot in #3173
- chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #3176
- chore(deps-dev): bump typescript from 5.5.2 to 5.5.3 in /integration by @dependabot in #3175
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.3.1 to 4.3.2 in /integration by @dependabot in #3174
- Make cache generic to avoid casting by @sylr in #3179
- chore: Refactor federation.go to make it easier to read by @clayne11 in #3183
- chore(deps-dev): bump vitest from 1.6.0 to 2.0.2 in /integration by @dependabot in #3185
- refactor: significantly clean up the federation.gotpl template by @clayne11 in #3187
- feat: allow argument directives to be called even if the argument is null by @clayne11 in #3188
- Revert "feat: allow argument directives to be called even if the argument is null" by @StevenACoffman in #3191
- chore(deps-dev): bump vitest from 2.0.2 to 2.0.4 in /integration by @dependabot in #3189
- chore(deps-dev): bump vite from 5.3.3 to 5.3.4 in /integration by @dependabot in #3190
- refactor: decrease indentation in api.ReplacePlugin by @alexandear in #3194
- chore: fix typos in comments, tests and unexported vars by @alexandear in #3193
- chore(deps-dev): bump @apollo/client from 3.10.8 to 3.11.2 in /integration by @dependabot in #3210
- chore(deps-dev): bump vitest from 2.0.4 to 2.0.5 in /integration by @dependabot in #3209
- chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 in /_examples by @dependabot in #3206
- chore(deps): bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.3 by @dependabot in #3200
- chore(deps-dev): bump vite from 5.3.4 to 5.3.5 in /integration by @dependabot in #3199
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.3.2 to 4.3.3 in /integration by @dependabot in #3197
- chore(deps-dev): bump typescript from 5.5.3 to 5.5.4 in /integration by @dependabot in #3196
- chore(deps): bump golang.org/x/tools from 0.22.0 to 0.23.0 by @dependabot in #3172
- chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in #3207
- chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 by @dependabot in #3208
- chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 in /_examples by @dependabot in #3221
- chore(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 by @dependabot in #3220
- chore(deps-dev): bump vite from 5.3.5 to 5.4.0 in /integration by @dependabot in #3216
- chore(deps-dev): bump @apollo/client from 3.11.2 to 3.11.4 in /integration by @dependabot in #3215
- chore(deps): bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 by @dependabot in #3217
- Fix marshaling interfaces and union types by @krupyansky in #3211
- [proposal] Add @Concurrent directive for types by @krupyansky in #3203
- chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 by @dependabot in #3218
- chore(deps): bump golang.org/x/tools from 0.23.0 to 0.24.0 by @dependabot in #3219
- Go 1.23 support by @UnAfraid in #3226
- chore(deps-dev): bump vite from 5.4.0 to 5.4.2 in /integration by @dependabot in #3229
- only close websocket once by @wiegell in #3231
- feat: allow argument directives to be called even if the argument is null by @clayne11 in #3233
- refactor: don't extract @gofield twice by @clayne11 in #3234
- chore(deps-dev): bump @apollo/client from 3.11.4 to 3.11.5 in /integration by @dependabot in #3237
- chore(deps): bump github.com/rs/cors from 1.11.0 to 1.11.1 in /_examples by @dependabot in #3236
- chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 by @dependabot in #3235
- codegen: Go 1.23 alias support by @giautm in #3246
- codegen:
Unalias
before lookup type by @giautm in #3247 - internal/code:
Unalias
element of pointer by @giautm in #3250 - chore(deps): bump robherley/go-test-action from 0.4.1 to 0.5.0 by @dependabot in #3255
- chore(deps-dev): bump @apollo/client from 3.11.5 to 3.11.8 in /integration by @dependabot in #3258
- chore(deps-dev): bump vite from 5.4.2 to 5.4.3 in /integration by @dependabot in #3257
- chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 in /_examples by @dependabot in #3256
- chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 by @dependabot in #3259
- Bump golang.org/x/net 0.29 by @StevenACoffman in #3261
- Bump some more module versions by @StevenACoffman in #3262
- chore(deps): bump dset from 3.1.3 to 3.1.4 in /integration in the npm_and_yarn group by @dependabot in #3268
New Contributors
- @cliedeman made their first contribution in #2011
- @o8x ...
v0.17.49
What's Changed
- chore(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 in /_examples by @dependabot in #3123
- chore(deps-dev): bump vite from 5.2.12 to 5.2.13 in /integration by @dependabot in #3126
- chore(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 by @dependabot in #3124
- chore(deps): bump golang.org/x/tools from 0.21.0 to 0.22.0 by @dependabot in #3125
- Linter update + add revive rules by @StevenACoffman in #3127
- chore(deps): bump github.com/vektah/gqlparser/v2 from 2.5.12 to 2.5.14 in the go_modules group by @dependabot in #3133
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /integration in the npm_and_yarn group by @dependabot in #3134
- #3118 Add token limit option to fix CVE-2023-49559 by @xaviergodart in #3136
- refactor: add missed file.Close() and use t.TempDir() by @alexandear in #3137
New Contributors
- @xaviergodart made their first contribution in #3136
Full Changelog: v0.17.48...v0.17.49
v0.17.48
What's Changed
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.2.5 to 4.2.6 in /integration by @dependabot in #3084
- chore(deps-dev): bump @apollo/client from 3.10.3 to 3.10.4 in /integration by @dependabot in #3085
- Embed extra fields config by @atzedus in #3088
- refactor: use 'any' instead of 'interface{}' for consistency by @alexandear in #3090
- refactor: UnmarshalID implementation by @alexandear in #3093
- refactor: simplify with strconv.FormatBool by @alexandear in #3094
- Fix go install gqlgen binary by @alexandear in #3095
- Ignore gorilla/websocket 1.5.1 in dependabot by @StevenACoffman in #3097
- refactor: avoid panic in tests by @alexandear in #3098
- refactor: rename local variables to match Go codestyle by @alexandear in #3100
- refactor: use t.Log instead of fmt.Print by @alexandear in #3099
- Some minor test lint by @StevenACoffman in #3102
- ignore websocket v1.5.1 release for dependabot updates to the _examples module by @StevenACoffman in #3101
- fix: tests failure, testifylint issues, pin golangci-lint version by @alexandear in #3105
- testifylint v1.3.0 fixes by @StevenACoffman in #3103
- refactor: fix testifylint lint issues in examples by @alexandear in #3107
- Remove duplicated return_pointers_in_unmarshalinput explanation by @cirelli94 in #3109
- Go template function to split string into array of strings. by @khudayberdiyev25 in #3108
- Correct dataloader example by @mpldr in #3110
- Omit gqlgen version in config files used for tests by @alexandear in #3111
- refactor: use errors.New instead of fmt.Errorf where possible by @alexandear in #3112
- refactor: fix gocritic lint issues by @alexandear in #3113
- add option to omit panic handlers during development by @mpldr in #3114
- chore(deps-dev): bump vite from 5.2.11 to 5.2.12 in /integration by @dependabot in #3117
New Contributors
- @cirelli94 made their first contribution in #3109
- @khudayberdiyev25 made their first contribution in #3108
- @mpldr made their first contribution in #3110
Full Changelog: v0.17.47...v0.17.48