Releases: 99designs/gqlgen
Releases · 99designs/gqlgen
v0.17.47
What's Changed
- chore: simplify generating examples in release script by @alexandear in #3064
- refactor: compile regex only once by @alexandear in #3063
- refactor: simplify test asserts by @alexandear in #3061
- Fix typo in error message by @alexandear in #3065
- chore: remove deprecated errcheck.ignore lint option by @alexandear in #3062
- chore(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 by @dependabot in #3069
- chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by @dependabot in #3071
- chore(deps-dev): bump @apollo/client from 3.10.2 to 3.10.3 in /integration by @dependabot in #3073
- chore(deps-dev): bump urql from 4.0.7 to 4.1.0 in /integration by @dependabot in #3074
- chore(deps): bump golang.org/x/tools from 0.20.0 to 0.21.0 by @dependabot in #3072
- chore(deps): bump github.com/sosodev/duration from 1.3.0 to 1.3.1 by @dependabot in #3070
- Fix go mod tidy by @StevenACoffman in #3075
- Ability to inline extraFields configuration. New @goExtraField directive. by @atzedus in #3076
- Federation: Update docs to use IntrospectAndCompose by @frankywahl in #3077
- bugfix for @gofield + @goExtraField combination by @atzedus in #3078
- Fix #2856: resolver receive previous implementation on render by @roneli in #2886
- Update gqlparser to v2.5.12 by @StevenACoffman in #3080
Full Changelog: v0.17.46...v0.17.47
v0.17.46
What's Changed
- Bump @apollo/client from 3.9.6 to 3.9.7 in /integration by @dependabot in #2970
- Bump vitest from 1.3.1 to 1.4.0 in /integration by @dependabot in #2972
- Bump vite from 5.1.5 to 5.1.6 in /integration by @dependabot in #2971
- chore: remove repetitive words by @deterclosed in #2976
- Bump typescript from 5.4.2 to 5.4.3 in /integration by @dependabot in #2979
- Bump vite from 5.1.6 to 5.2.6 in /integration by @dependabot in #2978
- Bump @apollo/client from 3.9.7 to 3.9.9 in /integration by @dependabot in #2977
- Add UintID type binding by @nawivee in #2980
- Bump @graphql-codegen/client-preset from 4.2.4 to 4.2.5 in /integration by @dependabot in #2983
- Bump graphql-sse from 2.5.2 to 2.5.3 in /integration by @dependabot in #2985
- Bump vite from 5.2.6 to 5.2.7 in /integration by @dependabot in #2984
- enum values binding by @nikitacrit in #2982
- fix: stop loading package dependencies by @agratta-silo in #2988
- Bump typescript from 5.4.3 to 5.4.4 in /integration by @dependabot in #2993
- Bump @apollo/client from 3.9.9 to 3.9.10 in /integration by @dependabot in #2994
- Update
tools.go
url by @38elements in #2987 - Bump vite from 5.2.7 to 5.2.8 in /integration by @dependabot in #2992
- Bump golang.org/x/tools from 0.19.0 to 0.20.0 by @dependabot in #2996
- Bump graphql-ws from 5.15.0 to 5.16.0 in /integration by @dependabot in #2986
- Bump urql from 4.0.6 to 4.0.7 in /integration by @dependabot in #2995
- Mark ctx as unused when no arguments for FieldContextFunc by @halkeye in #2999
- chore: update Automatic Persisted Queries Link by @38elements in #3005
- fix: codegen will _ the fieldset parameter if its not needed by @halkeye in #3006
- Bump vitest from 1.4.0 to 1.5.0 in /integration by @dependabot in #3012
- Bump typescript from 5.4.4 to 5.4.5 in /integration by @dependabot in #3010
- Bump @apollo/client from 3.9.10 to 3.9.11 in /integration by @dependabot in #3011
- Bump vite from 5.2.8 to 5.2.10 in /integration by @dependabot in #3015
- chore: fix some typos in comments by @knowmost in #3020
- chore: remove unused lint.txt by @alexandear in #3017
- Bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 by @dependabot in #3026
- Bump github.com/rs/cors from 1.10.1 to 1.11.0 in /_examples by @dependabot in #3025
- Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 by @dependabot in #3023
- Bump @apollo/client from 3.9.11 to 3.10.1 in /integration by @dependabot in #3022
- Bump vitest from 1.5.0 to 1.5.2 in /integration by @dependabot in #3021
- Bump github.com/sosodev/duration from 1.2.0 to 1.3.0 by @dependabot in #3024
- Fix test asserts: reverse expected and actual params by @alexandear in #3027
- refactor: simplify tests for
api.Generate
by @alexandear in #3031 - Improve federation resolver selection by @clayne11 in #3029
- chore:
run.skip-dirs
is deprecated in golangci-lint v1.57 by @alexandear in #3034 - chore: remove redundant empty lines by @alexandear in #3035
- refactor: change test asserts to be more idiomatic by @alexandear in #3036
- docs: fix links to the docs latest version by @alexandear in #3038
- Fix codegen config tests: add file closing by @alexandear in #3037
- chore: remove deprecated build constraint by @alexandear in #3041
- chore: lint _examples directory by @alexandear in #3042
- Add initial cache tests for MapCache and NoCache by @shion0625 in #3040
- enum values binding v2 by @nikitacrit in #3014
- chore: simplify go generate in examples by @alexandear in #3033
- chore(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 by @dependabot in #3054
- chore(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 in /_examples by @dependabot in #3053
- chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by @dependabot in #3050
- chore(deps-dev): bump @apollo/client from 3.10.1 to 3.10.2 in /integration by @dependabot in #3049
- chore(deps-dev): bump vitest from 1.5.2 to 1.6.0 in /integration by @dependabot in #3048
- chore(deps): bump github.com/PuerkitoBio/goquery from 1.9.1 to 1.9.2 by @dependabot in #3051
- chore(deps): bump golang.org/x/text from 0.14.0 to 0.15.0 by @dependabot in #3052
- chore(deps-dev): bump vite from 5.2.10 to 5.2.11 in /integration by @dependabot in #3047
- fix: failed to build _examples/websocket-initfunc/server/server.go (#3055) by @Reimei1213 in #3058
New Contributors
- @deterclosed made their first contribution in #2976
- @nawivee made their first contribution in #2980
- @nikitacrit made their first contribution in #2982
- @agratta-silo made their first contribution in #2988
- @38elements made their first contribution in #2987
- @halkeye made their first contribution in #2999
- @knowmost made their first contribution in #3020
- @alexandear made their first contribution in #3017
- @shion0625 made their first contribution in #3040
- @Reimei1213 made their first contribution in #3058
Full Changelog: v0.17.45...v0.17.46
v0.17.45
What's Changed
- Bump github.com/matryer/moq from 0.3.3 to 0.3.4 by @dependabot in #2939
- Bump @apollo/client from 3.9.4 to 3.9.5 in /integration by @dependabot in #2938
- Bump vitest from 1.2.2 to 1.3.0 in /integration by @dependabot in #2937
- Bump graphql-ws from 5.14.3 to 5.15.0 in /integration by @dependabot in #2935
- Bump vite from 5.1.1 to 5.1.3 in /integration by @dependabot in #2936
- Bump golang.org/x/tools from 0.17.0 to 0.18.0 by @dependabot in #2940
- Optionally render entity requires populator function for advanced @requires use cases by @jesse-apollo in #2884
- Bump vite from 5.1.3 to 5.1.4 in /integration by @dependabot in #2947
- Bump @graphql-codegen/introspection from 4.0.2 to 4.0.3 in /integration by @dependabot in #2944
- Bump @graphql-codegen/client-preset from 4.2.2 to 4.2.4 in /integration by @dependabot in #2945
- Bump github.com/PuerkitoBio/goquery from 1.8.1 to 1.9.0 by @dependabot in #2943
- Bump vitest from 1.3.0 to 1.3.1 in /integration by @dependabot in #2946
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /_examples by @dependabot in #2955
- Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 by @dependabot in #2954
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #2953
- Add option to omit resolver fields from models by @Desuuuu in #2957
- fix(docs): convert an unnecessarily capitalized word to lowercase by @hxrxchang in #2959
- Update explicit_requires to support models generated into same package by @ericbock in #2965
- Add case for resolvers_always_return_pointers:false in explicit requires generation. by @jesse-apollo in #2966
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in #2964
- Bump @apollo/client from 3.9.5 to 3.9.6 in /integration by @dependabot in #2962
- Bump vite from 5.1.4 to 5.1.5 in /integration by @dependabot in #2961
- Bump typescript from 5.3.3 to 5.4.2 in /integration by @dependabot in #2960
- Bump golang.org/x/tools from 0.18.0 to 0.19.0 by @dependabot in #2963
New Contributors
- @jesse-apollo made their first contribution in #2884
- @hxrxchang made their first contribution in #2959
- @ericbock made their first contribution in #2965
Full Changelog: v0.17.44...v0.17.45
v0.17.44
What's Changed
- Bump vite from 4.3.9 to 4.5.2 in /integration by @dependabot in #2885
- Update federation plugin by @trevor-scheer in #2876
- Work with https://specs.apollo.dev/federation/v2.x by @StevenACoffman in #2891
- Update x/tools and add go v1.21,v1.22 in CI workflows by @ryicoh in #2894
- Bump actions/setup-go from 3 to 5 by @dependabot in #2900
- Bump actions/checkout from 3 to 4 by @dependabot in #2903
- Bump actions/setup-node from 3 to 4 by @dependabot in #2910
- Bump nick-fields/retry from 2 to 3 by @dependabot in #2907
- Bump golangci/golangci-lint-action from 3.5.0 to 3.7.0 by @dependabot in #2896
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 in /_examples by @dependabot in #2897
- Bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 in /_examples by @dependabot in #2901
- Bump github.com/matryer/moq from 0.2.7 to 0.3.3 by @dependabot in #2902
- Bump vitest from 0.32.0 to 1.2.2 in /integration by @dependabot in #2919
- Bump styled-components from 5.3.11 to 6.1.8 in /_examples/chat by @dependabot in #2905
- Bump graphql-sse from 2.1.4 to 2.5.2 in /integration by @dependabot in #2913
- Bump typescript from 4.9.5 to 5.3.3 in /_examples/chat by @dependabot in #2917
- Bump react-scripts from 2.1.8 to 5.0.1 in /_examples/chat by @dependabot in #2914
- Bump github.com/urfave/cli/v2 from 2.25.5 to 2.27.1 by @dependabot in #2912
- Bump subscriptions-transport-ws from 0.9.19 to 0.11.0 in /_examples/chat by @dependabot in #2911
- Bump github.com/google/uuid from 1.3.0 to 1.6.0 in /_examples by @dependabot in #2909
- Bump github.com/rs/cors from 1.9.0 to 1.10.1 in /_examples by @dependabot in #2904
- Bump graphql from 14.7.0 to 16.8.1 in /_examples/chat by @dependabot in #2899
- Bump jest from 25.5.4 to 29.7.0 in /_examples/federation by @dependabot in #2920
- Bump typescript from 5.1.3 to 5.3.3 in /integration by @dependabot in #2921
- Bump @graphql-codegen/schema-ast from 4.0.0 to 4.0.2 in /integration by @dependabot in #2918
- Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 by @dependabot in #2908
- Bump urql from 4.0.4 to 4.0.6 in /integration by @dependabot in #2906
- Bump github.com/hashicorp/golang-lru/v2 from 2.0.3 to 2.0.7 by @dependabot in #2915
- Bump node-fetch from 2.7.0 to 3.3.2 in /_examples/federation by @dependabot in #2916
- graphql/uint: Fix unmarshalling of negative numbers by @mnPanic in #2922
- Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #2928
- Bump github.com/google/uuid from 1.3.0 to 1.6.0 by @dependabot in #2924
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 by @dependabot in #2925
- Bump google.golang.org/protobuf from 1.30.0 to 1.32.0 by @dependabot in #2926
- Bump react from 16.14.0 to 18.2.0 in /_examples/chat by @dependabot in #2929
- Bump vite from 4.5.2 to 5.1.1 in /integration by @dependabot in #2931
- Bump @graphql-codegen/cli from 4.0.1 to 5.0.2 in /integration by @dependabot in #2932
- Bump github.com/sosodev/duration from 1.1.0 to 1.2.0 by @dependabot in #2927
- Bump react-dom from 16.14.0 to 18.2.0 in /_examples/chat by @dependabot in #2930
New Contributors
- @trevor-scheer made their first contribution in #2876
- @ryicoh made their first contribution in #2894
- @mnPanic made their first contribution in #2922
Full Changelog: v0.17.43...v0.17.44
v0.17.43
What's Changed
- Fix code generation for federated multi-key, multi-entity types by @bpeters-cmu in #2877
- Add config option to omit root objects from models by @ghjm in #2878
- add omitempty config to example gqlgen.yml by @PaulVasilenko in #2880
- Update gqlparser to v2.5.11 by @StevenACoffman in #2882
New Contributors
- @bpeters-cmu made their first contribution in #2877
- @ghjm made their first contribution in #2878
- @PaulVasilenko made their first contribution in #2880
Full Changelog: v0.17.42...v0.17.43
v0.17.42
What's Changed
- Modify to prevent unreachable code from occurring by @taako-502 in #2846
- Make root go generate re-generate packages by @StevenACoffman in #2859
- Allow fields that return root level definitions by @teandresmith in #2858
- vikstrous/dataloadgen replaces recommended dataloader package in example docs by @vikstrous in #2770
- Use defer wg.Done() in FieldSet Dispatch by @UnAfraid in #2861
- Update examples go.mod with appdash replacements by @regynald in #2863
- Remove archived dependency appdash by @UnAfraid in #2866
- Fix for Entity Interface Model Generation by @kjones-onx in #2868
- fix: avoid panic from tracing on bad request by @SteveRuble in #2871
New Contributors
- @teandresmith made their first contribution in #2858
- @regynald made their first contribution in #2863
- @kjones-onx made their first contribution in #2868
- @SteveRuble made their first contribution in #2871
Full Changelog: v0.17.41...v0.17.42
v0.17.41
What's Changed
- Updated GraphiQL 3.0.1 => 3.0.6 by @UnAfraid in #2837
- Corrected the indentation of the sample program. by @taako-502 in #2840
- Omittable can now be serialized as json by @endSly in #2839
- Small template fix to save space in the generated file by @PatrLind in #2841
- Added all ability customize to all supported apollo sandbox options by @UnAfraid in #2849
- Improve ResolverImplementer.Implment by @roneli in #2850
- fix fieldset.New bug when prefix slice has len < cap by @sivukhin in #2851
New Contributors
- @taako-502 made their first contribution in #2840
- @PatrLind made their first contribution in #2841
- @roneli made their first contribution in #2850
- @sivukhin made their first contribution in #2851
Full Changelog: v0.17.40...v0.17.41
v0.17.40
What's Changed
- resolver: fix case-insensitive file name collision by @erankor in #2829
- Bump @babel/traverse from 7.22.5 to 7.23.2 in /integration by @dependabot in #2831
- Map based input types fields are now coerced to the right type by @endSly in #2830
Full Changelog: v0.17.39...v0.17.40
v0.17.39
What's Changed
- Breaking API: Allow WebsocketInitFunc to add payload to Ack (#4) by @telemenar in #2791
- add close flag into wsConnection to avoid duplicate calls of CloseFunc by @vlad-tokarev in #2803
- fix: CodeGen for omit_slice_element_pointers and GetMany Entity Resolvers by @parkerroan in #2802
- feat: update getting-started CreateTodo mutationResolver by @gitxiongpan in #2810
- Feature: Support Apollo Federation Auth Directives by @parkerroan in #2809
- Consider go type name when autobinding by @dany74q in #2812
- Update generated files that change when building by @telemenar in #2813
- Add a pong only keep alive for the new protocol by @telemenar in #2814
- Store parsed Schema on ExecutableSchema rather than use global variable by @gitxiongpan in #2811
- Add ability to not fail when pong is not received. by @telemenar in #2815
- Adding duration scalar conforming to ISO8601 standard by @rwrz in #2800
- Bump postcss from 8.4.24 to 8.4.31 in /integration by @dependabot in #2819
- Add @interfaceObject and @composeDirective at Federation 2 directive lists. by @wangmir in #2821
New Contributors
- @vlad-tokarev made their first contribution in #2803
- @parkerroan made their first contribution in #2802
- @dany74q made their first contribution in #2812
- @rwrz made their first contribution in #2800
- @wangmir made their first contribution in #2821
Full Changelog: v0.17.38...v0.17.39
v0.17.38
What's Changed
- Ability to use forceGenerate and extraFields together by @atzedus in #2788
- Add new changelog by @StevenACoffman in #2787
- Fix rand int docs link in Getting Started by @stevenschobert in #2789
- Make it possible to pass UI headers to GraphiQL by @marcusthelin in #2793
- Return
null
instead of zero value uuid by @0x221A in #2794 - Update gqlparser to 2.5.10 by @StevenACoffman in #2798
New Contributors
- @stevenschobert made their first contribution in #2789
- @marcusthelin made their first contribution in #2793
- @0x221A made their first contribution in #2794
Full Changelog: v0.17.37...v0.17.38