Skip to content

Releases: MichalLytek/type-graphql

0.16.0

22 Dec 16:21
Compare
Choose a tag to compare

Features

  • add support for default values in schema (#203)
  • add support for lists with nullable items (#211)

Fixes

  • fix browser shim (compatibility with polyfills for decorator support)

0.15.0

17 Oct 19:19
Compare
Choose a tag to compare

Features

  • Breaking Change: upgrade graphql to ^14.0.2, graphql-subscriptions to ^1.0.0 and @types/graphql to ^14.0.2
  • update all other dependencies
  • drop support for Node.js v9
  • add capability to emit the schema definition file (*.gql) as a buildSchema option
  • add emitSchemaDefinitionFile helper function for emitting the schema SDL

0.14.0

08 Sep 12:25
Compare
Choose a tag to compare

Features

  • Breaking Change: change ClassType type and export it in package index
  • Breaking Change: refactor generic createUnionType to remove the 10 types limit (note: requires TypeScript >=3.0.1)
  • add support for subscribing to dynamic topics - based on args/ctx/root (#137)
  • add support for query complexity analysis - integration with graphql-query-complexity (#139)

0.13.1

14 Aug 17:32
Compare
Choose a tag to compare

Fixes

  • fix missing loosely typed overload signature for createUnionType (remove the 10 types limit)

0.13.0

07 Aug 17:42
Compare
Choose a tag to compare

Features

  • make class-validator a virtual peer dependency and update it to newest 0.9.1 version
  • add support for creating scoped containers (#113)

0.12.3

10 Jul 12:47
Compare
Choose a tag to compare
0.12.3 Pre-release
Pre-release

Features

  • add reflect-metadata checks and informative error if no polyfill provided
  • update @types/graphql to latest version (^0.13.3)

Fixes

  • fix throwing error when of => objectType wasn't provided in abstract resolver class
  • fix calling Object.assign with boolean arguments (#111)

0.12.2

23 Jun 10:43
Compare
Choose a tag to compare
0.12.2 Pre-release
Pre-release

Features

  • add support for using type classes in browser (configure webpack to use decorators shim)

Fixes

  • fix swallowing false argument value (#101)

0.12.1

06 Jun 19:10
Compare
Choose a tag to compare
0.12.1 Pre-release
Pre-release

Fixes

  • fix bug with overriding methods from parent resolver class (#95)

0.12.0

01 Jun 15:42
Compare
Choose a tag to compare
0.12.0 Pre-release
Pre-release

Features

  • Breaking Change: remove deprecated ActionData and FilterActionData interfaces
  • add support for resolver classes inheritance
  • add name decorator option for @Field and @FieldResolver decorators that allows to set the schema name different than the property name

0.11.3

16 May 10:02
Compare
Choose a tag to compare
0.11.3 Pre-release
Pre-release

Features

  • make auth checker feature generic typed (default string for backward compatibility)