All Versions
41
Latest Version
Avg Release Cycle
51 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.2.0-rc.1 Changes
๐ Features
- ๐ฅ Breaking Change:
AuthChecker
type is now "function or class" - update toAuthCheckerFn
if the function form is needed in the code - ๐ support class-based auth checker, which allows for dependency injection
- ๐ allow defining directives for interface types and theirs fields, with inheritance for object types fields (#744)
- ๐ allow deprecating input fields and args (#794)
- ๐ support disabling inferring default values (#793)
- ๐ support readonly arrays for roles of
@Authorized
decorator (#935) - โ add sync version of
buildTypeDefsAndResolvers
function (#803) ### ๐ Fixes - ๐ฅ Breaking Change: properly emit types nullability when
defaultValue
is provided and removeConflictingDefaultWithNullableError
error (#751) - ๐ allow defining extension on field resolver level for fields also defined as a property of the class (#776)
- ๐ fix throwing error when schema with dynamic default value was built again (#787)
- ๐ fix converting inputs with fields of nested array type (#801)
- disable broken exposing input types fields under a changed name via
@Field({ name: "..." })
### Others - ๐ฅ Breaking Change: update
graphql-js
peer dependency to^15.5.0
- ๐ฅ Breaking Change:
-
v1.1.1 Changes
November 04, 2020๐ Fixes
- ๐ fix crashing when of union's or interface type's
resolveType
function returnsundefined
ornull
(#731) - ๐ fix crashing when no reflected type available for fields with params decorators (#724)
- ๐ fix not registering object types implementing interface type when interface type is used as object type field type (#736)
- properly transform nested array of input type classes (#737)
- ๐ fix crashing when of union's or interface type's
-
v1.1.0 Changes
October 12, 2020๐ Features
- ๐ allow passing custom validation function as
validate
option tobuildSchema
- ๐ support defining deprecation reason and description of enum members (#714)
๐ Fixes
- ๐ฅ Breaking Change : throw error when wrong type of value provided as arg or input for
GraphQLISODateTime
andGraphQLTimestamp
scalars - don't include in schema the fields declared as
@FieldResolver
when that resolvers classes aren't provided inresolvers
array - ๐ fix grammar in
CannotDetermineGraphQLTypeError
error message - properly inherit extensions from parent class and its fields
- ๐ allow passing custom validation function as
-
v1.0.0 Changes
August 19, 2020๐ Features
- ๐ฅ Breaking Change : emit in schema only types actually used by provided resolvers classes (#415)
- ๐ฅ Breaking Change : update
graphql-js
peer dependency to^15.3.0
- ๐ฅ Breaking Change : update
graphql-query-complexity
dependency to^0.7.0
and drop support forfieldConfigEstimator
(usefieldExtensionsEstimator
instead) - ๐ฅ Breaking Change : introduce
sortedSchema
option inPrintSchemaOptions
and emit sorted schema file by default - ๐ฅ Breaking Change : make
class-validator
a peer dependency of version>=0.12.0
that needs to be installed manually (#366) - ๐ฅ Breaking Change : remove
CannotDetermineTypeError
and make other error messages more detailed and specific - ๐ฅ Breaking Change : remove legacy array inference - now explicit array syntax (
[Item]
) is required - โก๏ธ update
TypeResolver
interface to match withGraphQLTypeResolver
fromgraphql-js
- โ add basic support for directives with
@Directive()
decorator (#369) - โ add possibility to tune up the performance and disable auth & middlewares stack for simple field resolvers (#479)
- โก๏ธ optimize resolvers execution paths to speed up a lot basic scenarios (#488)
- โ add
@Extensions
decorator for putting metadata into GraphQL types config (#521) - โ add support for defining arguments and implementing resolvers for interface types fields (#579)
- โ add
{ autoRegisterImplementations: false }
option to prevent automatic emitting in schema all the object types that implements used interface type (#595) - ๐ allow interfaces to implement other interfaces (#602)
- ๐ฆ expose
createResolversMap
utility that generates apollo-like resolvers object - ๐ support IoC containers which
.get()
method returns aPromise
of resolver instance - โก๏ธ update deps to newest major versions (
tslib
,graphql-query-complexity
)
๐ Fixes
- ๐ฅ Breaking Change : stop returning null for
GraphQLTimestamp
andGraphQLISODateTime
scalars when returned value is not aDate
instance - now it throws explicit error instead - ๐ฅ Breaking Change : fix transforming and validating nested inputs and arrays (#462)
- ๐จ refactor union types function syntax handling to prevent possible errors with circular refs
- โ remove duplicated entries for resolver classes that use inheritance (#499)
- ๐ fix using
name
option on interface fields (#567) - ๐ fix not calling
authChecker
during subscribe phase for subscriptions (#578) - ๐ fix using shared union type in multiple schemas
- ๐ fix using shared interface type in multiple schemas
- ๐ fix calling field resolver without providing resolver class to
buildSchema
- ๐ fix generated TS union type for union type of object type classes extending themselves (#587)
- ๐ fix using shared union and interface types in multiple schemas when
resolveType
is used - properly inherit directives while extending
@InputType
or@ObjectType
classes (#626) - skip transforming empty array items into input classes
Others
- ๐ฅ Breaking Change : change build config to ES2018 - drop support for Node.js < 10.3
- ๐ฅ Breaking Change : remove deprecated
DepreciationOptions
interface - ๐ฅ Breaking Change : remove deprecated direct array syntax for declaring union types
-
v1.0.0-rc.3 Changes
June 29, 2020๐ Features
- ๐ฅ Breaking Change : remove legacy array inference - now explicit array syntax (
[Item]
) is required - ๐ฅ Breaking Change : update
graphql-js
peer dependency to^15.1.0
- โก๏ธ update deps to newest major versions (
tslib
,graphql-query-complexity
)
- ๐ฅ Breaking Change : remove legacy array inference - now explicit array syntax (
-
v1.0.0-rc.2 Changes
May 19, 2020๐ Features
- ๐ฆ expose
createResolversMap
utility that generates apollo-like resolvers object - ๐ support IoC containers which
.get()
method returns aPromise
of resolver instance
๐ Fixes
- properly inherit directives while extending
@InputType
or@ObjectType
classes (#626) - skip transforming empty array items into input classes
- ๐ฆ expose
-
v1.0.0-rc.1 Changes
May 03, 2020๐ Features
- ๐ฅ Breaking Change : emit in schema only types actually used by provided resolvers classes (#415)
- ๐ฅ Breaking Change : update
graphql-js
peer dependency to^15.0.0
- ๐ฅ Breaking Change : update
graphql-query-complexity
dependency to^0.5.0
and drop support forfieldConfigEstimator
(usefieldExtensionsEstimator
instead) - ๐ฅ Breaking Change : introduce
sortedSchema
option inPrintSchemaOptions
and emit sorted schema file by default - ๐ฅ Breaking Change : make
class-validator
an optional, peer dependency of version>=0.12.0
(#366) - ๐ฅ Breaking Change : remove
CannotDetermineTypeError
and make other error messages more detailed and specific - โก๏ธ update
TypeResolver
interface to match withGraphQLTypeResolver
fromgraphql-js
- โ add basic support for directives with
@Directive()
decorator (#369) - โ add possibility to tune up the performance and disable auth & middlewares stack for simple field resolvers (#479)
- โก๏ธ optimize resolvers execution paths to speed up a lot basic scenarios (#488)
- โ add
@Extensions
decorator for putting metadata into GraphQL types config (#521) - โ add support for defining arguments and implementing resolvers for interface types fields (#579)
- โ add
{ autoRegisterImplementations: false }
option to prevent automatic emitting in schema all the object types that implements used interface type (#595) - ๐ allow interfaces to implement other interfaces (#602)
๐ Fixes
- ๐ฅ Breaking Change : stop returning null for
GraphQLTimestamp
andGraphQLISODateTime
scalars when returned value is not aDate
instance - now it throws explicit error instead - ๐จ refactor union types function syntax handling to prevent possible errors with circular refs
- ๐ fix transforming and validating nested inputs and arrays (#462)
- โ remove duplicated entries for resolver classes that use inheritance (#499)
- ๐ fix using
name
option on interface fields (#567) - ๐ fix not calling
authChecker
during subscribe phase for subscriptions (#578) - ๐ fix using shared union type in multiple schemas
- ๐ fix using shared interface type in multiple schemas
- ๐ fix calling field resolver without providing resolver class to
buildSchema
- ๐ fix generated TS union type for union type of object type classes extending themselves (#587)
- ๐ fix using shared union and interface types in multiple schemas when
resolveType
is used
Others
- ๐ฅ Breaking Change : change build config to ES2018 - drop support for Node.js < 10.3
- ๐ฅ Breaking Change : remove deprecated
DepreciationOptions
interface - ๐ฅ Breaking Change : remove deprecated direct array syntax for declaring union types
-
v0.17.6 Changes
December 21, 2019๐ Fixes
- ๐ fix leaking resolver source code in
MissingSubscriptionTopicsError
error message (#489)
- ๐ fix leaking resolver source code in
-
v0.17.5 Changes
August 18, 2019๐ Features
- ๐ rename
DepreciationOptions
interface toDeprecationOptions
and deprecate the old one - โก๏ธ update deps to newest minor versions (
tslib
,semver
,graphql-query-complexity
andglob
) - ๐ support nested array types (
@Field(type => [[Int]])
) (#393) - ๐ deprecate the direct array syntax for union types
๐ Fixes
- ๐ fix errors on circular refs in union types (#364) by adding the function syntax (
() => TClassTypes
)
- ๐ rename
-
v0.17.4 Changes
May 12, 2019