gqlgen v0.14.0 Release Notes

Release Date: 2021-09-08 // over 2 years ago
    • ๐Ÿš€ 56451d92 release v0.14.0

    ๐Ÿ”€ 8e97969b Merge pull request #1358 from mtsmfm/patch-1

    ๐Ÿ“ฆ Create package declaration to run dataloaden

    ๐Ÿ”€ b978593c Merge pull request #1387 from Khan/benkraft.config

    codegen/config: Add a new API to finish an already-validated config

    ๐Ÿ”€ 71507dfc Merge pull request #1408 from max107/patch-1

    ๐Ÿ‘ int64 support graphql/string.go

    ๐Ÿ”€ 23577b69 Merge pull request #1460 from snxk/edit-docs-recipe-gin

    ๐Ÿ“„ Edited the Gin-Gonic Recipe Docs

    • โšก๏ธ db6154b9 Update README.md

    ๐Ÿ”€ cecda160 Merge pull request #1464 from frederikhors/patch-1

    โž• Add goreportcard badge

    • ๐Ÿ”€ cc957171 Merge branch 'master' into patch-1

    ๐Ÿ”€ 023f66df Merge pull request #1465 from frederikhors/patch-2

    โž• Add coveralls badge

    ๐Ÿ”€ 50c2028a Merge pull request #1497 from polytomic/stable-introspection

    Return introspection document in stable order

    a0232dd2 Merge pull request #1603 from 99designs/dependabot/npm_and_yarn/integration/normalize-url-4.5.1

    โฌ†๏ธ Bump normalize-url from 4.5.0 to 4.5.1 in /integration

    4e059eba Merge pull request #1602 from 99designs/dependabot/npm_and_yarn/integration/ini-1.3.8

    โฌ†๏ธ Bump ini from 1.3.5 to 1.3.8 in /integration

    43705d45 Merge pull request #1601 from 99designs/dependabot/npm_and_yarn/integration/y18n-3.2.2

    โฌ†๏ธ Bump y18n from 3.2.1 to 3.2.2 in /integration

    1f2465c6 Merge pull request #1600 from 99designs/dependabot/npm_and_yarn/integration/browserslist-4.17.0

    โฌ†๏ธ Bump browserslist from 4.14.0 to 4.17.0 in /integration

    bbdebd4c Merge pull request #1599 from 99designs/dependabot/npm_and_yarn/integration/hosted-git-info-2.8.9

    โฌ†๏ธ Bump hosted-git-info from 2.8.5 to 2.8.9 in /integration

    900a37af Merge pull request #1598 from 99designs/dependabot/npm_and_yarn/integration/node-fetch-2.6.1

    โฌ†๏ธ Bump node-fetch from 2.6.0 to 2.6.1 in /integration

    9d334cdd Merge pull request #1597 from 99designs/dependabot/npm_and_yarn/integration/ws-7.4.6

    โฌ†๏ธ Bump ws from 7.3.1 to 7.4.6 in /integration

    ๐Ÿ”€ 56181e8a Merge pull request #1365 from frederikhors/add-uint,-uint64,-uint32-types-in-graphql

    โž• add uint, uint64, uint32 types in graphql pkg

    fd133c0b Bump normalize-url from 4.5.0 to 4.5.1 in /integration

    โฌ†๏ธ Bumps normalize-url from 4.5.0 to 4.5.1.


    โšก๏ธ updated-dependencies:

    • dependency-name: normalize-url dependency-type: indirect ...

    24d8c703 Bump ini from 1.3.5 to 1.3.8 in /integration

    โฌ†๏ธ Bumps ini from 1.3.5 to 1.3.8.


    โšก๏ธ updated-dependencies:

    • dependency-name: ini dependency-type: indirect ...

    de89d3a6 Bump y18n from 3.2.1 to 3.2.2 in /integration

    โฌ†๏ธ Bumps y18n from 3.2.1 to 3.2.2.


    โšก๏ธ updated-dependencies:

    • dependency-name: y18n dependency-type: indirect ...

    ๐Ÿ’ป 13db6111 Bump browserslist from 4.14.0 to 4.17.0 in /integration

    โฌ†๏ธ Bumps browserslist from 4.14.0 to 4.17.0.


    โšก๏ธ updated-dependencies:

    • ๐Ÿ’ป dependency-name: browserslist dependency-type: indirect ...

    94e9406e Bump hosted-git-info from 2.8.5 to 2.8.9 in /integration

    โฌ†๏ธ Bumps hosted-git-info from 2.8.5 to 2.8.9.


    โšก๏ธ updated-dependencies:

    • dependency-name: hosted-git-info dependency-type: indirect ...

    36be94ff Bump node-fetch from 2.6.0 to 2.6.1 in /integration

    โฌ†๏ธ Bumps node-fetch from 2.6.0 to 2.6.1.


    โšก๏ธ updated-dependencies:

    • dependency-name: node-fetch dependency-type: direct:development ...

    721158f3 Bump ws from 7.3.1 to 7.4.6 in /integration

    โฌ†๏ธ Bumps ws from 7.3.1 to 7.4.6.


    โšก๏ธ updated-dependencies:

    • dependency-name: ws dependency-type: direct:development ...

    2b3b7212 Merge pull request #1594 from 99designs/dependabot/npm_and_yarn/integration/tar-6.1.11

    โฌ†๏ธ Bump tar from 6.0.5 to 6.1.11 in /integration

    5b43833d Merge pull request #1582 from 99designs/dependabot/npm_and_yarn/integration/path-parse-1.0.7

    โฌ†๏ธ Bump path-parse from 1.0.6 to 1.0.7 in /integration

    ๐Ÿ”€ 55b028ca Merge pull request #1584 from nullism/patch-1

    ๐Ÿ›  Fix spaces -> tabs typo in authentication.md

    edf630a3 Bump tar from 6.0.5 to 6.1.11 in /integration

    โฌ†๏ธ Bumps tar from 6.0.5 to 6.1.11.


    โšก๏ธ updated-dependencies:

    • dependency-name: tar dependency-type: indirect ...

    29133c11 Fix spaces -> tabs typo in authentication.md

    The indentation here was supposed to be a tab rather than spaces so the readme was off.

    ๐Ÿ“œ 01b25c55 Bump path-parse from 1.0.6 to 1.0.7 in /integration

    โฌ†๏ธ Bumps path-parse from 1.0.6 to 1.0.7.


    โšก๏ธ updated-dependencies:

    • ๐Ÿ“œ dependency-name: path-parse dependency-type: indirect ...

    ๐Ÿ”€ 9a214e80 Merge pull request #1451 from sanjeevchopra/patch-1

    โšก๏ธ doc only change: updated sample code for disabling introspection

    ๐Ÿ”€ 01197437 Merge pull request #1417 from RicCu/patch-1

    ๐Ÿ‘‰ Use mutation instead of query in 'Changesets' doc example

    ๐Ÿ”€ e3293b53 Merge pull request #1444 from lisowskibraeden/patch-1

    โšก๏ธ Update cors.md

    ๐Ÿ”€ a4d67855 Merge pull request #1517 from ShivangGoswami/patch-1

    โšก๏ธ Update apq.md function definition mismatch

    eb36f04f Return introspection document in stable order

    This avoids spurious changes when generating client code using something like graphql-codegen.

    ๐Ÿ”€ 7e38dd46 Merge pull request #1568 from DanyHenriquez/patch-1

    โšก๏ธ Update apq.md

    ๐Ÿ”€ 88f2b8a7 Merge pull request #1572 from talhaguy/dataloaders-doc-casing

    Correct minor casing issue

    • โšก๏ธ be9a0791 Update apq.md

    • 3e45ddc1 Correct minor casing issue

    • โšก๏ธ 145101e4 Update apq.md

    โšก๏ธ 843edd9e Update apq.md function definition mismatch

    line 67: cache, err := NewCache(cfg.RedisAddress, 24*time.Hour) line 41: func NewCache(redisAddress string, password string,ttl time.Duration) (*Cache, error)

    ๐Ÿšš either password should be removed from 41 or added in line 67 Proposed the first one for now.

    ๐Ÿ”€ 5ad012e3 Revert "Merge pull request #1511 from a8m/a8m/restore-cwd"

    โช This reverts commit f4bf1f591b6a3884041876deb64ce0dd70c3c883, reversing ๐Ÿ”„ changes made to 3f68ea27a1a9fea2064caf877f7e24d00aa439e6.

    โช Reverting this because it will break existing setups, moving where generated files get put.

    • bb59cc43 Add a CHANGELOG.md (#1512)

    • ๐Ÿ”€ 058a365a Merge pull request #1456 from skaji/issue-1455

    ๐Ÿ”€ bf2fdf44 Merge pull request #1514 from 99designs/bump-gqlparser

    โฌ†๏ธ Bump gqlparser to v2.2.0

    • ๐Ÿ“œ 4e881981 Bump to gqlparser v2.2.0

    • โœ… 1d768a29 Add test covering single element -> slice coercion

    • ๐Ÿ“œ f57d1a02 Bump gqlparser to master & support repeated directives

    ๐Ÿ”€ f4bf1f59 Merge pull request #1511 from a8m/a8m/restore-cwd

    โช codegen/config: restore current working directory after changing it

    • 3f68ea27 Special handling for pointers to slices (#1363)

    ๐Ÿ”€ c920bdeb Merge pull request #1449 from steebchen/feat-prisma-compat

    feat(codegen): handle (v, ok) methods

    โช 3cfc5b14 codegen/config: restore current working directory after changing it

    0๏ธโƒฃ Before this commit, a call to config.LoadConfigFromDefaultLocations changed the working directory to the directory that contains the gqlgen config file.

    โช This commit changes the implementation to restore the working directory after loading the config.

    ๐Ÿ”€ 35b80a72 Merge pull request #1495 from Niennienzz/improve-apq-doc

    โšก๏ธ Update apq.md

    ๐Ÿ”€ 463debae Merge pull request #1503 from nana4gonta/resolve-vulnerability

    Resolve indirect dependency vulnerability in example

    ๐Ÿ”€ 29e7bccb Merge pull request #1501 from 99designs/fix-init-1.16

    โš™ Run go mod tidy after code generation

    ๐Ÿ”€ 9a4c80ab Merge pull request #1502 from 99designs/rm-chi

    โœ‚ Remove chi from dataloader example

    • ๐Ÿšš 5f21f9d9 Remove chi from dataloader example

    • e02db808 Run go mod tidy after code generation

    • ๐Ÿ“š 8c3e64e1 Improve APQ documentation

    • 03b57f3e Run go mod tidy

    • 54e387c4 Resolve indirect dependency vulnerability in example

    • 7985db44 Mention math.rand for the todo ID (#1489)

    • b995f7f1 Make spacing consistent (#1488)

    ๐Ÿ”€ 52ded951 Merge pull request #1459 from aaronArinder/getting-started-server-section

    getting started: make running server own section

    • 82a8e1bf Make it clearer what happened on init. (#1487)

    ๐Ÿ”€ 7258af5f Merge pull request #1458 from aaronArinder/getting-started-wording

    getting started: making the resolver fn section clearer

    ๐Ÿ”€ 4fead489 Merge pull request #1452 from fmyd/fix/formatted-query-indent

    prettified some indentation

    ๐Ÿ”€ 58e3225e Merge pull request #1480 from wilhelmeek/double-bubble

    Bubble Null from List Element to Nearest Nullable Ancestor

    • โœ… 1fac78e9 Add test case for nullable field

    • โœ… 469e31bd Fix bad test case

    • โœ… 635b1aef Add Test Case

    • 0b5da15c Check in generated code

    • 55b774ba Fix type ref

    • 45903a65 Handle nillable list elements

    • c4bf36c5 Add coveralls badge

    • 269a58ad Add goreportcard badge

    • โšก๏ธ 971da82c Updated gin.md

    • ๐Ÿ“„ 41ad51ce Edited the Gin-Gonic Recipe Docs

    • 67e652ad getting started: separate example mutation/query

    • 31d339ab getting started: make running server own section

    • โšก๏ธ aa531ed8 getting started: more wording updates

    • โšก๏ธ 5b2531ae getting started: wording update

    • โšก๏ธ ada1b928 getting started: updating wording around implementing unimpl fns

    • 23eec791 go generate ./...

    18678b15 Fix data race

    The argument of unmarshalInput may be the same for concurrent use if it pass as graphql "variables". 0๏ธโƒฃ So we have to copy it before setting default values

    • 02b14003 fomatted query indent

    • โšก๏ธ 0e9d9c3a updated sample code for disabling introspection

    • 478c3f08 feat(codegen): handle (v, ok) methods

    โšก๏ธ 5ef5d14f Update cors.md

    I had problems reading this page and applying it to my project. With these changes it worked on my end

    ๐Ÿ”€ 997da421 Merge pull request #1436 from ddouglas/patch-1

    โฌ†๏ธ Upgrade graphql-playground to 1.7.26

    • โฌ†๏ธ be4514c6 Upgrade graphql-playground to 1.7.26

    • 918801ea Change 'Changeset' doc example to mutation

    ๐Ÿ”€ 862762c7 Merge pull request #1409 from zikaeroh/chi-mod

    โฌ†๏ธ Upgrade go-chi to v1.5.1 with module support

    • โฌ†๏ธ c30ff3dd Upgrade go-chi to v1.5.1 with module support

    • ๐Ÿ‘ a9c8fabf int64 support

    ๐Ÿ”€ b484fc27 Merge pull request #1401 from oseifrimpong/patch-1

    ๐Ÿ›  fix typo

    ๐Ÿ”€ 4cc031af Merge pull request #1394 from j2gg0s/fix-default-recover-func

    ๐Ÿ›  bugfix: Default Recover func should return gqlerror.Error

    ๐Ÿ”€ 2af51336 Merge pull request #1400 from 99designs/sanstale

    โœ‚ Remove stale bot

    ๐Ÿ”€ 34a442c7 Merge pull request #1399 from 99designs/prevent-possible-error-deadlock

    ๐Ÿ”’ Dont hold error lock when calling into error presenters

    โšก๏ธ 1123ba0d Update gin.md

    ๐Ÿ”„ Changed this: In your router file, define the handlers for the GraphQL and Playground endpoints in two different methods and tie then together in the Gin router: to: In your router file, define the handlers for the GraphQL and Playground endpoints in two different methods and tie them together in the Gin router:

    ๐Ÿšš 89a9f743 Remove stale bot

    We tried it, but it's just causing more work both for maintainers and reporters of errors.

    ๐Ÿ”’ 4628ef84 Dont hold error lock when calling into error presenters

    This can result in a deadlock if error handling code calls GetErrors.

    • ๐Ÿ›  d0d5f7db bugfix: Default Recover func should return gqlerror.Error

    18b5df19 codegen/config: Add a new API to finish an already-validated config

    ๐Ÿ“œ LoadConfig parses the config from yaml, but it does a bunch of other ๐Ÿ“œ things too. We want to parse the config ourselves, so that we can have ๐Ÿ”Œ extra fields which will be passed to our plugins. Right now, that means we either have to duplicate all of LoadConfig, or write the config back ๐Ÿ“œ to disk only to ask gqlgen re-parse it.

    In this commit, I expose a new function that does all the parts of LoadConfig other than the actual YAML-reading: that way, a caller who ๐Ÿ“œ wants to parse the YAML themselves (or otherwise programmatically compute the config) can do so without having to write it back to disk.

    ๐Ÿšš An alternative would be to move all this logic to Config.Init(), but that could break existing clients. Either way would work for us.

    ๐Ÿ”€ 0e12bfbf Merge pull request #1269 from dqn/new-line-at-the-end-of-file

    โž• Add a new line to end of the file schema.graphqls

    ๐Ÿ”€ 22c5d1f5 Merge pull request #1303 from kunalpowar/inline-directives-doc

    โšก๏ธ Update README.md

    โšก๏ธ 88cffee4 Merge pull request #1356 from maapteh/chore/chat-example-update

    โšก๏ธ Chore: update Chat example

    • 1e8c34e5 Dont export Input

    ๐Ÿ”€ de8af66c Merge pull request #1360 from Captain-K-101/master

    โšก๏ธ Update introspection.md

    • โšก๏ธ 09756915 Update introspection docs

    ๐Ÿ”€ 651eda40 Merge pull request #1374 from rudylee/docs-file-upload-small-typo

    ๐Ÿ›  Fix small typo in file upload docs

    • 94252e04 singleUpload consistency

    • ๐Ÿ“„ c9d346f5 Fix small typo in file upload docs

    • 9f851619 add uint, uint64, uint32 types in graphql

    โšก๏ธ 0625525f Update introspection.md

    โšก๏ธ updated disabling interospect

    • c6a93aa7 split layout components to their own part, makes sample more readable

    • 7904ef6f channel is switchable too

    • 13752055 add some layout for demo :)

    ๐Ÿ“ฆ 82ca6e24 Create package declaration to run dataloaden

    ref: https://github.com/vektah/dataloaden/issues/35

    • ๐Ÿ“„ bf549136 use Apollo docs styling for the gql var uppercase

    • 36045a37 do not autofocus

    • โšก๏ธ 0502228a chore: update example to React hooks and latest Apollo client

    • โšก๏ธ e6e64224 update deps

    ๐Ÿ”€ 3a31a752 Merge pull request #1345 from abeltay/fix-alignment

    ๐Ÿ›  Fix tab spacing in cors.md

    ๐Ÿ”€ 0c68337c Merge pull request #1346 from abeltay/fix-typo

    ๐Ÿ›  Fix typo in migration guide

    • 436a88ad Fix typo in migration guide

    • 3791f71d Fix tab spacing in cors.md

    ๐Ÿ”€ 819e751c Merge pull request #1341 from dgraph-io/rajas/fix-gqlgen-1299

    Rajas/fix gqlgen 1299

    • 789d02f5 Requested changes

    • 130ed3f7 Fix different alias with same name in inline fragment

    • ๐Ÿš€ f4669ba9 v0.13.0 postrelease bump

    • โšก๏ธ 07c06594 Update README.md

    • ๐Ÿšš 1c9f24b2 remove triming space for schemaDefault

    <!-- end of Commits --> <!-- end of Else -->

    <!-- end of If NoteGroups -->