Releases: 99designs/gqlgen
Releases · 99designs/gqlgen
v0.7.2
v0.7.1
v0.7.0
Changed
- We no longer recommend installing gqlgen on your gopath/bin, instead create a script - #416
- Underscores will now be ignored for matching fields to model methods - #370
- If
errors
is present in the response it will be sent first - #369 - Updated to latest version of graphql-playground - #409
- Moved our docs to render - #425
- Floats will now handle up to 64bits of precision on the wire, instead of truncating to 6 decimal places - #449
Added
- Multiple schema files can be now be loaded, see config docs - #389
- Added pluggable tracing system - #392
- Added gqlgen-contrib with tracing implementations for opentracing, opencensus and apollo tracing.
- The current resolvers errors can now be fetched from context - #411
- Model methods can now optionally receive a context param - #422
- Introspection can now be disabled - #447
Fixed
- Fixed a pointer comparison issue when binding to slice types - #439
- Updated to v1.0.0 of gqlparser. Heaps of extra validation messages and bugs fixed
Removed
- The opentracing implementation has been moved to https://github.com/99designs/gqlgen-contrib
v0.6.0
Changed
- Signpost methods are generated for empty interfaces - #335
- Non-Required arguments with defaults keep their pointers (
foo: Int = 1
->foo *int
) - #359
Added
- Extensions can now be added to the response via the RequestContext - #334
- Payload of websocket init message can now be fetched - #348
Fixed
v0.5.1
v0.5.0
Changed
- Errors that create nulls in required fields will now invalid the parent object, this behavior will bubble - #298
- HTTP GET requests can no longer do mutations #325
Added
- Limits can now be set on query complexity, preventing DOS attacks #315
- Ability to bind fields based on struct tags #308
- Gopath is now validated when starting gqlgen #312
- The parent result (
obj
) can now be accessed by directives and from context #301 #314 - Query validation is now memoized across requests #318
- Descriptions have been added to generated code #320
gqlgen version
now reports the current version #326
Fixed
- Examples and doc cleanups #298 #304
- Introspection API fixes #307
- Fixed a bug in the graphql client that was hiding errors #311
gqlgen init
now works on windows #299
Removed
- json typemaps are no longer supported #321
- old cli flags
package
,modelPackage
,exec
,server
,models
have been removed, these are available in config #322
Shoutout to @edsrzf @vvakame @porty @android @codyleyhan @jekaspekas for bringing us another great release!
v0.4.4
Fixed
- Forcing resolvers for existing fields no longer looks at the existing fields pointers
- Directives are now sorted in the generated code, preventing non deterministic ordering
- The gqlgen command now explicitly depends on the code required to run generated code, preventing dep from pruning things that are required
Changed
- Switching to vX.X.X tags so we can start experimenting with go modules
0.4.3
0.4.2
Fixed:
gqlgen init
now has a better error message if config file already exists- keyword collisions on args like
type
will now use the more linter friendlytypeArg
instead oftype_
github.com/vektah/gqlgen/handler
will now be imported correctly- variable validation errors will no longer double up on responses
- NON_NULL types will now be returned by introspection correctly and introspection has better test coverage