gqlgen v0.17.3 Release Notes

Release Date: 2022-04-20 // almost 2 years ago
    • 🚀 0bb262d1 release v0.17.3

    ⚡️ 8d0bd22a Update gqlparser (#2109)

    • ⚡️ Update gqlparser

    • ⚡️ Update tests to be NoError

    ec0dea88 Fix the ability of websockets to get errors (#2097)

    Because DispatchOperation creates tempResponseContext, which is passed into Exec, which is then used in _Subscription to generate the next function. Inside the various subscription functions when generating next the context was captured there.

    Which means later when the returned function from DispatchOperation is called. The responseContext which accumulates the errors is the tempResponseContext which we no longer have access to to read the errors out of it.

    Instead add a context to next() so that it can be passed through and accumulated the errors as expected.

    ➕ Added a unit test for this as well.

    e3f04b42 Change the error message to be consumer targeted (#2096)

    • 🔄 Change the error message to be slightly more clear

    • ⚡️ Rebase on updated origin/master.

    🛠 Fix the test to not be sensitive to array ordering. Re-generate on master as there was a schema change.

    5a497649 Fix websocket subscriptions to not double close. (#2095)

    We were closing at the end of the loop and also in the defer.

    • ⚡️ a15a9bfd Update test.yml to be valid

    ⚡️ a1538928 Use Github API to update the docs (#2101)

    • ⚡️ Use Github API to update the docs

    📄 Instead of a hard-coded version of the docs we want to realease, this 👉 uses the Github API to get the last 20 versions and publish those. This will allow any script invoking this to make sure to always have the ✅ latest version of the docs

    • Reinstate set -e
    • ⚡️ 3bf437c2 Update golangci-lint (#2103)

    🖨 12c6d0bf Fix misprint (#2102)

    • 🛠 Fix misprint

    • Update websocket_graphql_transport_ws.go

    9f5fad13 Bump minimist from 1.2.5 to 1.2.6 in /integration (#2085)

    ⬆️ Bumps minimist from 1.2.5 to 1.2.6.


    ⚡️ updated-dependencies:

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

    035e1d6e Add AllowedMethods field to transport.Options (#2080)

    • ➕ Add AllowedMethods field to transport.Options

    to enable users to specify allowed HTTP methods.

    • ⚡️ Update graphql/handler/transport/options.go
    • f0fdb116 Add instructions for enabling autobinding (#2079)

    12b0b385 Bump Playground version (#2078)

    • ⚡️ update playground

    • enables tabs

    • ⚡️ update shas

    🔀 1324c3ff Merge pull request #2062 from a8m/childfield

    graphql: add FieldContext.Child field function and enable it in codegen

    • bf9caeae graphql: add FieldContext.ChildArgs field and enable it in codegen

    • 36fb3dc6 codegen: allow binding methods with optional variadic arguments (#2066)

    • ⚡️ fba5edd4 Update Changelog

    • 🚀 48b2b7e1 v0.17.2 postrelease bump

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

    <!-- end of If NoteGroups -->