Releases: 99designs/gqlgen
v0.17.61
What's Changed
- performance fix: only run generate code once by @Brookke in #3436
- more actionable federation errors for nil key field queries by @StevenACoffman in #3437
- Prefer any over interface{} by @StevenACoffman in #3438
- chore: fix typo in the function name by @alexandear in #3435
- enable testifylint.encoded-compare and fix lint issues by @alexandear in #3434
- chore(deps-dev): bump graphql from 16.9.0 to 16.10.0 in /integration by @dependabot in #3440
- chore(deps-dev): bump @apollo/client from 3.12.2 to 3.12.3 in /integration by @dependabot in #3439
New Contributors
Full Changelog: v0.17.60...v0.17.61
v0.17.60
What's Changed
- People who use gqlgen as a library get errors following #2598 by @StevenACoffman in #3431
- Follow up to compliant Int work by @phughes-scwx in #3430
Full Changelog: v0.17.59...v0.17.60
v0.17.59
What's Changed
- Restore multiline resolver doc comments after #3243 by @StevenACoffman in #3428
Full Changelog: v0.17.58...v0.17.59
v0.17.58
What's Changed
- Deprecate NewDefaultServer by @StevenACoffman in #3404
- added support for use_function_syntax_for_execution_context by @kanodia-parag in #3407
- Update gqlgen init template to default to spec-compliant Int by @phughes-scwx in #3409
- Update gqlparser by @StevenACoffman in #3397
- Expand defer tests by @phughes-scwx in #3399
- [SECURITY] Implement a feature to disable the suggestion when a GraphQL query fails by @tomoikey in #3411
- chore: update golangci-lint to v1.62.0 by @alexandear in #3386
- refactor: fix copyloopvar, dupword lint issues by @alexandear in #3387
- chore: enable nolintlint to lint
//nolint
directives by @alexandear in #3391 - chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /_examples by @dependabot in #3392
- chore(deps-dev): bump @graphql-codegen/client-preset from 4.5.0 to 4.5.1 in /integration by @dependabot in #3393
- refactor: remove unneeded check by @alexandear in #3394
- chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 in /integration by @dependabot in #3395
- chore(deps-dev): bump vitest from 2.1.5 to 2.1.7 in /integration by @dependabot in #3401
- chore(deps): bump dawidd6/action-download-artifact from 6 to 7 by @dependabot in #3402
- chore(deps-dev): bump vite from 5.4.11 to 6.0.2 in /integration by @dependabot in #3400
- doc: Update README.md by @StevenACoffman in #3408
- chore(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 in /_examples by @dependabot in #3423
- chore(deps-dev): bump @apollo/client from 3.11.10 to 3.12.2 in /integration by @dependabot in #3418
- chore(deps-dev): bump vite from 6.0.2 to 6.0.3 in /integration by @dependabot in #3420
- chore(deps): bump react from 18.3.1 to 19.0.0 in /_examples/chat by @dependabot in #3417
- chore(deps): bump golang.org/x/text from 0.20.0 to 0.21.0 in /_examples by @dependabot in #3424
- chore(deps): bump react-dom from 18.3.1 to 19.0.0 in /_examples/chat by @dependabot in #3416
- chore(deps-dev): bump vitest from 2.1.7 to 2.1.8 in /integration by @dependabot in #3419
New Contributors
- @tomoikey made their first contribution in #3411
- @kanodia-parag made their first contribution in #3407
Full Changelog: v0.17.57...v0.17.58
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