Changelog History
Page 6
-
v0.4.4 Changes
August 21, 2018- โ 6f6622c6 Bump gqlparser to latest version
๐ 72659af4 Merge pull request #297 from 99designs/fix-dep-pruning
Explicitly import ambient imports so dep doesn't prune them
- cac3c729 Explicitly import ambient imports so dep doesn't prune them
๐ e6af26e0 Merge pull request #296 from heww/master
sort directives by name when gen
- fd09cd99 sort directives by name when gen
๐ 71917267 Merge pull request #292 from m4ppi/fix-doc
๐ Fix broken links in docs
- ๐ 05c73d9f Fix broken links in docs
๐ 5a0b56aa Merge pull request #285 from 99designs/fix-force-type
Stop force resolver from picking up types from matching fields
- 31478cf4 Stop force resolver from picking up types from matching fields
๐ ebdcf740 Merge pull request #283 from 99designs/speed-up-tests
โ Speed up tests
- โ 36e84073 Speed up tests
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.4.3 Changes
August 10, 2018๐ 3575c289 Merge pull request #281 from 99designs/introspection-default-args
๐ Fix missing default args on types
- 0๏ธโฃ b808253f Fix missing default args on types
๐ bf235296 Merge pull request #282 from 99designs/flakey-tests
โ Remove sleeps in tests
- e9c68f08 make appveyor less flakey
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.4.2 Changes
August 10, 2018- โก๏ธ 06b00d45 Update README.md
๐ 5c379a33 Merge pull request #279 from 99designs/integration-tests
โ Integration tests
7f20bdef disable tty for jest
โ bb0a89a0 exclude generated code from tests
c2bcff79 regenerate
45e22cb1 Add introspection schema check
๐ 53109cd0 Merge pull request #270 from 99designs/feat-handlers
stop pickup "github.com/vektah/gqlgen/handler" from GOPATH
โ ae82b94a convert existing tests to jest
f04820b1 address comment
โ 88730e2c Convert test directory into integration test server
๐ณ f372b1c9 Use docker in docker for the existing testsuite
๐ 0eb08ab9 Merge pull request #274 from 99designs/fix-variable-validation-data
Prevent executing queries on variable validation failures
47a7ac35 Prevent executing queries on variable validation failures
e6e323d0 stop pickup "github.com/vektah/gqlgen/handler" from GOPATH
e6005f6b fix mobile nav
๐ 5cdbc975 Merge pull request #267 from 99designs/authentication-docs
๐ Authentication docs
๐ 1871c4ce Add bold variant of Roboto to docs
๐ fc9fba09 Some minor edits to authentication docs
๐ d151ec8d Add docs on user authentication
8db3c143 Add structure to menu
๐ c57619e0 Merge pull request #260 from 99designs/init-improvements
Init Config Improvement
๐ 336b62ec Merge pull request #266 from 99designs/lint-friendly-decollision
๐ Make keyword decollision more lint friendly
- ๐ 2acbc245 Make keyword decollision more lint friendly
๐ f12f08a7 Merge pull request #264 from 99designs/docs
๐ CORS docs
a2a7c0e7 Eliminate font resize popin
๐ 8a7ed618 Fix errors docs
๐ 96e6aab2 Add CORS docs
๐ 0ab1c685 Merge pull request #263 from 99designs/add-logo
โ Add logo to doc site
6d39f868 Add logo to doc site
๐ d7241728 Better error on init if file exists
fb03bad9 Run init even if config is found
52b78793 Fix hard-coded server filename in init
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.4.1 Changes
August 04, 2018๐ 42f10ec9 Merge pull request #255 from 99designs/introspection-fixes
๐ Fix introspection api
- 7400221c Fix introspection api
๐ b35804ba Merge pull request #254 from oskanberg/patch-1
๐ Fix typo in introduction docs
๐ 84552437 Fix typo in introduction docs
โก๏ธ b5a48e3e Update README.md
โก๏ธ c20bb134 update badges
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.4.0 Changes
August 03, 2018๐ 7b5a3d74 Merge pull request #247 from 99designs/next
๐ 0.4.0 Release
๐ c0be9c99 Merge pull request #251 from 99designs/rewrite-imports
Rewrite import paths
- 4361401a Rewrite import paths
๐ f042328a Merge pull request #252 from 99designs/move-doc-site
๐ Move doc site
- ๐ 658a24d9 Move doc site
๐ 07b7e6ca Merge pull request #248 from 99designs/json-usenumber
๐ use json.Decoder.UseNumber() when unmarshalling vars
- 95fe07fe use json.Decoder.UseNumber() when unmarshalling vars
๐ c555f54c Merge pull request #245 from vektah/new-feature-docs
๐ New feature docs
๐ 825840aa Merge pull request #244 from vektah/array-coercion
โ Add implicit value to array coercion
๐ 90b40769 Merge pull request #246 from vektah/fix-introspection
๐ Fix introspection
๐ ef208c76 add docs for resolver generation
๐ e44d798d Add directives docs
62d4c8aa Ignore __ fields in instrospection
โก๏ธ bc204c64 Update getting started guide
b38c580a Return the correct mutation & subscription type
๐ 9397920c Add field name config docs
d2265f3d Add implicit value to array coercion
๐ 191c8ba0 Merge pull request #239 from vektah/directive-args
Directive args
3bef596d regenerate
4f37d170 Add directive args
๐ f78a6046 Merge pull request #241 from vektah/feat-lintfree
๐ Make more golint free generated code
๐ 19b58175 Merge remote-tracking branch 'origin/master' into HEAD
๐ c3fa1a55 Merge branch 'next' into feat-lintfree
๐ 17bfa2cb Merge pull request #240 from vektah/doc-fonts
๐ Use fonts from golang styleguide
- ๐ 64ef0571 Use fonts from golang styleguide
๐ 6b532383 Merge pull request #237 from vektah/feat-fieldmapping
โ Add model field mapping
4fb721ae address comment
๐ bf43ab3d Merge branch 'next' into feat-fieldmapping
๐จ 353319ca Refactor GoVarName and GoMethodName to GoFieldName etc...
๐ d7e24664 Add method support
๐ 17bcb322 Merge pull request #236 from vektah/generate-handler-on-init
Generate server on running init
๐ 600f4675 Merge pull request #238 from vektah/variable-validation
โ Add missing variable validation
d6a76254 Add missing variable validation
121e8db4 Generate server on running init
108bb6b4 Rename govarname to modelField
๐ f7f6f916 Make more lint friendly
69eab938 Add model field mapping
๐ ffee020c Merge pull request #235 from vektah/generate-resolver-on-init
Generate resolver on init
df95f003 Generate code after init
๐ง 58831ac1 Generate resolver if configured
๐ 7031264d Merge pull request #229 from vektah/fix-init-command
๐ Fixing init command
078bc985 Fixing init command
The init command always return file already exists if there are no configFilename specified
0๏ธโฃ This is caused by codegen.LoadDefaultConfig() hiding the loading details 0๏ธโฃ and always return the default config with no error while the init 0๏ธโฃ command code expects it to tell us if config exists in default locations.
0๏ธโฃ To avoid confusion I have splitted the loading config from default locations out into its own method so we can handle different cases ๐ better.
โ Additionally I also moved default config into a method so we always generating new a config instead of passing it around and potentially 0๏ธโฃ mutating the default config.
๐ 803711e9 Merge pull request #221 from vektah/middleware-stack
Implement FieldMiddleware Stack
0ec918bf Switch GoName to Name|ucFirst
5dc104eb Add middleware example for Todo
73a8e3a3 Fix some issues with directive middlewares
84163247 Regenerate
0e16f1fc Generate FieldMiddleware
๐ Moves it off of RequestContext and into generated land. This change has a basic implementation of how directive middlewares might work.
2748a19b Require Config object into NewExecutableSchema
๐ 09242061 Add Directives to Build
69e790c2 Add *Field to CollectedField
We need the Field Definition so that we can run directive middlewares for this field.
- d6813f6d Generarte
๐จ 764c6fda Refactor ResolverMiddleware to FieldMiddleware
This will allow us to include DirectiveMiddleware in the same middleware setup, that will run after Resolver middlewares.
๐ 7226e573 Merge pull request #225 from rongfengliang/patch-1
โก๏ธ Update getting-started.md
๐ 66593ffe Merge remote-tracking branch 'origin/master' into HEAD
๐ 8714f7fb hush metalinter
โก๏ธ 0dfb92a7 Update getting-started.md
CreateTodo UserID input should be UserId not User
๐ 0fa7977f Merge pull request #217 from vektah/resolver-middleware-all
โ Run Resolver Middleware For All Fields
7292be78 Rename CastType to AliasedType
This field stores a Ref if a type is a builtin that has been aliased. In most cases if this is set, we want to use this as the type signature instead of the named type resolved from the schema.
- ec928cad Regenerate examples
๐ 97f13184 Remove comment about ResolverMiddleware
Not true anymore!
- b512176c Run resolver middleware for all fields
๐ f67f8390 Merge pull request #218 from vektah/remove-old-resolvers
โ Remove old resolvers
๐ 1a3e4e99 Merge pull request #220 from vektah/feat-race
turn back -race option
- 40989b19 turn back -race option
โก๏ธ 1ba61fcb Update test & examples to use new resolver pattern
- chat
- dataloader
- scalar
- selection
- starwars
- todo
38708961 Stop generating two types of resolvers
๐จ In recent refactor we introduced a new pattern of resolvers which is ๐ better structured and more readable. To keep Gqlgen backward compatible ๐ we started generate two styles of resolvers side by side.
๐ It is now time to sunset the old resolver. This commit removes the old โก๏ธ resolver and update the generation code to use the new resolver directly.
- ๐ ffe42658 Merge pull request #208 from vektah/directives-skip-include
a69071e3 Pass context to CollectFields instead of RequestContext
Internally it can still get to RequestContext as required.
d02d17ae Add method for generating method name from field
โก๏ธ c7ff3208 Update gqlparser version to include default resolution
โ ce17cd90 Add default value test case
โ cbfae3d3 Add skip/include test cases
โ Adds a set of test cases for skip and include directives to the todo example. Also now conforms to spec if both are included.
ea0f821c Add skip/include directive implementation
This is a snowflake implementation for skip/include directives based on the graphql-js implementation. Skip takes precedence here.
- ebfde103 Pass request context through to CollectFields
๐ bab7abb2 Merge pull request #210 from vektah/feat-init
introduce gen & init subcommand
๐ 6ba508f9 Merge pull request #214 from vektah/gqlparser-schema-validation
โฌ๏ธ Bump gqlparser to get schema validation
๐ 138b4cea Bump gqlparser to get schema validation
๐ 08d7f7d0 Merge branch 'next' into feat-init
39f9dbf6 fix error from breaking change
โก๏ธ 41147f6f update Gopkg.lock
๐ 87d8fbea remove unused flag
๐ eff49d04 support init subcommand
c5810170 introduce cobra library
๐ c3c20f8f Merge remote-tracking branch 'origin/master' into HEAD
๐ 90df37f6 Merge pull request #205 from vektah/forward-credential-to-graphql-endpoint
๐ Use original credential for query request in playground
๐ 52343745 Merge pull request #206 from vektah/validation-locations
โก๏ธ Update gqlparser for validation locations
- โก๏ธ f4d31aa4 Update gqlparser for validation locations
๐ 9d473f8b Merge pull request #203 from vektah/99designs-announcement
Announcement: 99designs is now sponsoring gqlgen
๐ c2f1570d Merge pull request #204 from vektah/gqlparser-prelude
๐ Use shared prelude
004ec6a9 Add 99designs sponsorship news
548aed14 Use shared prelude
edb3ea4e Use original credential for query request in playg
Currently the playground doesn't forward any credentials when making query calls. This can cause problems if your playground requires credential logins.
๐ f855a89c Merge pull request #201 from cocorambo/remove-trailing-println
โ Remove trailing Println
- ๐ c41a6c36 Remove trailing Println
๐ 2692d3e0 Merge pull request #197 from vektah/new-parser
โ Integrate gqlparser
๐ 5796d47d Integrate gqlparser
โก๏ธ 55179a61 Update badges
๐ 01a4c677 Merge pull request #195 from jonstaryuk/master
โก๏ธ Update playground version
- โก๏ธ c52f24af Update playground version to 1.6.2
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.3.0 Changes
July 14, 2018๐ 381b3469 Merge pull request #194 from vektah/multiline-comments
๐ Fix multiline comments
๐ 112d68a6 only build master branch
4b3778e3 Fix multiline comments
๐ eb44925c Merge pull request #193 from vektah/validate-method-returns
validate method return types
- 164acaed validate method return types
๐ f478f816 Merge pull request #192 from vektah/strict-config
Strict config
- a1c02e7b Strict config
๐ 533dcba7 Merge pull request #191 from vektah/nullable-list-elements
๐ Support nullable list elements
- ๐ e0bf6afd Support nullable list elements
๐ 0780bf2e Merge pull request #190 from vektah/generated-forced-resolvers
๐ Allow forcing resolvers on generated types
- bf1823cd Allow forcing resolvers on generated types
๐ febd0358 Merge pull request #186 from vektah/error-redux
Error redux
b884239a clarify error response ordering
58e32bbf Drop custom graphql error methods
d390f9c6 Errors redux
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.2.5 Changes
July 13, 2018๐ 0a9709db Merge pull request #188 from vektah/fix-windows-gopath
๐ Fix windows gopath issue
๐ ea4f26c6 more fixes
1066953d Appveyor config
๐ f08d8b61 Fix windows gopath issue
โก๏ธ 9ade6b7a Update gettingstarted to use new resolvers
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.2.4 Changes
July 10, 2018๐ ac9e5a66 Merge pull request #180 from vektah/import-alias-before-finalize
๐ Fix a bug custom scalar marshallers in external packages
- ๐ฆ 160ebab5 Fix a bug custom scalar marshallers in external packages
๐ 43212c04 Merge pull request #179 from vektah/models-config-error
๐ Improve Output Filename and Package Handling
๐ฆ 936bc76e Better handling of generated package name
5d3c8ed2 Inline ImportPath strings
fc43a92a Check that exec and model filenames end in *.go
๐ฆ 6d38f77d Handle package name mismatch with dirname
๐ฆ ebf1b2a5 Add error message when specifying path in package name
๐ฆ c8355f48 Check models config for package-only specs
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.2.3 Changes
July 08, 2018- ๐ 6391596d Add some basic docs on the new config file
๐ a9c3af86 Merge pull request #176 from vektah/config-search-paths
Search for config
- 25cfbf08 Search for config
๐ bff3356b Merge pull request #175 from vektah/lint-all-packages
๐ gometalinter should cover all packages
- ๐ 61f37173 gometalinter should cover all packages
๐ ce657044 Merge pull request #173 from vvakame/feat-resolver-hint
โ add resolver option support to field
๐ 57b8279e Merge pull request #172 from vvakame/feat-newconfig
switch to .gqlgen.yml
๐ fcfceefb add resolver option support to field
โก๏ธ c7ce1cbb update docs
๐ 42948153 move to .gqlgen.yml
๐ 325c45a4 Merge pull request #171 from vvakame/add-gitignore
โ add .idea/ to .gitignore
- aa4cec9b add .idea/ to .gitignore
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->
-
v0.2.2 Changes
July 05, 2018- f79b6a52 cleanup new config
๐ f0a08617 Merge pull request #163 from vvakame/feat-types-json
๐ support .gqlgen.yml
๐ faf095fc Merge pull request #166 from vektah/validate-at-end
Validate at end
fca1e08e shh errcheck
cc78971e Dont show compilation errors until after codegen
9f6ff0cf Convert todo example to new resolver syntax
8577ceab address comment
86dcce73 Add format check to -typemap argument
๐ 5debbc6a Implement types.yaml parsing
๐จ ecf56003 Refactor types.json parsing
๐ b16e8429 Merge pull request #159 from vektah/enum-only-generation
Dont skip model generation if there are enums defined
3f751a40 Dont skip model generation if there are enums defined
๐ 588aeacb more tutorial fixes
๐ dc472965 Merge pull request #157 from johncurley/fix-docs-argument
โก๏ธ Updated mutation to take correct argument
- โก๏ธ 88a84f83 Updated mutation to take correct argument
๐ 404f0b0d Merge pull request #151 from qdentity/fix-longer-gopath
๐ Fix bug with multiple GOPATH full package name resolving
๐ฆ f66e2b3b Fix bug with multiple GOPATH full package name resolving
๐ฆ This commit fixes the bug where GOPATH values that are longer than the input package name cause 'slice bounds out of range' errors.
<!-- end of Commits --> <!-- end of Else -->
<!-- end of If NoteGroups -->