Changelog History
Page 1
-
v0.17.9 Changes
May 26, 2022๐ 7f0611b2 release v0.17.9
โก๏ธ 738209b2 Update gqlparser (#2216)
๐ 6855b729 fix: prevent goroutine leak and CPU spinning at websocket transport (#2209) (closes #2168)
โ Added goroutine leak test for chat example
๐ Improved chat example with proper concurrency
โช This reverts commit eef7bfaad1b524f9e2fc0c1150fdb321c276069e.
๐ Improved subscription channel usage
Regenerated examples and codegen
โ Add support for subscription keepalives in websocket client
โก๏ธ Update chat example test
if else chain to switch
โช Revert "Add support for subscription keepalives in websocket client"
โช This reverts commits 64b882c3c9901f25edc0684ce2a1f9b63443416b and 670cf22272b490005d46dc2bee1634de1cd06d68.
๐ Fixed chat example race condition
๐ Fixed chatroom#Messages type
5f5bfcb9 fix #2204](https://github.com/99designs/gqlgen/issues/2204) - don't try to embed builtin sources ([#2214)
dont't try to embed builtins
โ add test
generated code
๐ fix error message string
8d9d3f12 Check only direct dependencies (#2205)
๐ b262e40a v0.17.8 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.8 Changes
May 25, 2022๐ 25367e0a release v0.17.8
๐ 5a56b69d Add security workflow with nancy (#2202)
๐ 482f4ce0 Run CI tests on windows (#2199)
๐ 656045d3 This works on Windows too! (#2197)
๐ f6aeed60 Merge branch 'master' of github.com:99designs/gqlgen
โก๏ธ d91080be Update changelog
๐ 752d2d7e v0.17.7 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.7 Changes
May 24, 2022๐ 2b1dff1b release v0.17.7
โก๏ธ b2087f94 Update module dependencies (#2192)
๐จ 8825ac46 Fix misprint (#2187)
๐ Fix misprint
๐ Fix misprint
Re-generate
๐ 41daa5d8 fix #2190](https://github.com/99designs/gqlgen/issues/2190) - don't use backslash for "embed" paths on windows ([#2191)
โก๏ธ 0cce5544 Update Changelog
๐ 26644541 v0.17.6 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.6 Changes
May 23, 2022๐ 358d45dc release v0.17.6
7c95938c Improve operation error handling (#2184)
2526f687 Correct identation (#2182)
f7bf453c Bump dset from 3.1.1 to 3.1.2 in /integration (#2176)
โฌ๏ธ Bumps dset from 3.1.1 to 3.1.2.
- ๐ Release notes
- Commits
โก๏ธ updated-dependencies:
- dependency-name: dset dependency-type: indirect ...
โก๏ธ 4cdf7026 Update getting-started.md (#2157)
๐ Fix getting-started missing fields resolver config
eef7bfaa fix: prevents goroutine leak at websocket transport (#2168)
โก๏ธ b8ec51d8 go: update gqlparser to latest (#2149)
๐ ec3e597e Fix docs bug in field collection (#2141)
f6b35231 Add argument to WebsocketErrorFunc (#2124)
- โ Add argument to WebsocketErrorFunc
to determine whether the error ocured on read or write to the websocket.
- Wrap websocket error
- 0f016df3 Fix invalid query parameter for playground subscription endpoint (#2148)
fb5751ab use "embed" in generated code (#2119)
๐ use "embed" in generated code
don't use embed for builtins
working poc
๐ handle no embeddable sources
๐ fix dir
comment
โ add test for embedding
๐ improve error handling
d38911f1 Allow absolute https://github.com/99designs/gqlgens to the GraphQL playground (#2142)
๐ Allow absolute URLs to the GraphQL playground
โ Add test for playground URLs
โ Close res.Body in playground test
โก๏ธ 3228f36f Update getting-started.md (#2140)
- โก๏ธ Update getting-started.md
function rand.Int requires two parameters and returns two value in golang version 1.18.1.
๐ฆ Highlight the package used so people don't pick crypto/rand
โช Revert to original
โ Remove extra space
โก๏ธ 33fe0b9b Update package.json (#2138)
๐ฆ I added
graphql-ws
because there is no graphql-ws in package.json๐ f8e837b8 Use MultipartReader to parse file uploads (#2135)
๐ Use a streaming MultipartReader to parse requests with file uploads. The GraphQL multipart request specification guarantees that the operations and map form fields will come first.
There are two reasons motivating this change:
- This allows for file uploads without specifying a specific filename.
- This avoids unnecessary copies for requests with more than one file. Go's ParseForm already copies the request's body into memory or on disk. We were also doing this manually as a second step.
05bfc1fb Upddate Changelog
๐ 62f694f0 v0.17.5 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.5 Changes
April 29, 2022- ๐ fd97e74e release v0.17.5
๐ 9250f9ac Feature: Add FTV1 Support via Handler (#2132)
๐ initial support for ftv1 traces via handler
โ remove testing json extension
โ remove binary from commit and add to .gitignore
โก๏ธ updating go.mod
โก๏ธ updating examples go.sum
rerunning generate within the examples folder
fce3a11a feat: added graphql.UnmarshalInputFromContext (#2131)
feat: added graphql.UnmarshalInputFromContext
chore: run go generate for _examples
๐ fix: apply suggestions from code review
๐ fix: update error cases
๐ fix: fixed unit-test by update root_.gotpl
๐ fix: apply suggestions from code review
๐ fix: update graphql/input.go
โก๏ธ 6a24e881 update instructions to specify package of Role (#2130)
Can't compile with the example unless I also include
model.
for Role.ccfa245b Ignore protobuf files in coverage (#2133)
โก๏ธ 0465dcb1 Update federation.md (#2129)
โก๏ธ 8f0631dc Update Changelog
๐ 41611560 v0.17.4 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.4 Changes
April 25, 2022- ๐ d6de831a release v0.17.4
๐ 2a2a3dcb Feature: Adds Federation 2 Support (#2115)
๐ fed2 rough support
autodetection of fed2
โ adding basic tests for changes
๐ fixing docs
โก๏ธ Update plugin/federation/federation.go
removing custom scalar since it was causing issues
๐ fixing lint test
should fix for real this time
๐ fixing test failures
77260e88 shorten some generated code (#2120)
shorten some generated code
generate examples
โก๏ธ 4da17e1c update modules except mapstructure (#2118)
โก๏ธ Update modules
โก๏ธ Update modules except for mapstructure
โก๏ธ Try to update to v1.3.1
โก๏ธ cddbf02d Update Changelog file
๐ 8f80f4ef v0.17.3 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.3 Changes
April 20, 2022- ๐ 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.
- ๐ Release notes
- Commits
โก๏ธ 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 -->
-
v0.17.2 Changes
March 21, 2022๐ 1f04d38a release v0.17.2
87fc5f22 Fix #1961](https://github.com/99designs/gqlgen/issues/1961) for Go 1.18 ([#2052)
โ f85d59d3 fixed modelgen test schema (#2032)
๐ d873ff8b v0.17.1 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.1 Changes
March 02, 2022๐ 5ea50aee release v0.17.1
๐ a493a423 Prepare for new release
โก๏ธ 9f520a28 Update golangci-lint and fix resource leak (#2024)
๐ Fix golangci-lint in CI
๐ Fix resource leak
๐ 74baaa14 fixed model gen for multiple implemented type (#2021)
๐ d31cf6be v0.17.0 postrelease bump
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.17.0 Changes
March 01, 2022- ๐ e4be5651 release v0.17.0
โก๏ธ 082bbff6 Revert "Update quickstart (#1850](https://github.com/99designs/gqlgen/issues/1850))" ([#2014)
โช This reverts commit 0ab636144bfc875f86e4d9fd7a2686bc57d5050c.
a58411b8 Embed templates instead of inlining them (#2019)
๐ท 839b50df Test gqlgen generate in CI (#2017)
๐ 00dc14ad Remove ambient imports (#2016)
๐ 45e192ea Clean up docs to clarify how to use a particular version (#2015) (closes #1851)
โช This reverts commit 57a148f6d12572fe585ecfcafafbb7441dbf9cab.
โก๏ธ Update getting-started.md
โก๏ธ Update getting-started.md
- 3a9413f7 Fix issue template
5236fb09 fix introspection for description to be nullable (#2008)
๐ fixed introspection for description to be nullable
regenerated for integration
regenerated
๐ fixed introspection package
regenerated
๐ 82fefdb5 support to generate model for intermediate interface (#1982)
๐ support to generate model for intermediate interface
go generate ./... in example
๐ fixed filepath generation
3ec83635 Bump ajv from 6.10.2 to 6.12.6 in /integration (#2007)
โฌ๏ธ Bumps ajv from 6.10.2 to 6.12.6.
- ๐ Release notes
- Commits
โก๏ธ updated-dependencies:
- dependency-name: ajv dependency-type: indirect ...
๐ 9546de2c Web Socket initialization message timeout (#2006)
โ Added an optional timeout to the web socket initialization message read operation.
โ Added a fail message to a web socket init read timeout test.
๐ f6ea6230 fixed introspection for schema description and specifiedByhttps://github.com/99designs/gqlgen (#1986)
๐ fixed introspection for schema description and specifiedByURL
โก๏ธ updated to the master latest
๐ fixed Description resolver
โก๏ธ updated integration go file
๐ fixed codegen tests for the latest gqlparser
โก๏ธ updated go mod in example
go generate
skip specifiedBy
regenerate
๐ fixed schema-expected.graphql for the latest
๐ fixed integration test to use latest tools
๐ fixed integration workflow
๐ use v2.4.0
๐ fixed sum
๐ f17ca15e Fix broken links in docs (#1983) (closes #1734)
โ a0c856b7 Added a callback error handling function to the websocket and added tests for it. (#1975)
cfea9f07 generate resolvers for input types (#1950)
โฑ ffa857ef Websocket i/o timeout fix (#1973)
Renamed "pingMesageType" to "pingMessageType" and refactored websocket_graphqlws.go to look more like websocket_graphql_transport_ws.go for the sake of consistency.
โ Made the keep-alive messages graphql-ws only, and the ping-pong messages graphql-transport-ws only (and added tests for it).
gofmt
๐ d7da5b0d Merge pull request #1958 from 99designs/cleanup-main
Cleanup main
๐ 42f32432 Merge pull request #1957 from 99designs/move-init-ci
๐ท Upate init CI step
be164748 Cleanup main
๐ท 8ea290c0 Upate init CI step
๐จ 56bfb188 Fix 1955: only print message on @key](https://github.com/key) found on interfaces ([#1956)
213a085b rename "example" dir to "_examples" (#1734)
๐ rename "example" dir to "_examples"
๐ fix lint
Adjust permissions
9262b358 fix: typo in dataloader code sample (#1954)
๐ fix: typo in dataloader code sample
๐ rename k to key for sample to compile
- ๐ a0543733 remove autobind example (#1949)
๐ 06bbca37 docs: migrate dataloaders sample to graph-gophers/dataloader (#1871)
๐ docs: add dataloader sample
finish example
โ add example
simplify method
replace old example
styling
โก๏ธ Update docs/content/reference/dataloaders.md
โก๏ธ Update docs/content/reference/dataloaders.md
โก๏ธ Update docs/content/reference/dataloaders.md
โก๏ธ Update docs/content/reference/dataloaders.md
f9fcfa16 Comment out autobind in the sample config file (#1872)
๐ง The reason is that many people using it for the first time copy exactly that configuration example and then open the issues to say it doesn't work.
- a30b68de fix: whitelist VERSION and CURRENT_VERSION env vars (#1870)
76a533b8 Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8 (#1858)
- โฌ๏ธ Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8
โฌ๏ธ Bumps gopkg.in/yaml.v2 from 2.2.4 to 2.2.8.
- ๐ Release notes
- Commits
โก๏ธ updated-dependencies:
dependency-name: gopkg.in/yaml.v2 dependency-type: direct:production ...
โก๏ธ Update go sum for example
eed4301c Bump node-fetch from 2.6.1 to 2.6.7 in /integration (#1859)
โฌ๏ธ Bumps node-fetch from 2.6.1 to 2.6.7.
- ๐ Release notes
- Commits
โก๏ธ updated-dependencies:
- dependency-name: node-fetch dependency-type: direct:development ...
7f5dce6d Fix #1776](https://github.com/99designs/gqlgen/issues/1776) : Edit and persist headers in GraphiQL ([#1856)
e0b42f99 fix requires directive with nested field when entityResolver directive is used (#1863)
โก๏ธ 25c2cdcb Fix #1636](https://github.com/99designs/gqlgen/issues/1636) by updating gqlparser ([#1857)
c161ab38 fix #1770](https://github.com/99designs/gqlgen/issues/1770) minor error in getting-started.md ([#1771)
๐ 57a148f6 Remove outdated version reference so example is always for latest (#1851)
โก๏ธ Also update version reference to next
โก๏ธ Update getting-started.md
- โก๏ธ 0ab63614 Update quickstart (#1850)
๐ a8eba26d Fix #1777](https://github.com/99designs/gqlgen/issues/1777) by updating version constant and adding release checklist ([#1848)
- Revise to use script ๐คฆ
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->