All Versions
41
Latest Version
Avg Release Cycle
51 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v0.8.1 Changes
๐ Features
- โ add
@Info()
decorator for injecting GraphQL resolve info to resolvers - โ add support for injecting parts of
root
andcontext
objects with@Root("field")
and@Ctx("field")
decorators
- โ add
-
v0.8.0 Changes
๐ Features
- โ add base support for GraphQL enums using TypeScript enums
- โ add support for defining GraphQL unions
- โ add support for importing resolvers from file path glob
- ๐ deprecate decorators with
GraphQL
prefix - use@ArgsType
,@InputType
,@InterfaceType
,@ObjectType
and@Resolver
instead ### ๐ Fixes - ๐ fix not working array type notation in circular dependencies (correct thunk generation)
-
v0.7.0 Changes
๐ Features
- โ add authorization feature -
@Authorized
decorator andauthChecker
function in schema options (see docs) - โ add support for defining array type using mongoose-like notation
[Type]
- ๐ฅ Breaking Change: remove deprecated
@GraphQLArgumentType
decorator - use@GraphQLArgsType
instead
- โ add authorization feature -
-
v0.6.0 Changes
๐ Features
- โ add support for defining GraphQL interfaces and implementing it by object types
- โ add support for extending input, args, object and interface types classes
- โ add support for implementing GraphQL interfaces without decorators duplication
- ๐ฅ Breaking Change: make
buildSchema
async - now it returns a Promise ofGraphQLSchema
- ๐ rename and deprecate
@GraphQLArgumentType
decorator - use@GraphQLArgsType
instead ### ๐ Fixes - ๐ allow for no args in
@GraphQLResolver
decorator to keep consistency with other resolver classes
-
v0.5.0 Changes
๐ Features
- create instance of root object when it's type provided in resolver
- ๐ change
Date
scalar names toGraphQLISODateTime
andGraphQLTimestamp
- ๐ support only
Date
objects (instances) serialization inGraphQLTimestamp
(and inGraphQLISODateTime
too) - โก๏ธ update package dependencies
- โ add test suite with 92%+ coverage ### ๐ Fixes
- ๐ฅ Breaking change: switch array
nullable
option behavior from[Type]!
to[Type!]
- โ add more detailed type reflection error message (parameters support)
- ๐ fix
ResolverInterface
resolver function type (allow additional parameters) - โ add support for named param in
@GraphQLResolver
lambda and for object class as param
-
v0.4.0 Changes
๐ Features
- โ add basic support for automatic arguments and inputs validation using
class-validator
- โ add interface
ResolverInterface
for type checking of resolver class methods (field resolvers) - โก๏ธ update
graphql
dependency from^0.12.3
to^0.13.0
### ๐ Fixes - ๐ fix default values for arg/input fields (class property initializers) - use
new
instead ofObject.create
- โ add basic support for automatic arguments and inputs validation using
-
v0.3.0 Changes
๐ Features
- โ add support for descriptions in schema (types, args, queries, etc.)
- โ add support for declaring deprecation reason on object fields and queries/mutations ### ๐ Fixes
- ๐ fix scalars ID alias (GraphQLID not GraphQLString)
-
v0.2.0 Changes
๐ Features
- โ add support for Date type (built-in scalar)
- โ add support for custom scalars (and mapping it to TS types)
- ๐ change
@Context
decorator name to@Ctx
-
v0.1.2 Changes
๐ Fixes
- ๐ fix missing type args in schema when declared in field resolver
- ๐ fix missing resolver function when defined as type field method
- ๐ fix creating instances of root object when internal fields are Promises (switch from
plainToClass
to vanilla JS) - ๐ fix converting field and resolvers args errors while converting gql objects (weird
prototype
stuffs)
-
v0.1.1 Changes
๐ Features
- โ add support for omitting return type when use type options, in selected decorators (
@Field
,@Arg
) ### ๐ Fixes - ๐ fix class getter resolvers bug - missing fields from prototype (
plainToClass
bug)
- โ add support for omitting return type when use type options, in selected decorators (