All Versions
41
Latest Version
Avg Release Cycle
51 days
Latest Release
-

Changelog History
Page 1

  • v1.2.0-rc.1 Changes

    ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking Change: AuthChecker type is now "function or class" - update to AuthCheckerFn 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 remove ConflictingDefaultWithNullableError 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
  • v1.1.1 Changes

    November 04, 2020

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix crashing when of union's or interface type's resolveType function returns undefined or null (#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)
  • v1.1.0 Changes

    October 12, 2020

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ allow passing custom validation function as validate option to buildSchema
    • ๐Ÿ‘Œ 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 and GraphQLTimestamp scalars
    • don't include in schema the fields declared as @FieldResolver when that resolvers classes aren't provided in resolvers array
    • ๐Ÿ›  fix grammar in CannotDetermineGraphQLTypeError error message
    • properly inherit extensions from parent class and its fields
  • 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 for fieldConfigEstimator (use fieldExtensionsEstimator instead)
    • ๐Ÿ’ฅ Breaking Change : introduce sortedSchema option in PrintSchemaOptions 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 with GraphQLTypeResolver from graphql-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 a Promise of resolver instance
    • โšก๏ธ update deps to newest major versions (tslib, graphql-query-complexity)

    ๐Ÿ›  Fixes

    • ๐Ÿ’ฅ Breaking Change : stop returning null for GraphQLTimestamp and GraphQLISODateTime scalars when returned value is not a Date 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)
  • 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 a Promise of resolver instance

    ๐Ÿ›  Fixes

    • properly inherit directives while extending @InputType or @ObjectType classes (#626)
    • skip transforming empty array items into input classes
  • 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 for fieldConfigEstimator (use fieldExtensionsEstimator instead)
    • ๐Ÿ’ฅ Breaking Change : introduce sortedSchema option in PrintSchemaOptions 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 with GraphQLTypeResolver from graphql-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 and GraphQLISODateTime scalars when returned value is not a Date 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)
  • v0.17.5 Changes

    August 18, 2019

    ๐Ÿ”‹ Features

    • ๐Ÿ—„ rename DepreciationOptions interface to DeprecationOptions and deprecate the old one
    • โšก๏ธ update deps to newest minor versions (tslib, semver, graphql-query-complexity and glob)
    • ๐Ÿ‘Œ 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)
  • v0.17.4 Changes

    May 12, 2019

    ๐Ÿ”‹ Features

    • โž• add support for creating custom parameter decorators (#329)
    • ๐Ÿ‘ allow to provide custom subscribe function in @Subscription decorator (#328)