diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d53d333acd..af09f4bfec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,289 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/99designs/gqlgen/compare/v0.16.0...HEAD) +## [Unreleased](https://github.com/99designs/gqlgen/compare/v0.17.1...HEAD) + +## [v0.17.1](https://github.com/99designs/gqlgen/compare/v0.17.0...v0.17.1) - 2022-03-02 +
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 + + + + + + +## [v0.17.0](https://github.com/99designs/gqlgen/compare/v0.16.0...v0.17.0) - 2022-03-01 +- 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](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. +- [Release notes](https://github.com/ajv-validator/ajv/releases) +- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6) + +--- +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](https://github.com/go-yaml/yaml) from 2.2.4 to 2.2.8. +- [Release notes](https://github.com/go-yaml/yaml/releases) +- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.4...v2.2.8) + +--- +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](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. +- [Release notes](https://github.com/node-fetch/node-fetch/releases) +- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7) + +--- +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 🤦 + +
+ + + + + ## [v0.16.0](https://github.com/99designs/gqlgen/compare/v0.15.1...v0.16.0) - 2022-01-24 +- b90f9750 Merge branch 'master' of github.com:99designs/gqlgen + +- 99523e44 Prepare for v0.16.0 release (#1842) + +- 0563146c Prepare for v0.16.0 release +
7cefef26 add PrependPlugin (#1839) * add PrependPlugin @@ -250,7 +527,7 @@ Also added `go:generate` in federation entity resolver tests to make it simpler To test: ``` -go generate ./... && cd _examples/ && go generate ./... && cd .. +go generate ./... && cd example/ && go generate ./... && cd .. go test -race ./... && cd example && go test -race ./... && cd .. ``` @@ -341,7 +618,7 @@ To run tests: * removed unused const in tests -* Update _examples/chat/readme.md +* Update example/chat/readme.md
@@ -867,8 +1144,8 @@ listed in a few example readmes [2]. Using relative paths from the respective example directory should be clear enough. [2]: -_examples/todo/server/server.go:10:2: no required module provides package github.com/99designs/gqlgen/_examples/todo; to add it: - go get github.com/99designs/gqlgen/_examples/todo +example/todo/server/server.go:10:2: no required module provides package github.com/99designs/gqlgen/example/todo; to add it: + go get github.com/99designs/gqlgen/example/todo @@ -5071,10 +5348,10 @@ Performance improvments goos: linux goarch: amd64 -pkg: github.com/99designs/gqlgen/_examples/starwars +pkg: github.com/99designs/gqlgen/example/starwars BenchmarkSimpleQueryNoArgs-8 300000 25093 ns/op 6453 B/op 114 allocs/op PASS -ok github.com/99designs/gqlgen/_examples/starwars 10.807s +ok github.com/99designs/gqlgen/example/starwars 10.807s @@ -5083,10 +5360,10 @@ ok github.com/99designs/gqlgen/_examples/starwars 10.807s go test -benchtime=5s -bench=. -benchmem goos: linux goarch: amd64 -pkg: github.com/99designs/gqlgen/_examples/starwars +pkg: github.com/99designs/gqlgen/example/starwars BenchmarkSimpleQueryNoArgs-8 200000 32125 ns/op 6277 B/op 118 allocs/op PASS -ok github.com/99designs/gqlgen/_examples/starwars 9.768s +ok github.com/99designs/gqlgen/example/starwars 9.768s @@ -5095,10 +5372,10 @@ ok github.com/99designs/gqlgen/_examples/starwars 9.768s go test -benchtime=5s -bench=. -benchmem goos: linux goarch: amd64 -pkg: github.com/99designs/gqlgen/_examples/starwars +pkg: github.com/99designs/gqlgen/example/starwars BenchmarkSimpleQueryNoArgs-8 200000 32680 ns/op 6357 B/op 126 allocs/op PASS -ok github.com/99designs/gqlgen/_examples/starwars 9.901s +ok github.com/99designs/gqlgen/example/starwars 9.901s @@ -8187,7 +8464,7 @@ package "query" does not depend on "schema" any more - 1a959516 refactor -- f8cb11c1 _examples/starwars: use interface base type to make type assertions nicer +- f8cb11c1 example/starwars: use interface base type to make type assertions nicer - 746da4b8 star wars example: friendsConnection @@ -8315,7 +8592,7 @@ This reverts commit fb3a6fc969b0c8c286c7d024a108f5696627639c. - d70d16c4 added server example -- 6f9a89db separate _examples/starwars package +- 6f9a89db separate example/starwars package - e4060db5 added support for directives