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

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 and context objects with @Root("field") and @Ctx("field") decorators
  • 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 and authChecker 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
  • 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 of GraphQLSchema
    • ๐Ÿ—„ 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 to GraphQLISODateTime and GraphQLTimestamp
    • ๐Ÿ‘Œ support only Date objects (instances) serialization in GraphQLTimestamp (and in GraphQLISODateTime 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 of Object.create
  • 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)