Skip to content

Latest commit

 

History

History
115 lines (71 loc) · 6.54 KB

CHANGELOG.md

File metadata and controls

115 lines (71 loc) · 6.54 KB

Change log

vNEXT

  • Add argument validation in addMockFunctionsToSchema for 'schema' property in parameter object PR #321

v0.11.0

  • Remove dependency on graphql-subscription and use an interface for PubSub PR #295
  • Support schema AST as a type definition input PR #300
  • Update graphql typings to 0.9.0 PR #298

v0.10.1

v0.10.0

  • Restrict version range of graphql-js peer dependency to ^0.8.0 || ^0.9.0 PR #266

v0.9.2

  • Update graphql-js dependency to include 0.9.0 PR #264
  • Fix logErrors option so it logs errors if resolve function returns a promise PR #262

v0.9.1

  • use function reference instead of string for concatenateTypeDefs. PR #252

v0.9.0

  • Migrate from typed-graphql to @types/graphql. PR #249

v0.8.4

  • addSchemaLevelResolveFunction resolves once per operation type and not once globally. #220
  • Replace node-uuid with uuid package #227
  • Fix issue that prevented usage of custom scalars as arguments #224

v0.8.3

  • Remove peer dependency on graphql-subscriptions. #210

v0.8.2

  • Accept an async function for the schema level resolver. (@ephemer in #199)
  • Fix for new custom scalar support introduced in 0.8.1. (@oricordeau in #203

v0.8.1

v0.8.0

  • Update default resolve function to match the one from GraphQL.js (@stubailo in #183)
  • Move typed-graphql to optionalDependencies (@stubailo in #183)
  • Set new defaults for resolver validation to match GraphQL.js so that developers need to opt-in to advanced validation (@stubailo in #183):
    • requireResolversForArgs = false
      • requireResolversForNonScalar = false

v0.7.2

  • Eliminated babel and moved to native ES5 compilation. (@DxCx in #147)

v0.7.1

  • Fix dependency on lodash

v0.7.0

  • Various Bugfixes (@DxCx in #129)

    • Istanbul coverage was not working well due to Istanbul bug #549
    • Bluebird promise was not converted well on tests
    • "console.warn" got overwritten on tests
  • Migrated code from Javascript to Typescript (@DxCx in #129)

  • Deprecated addConnectorsToContext (@DxCx in #129)

  • Removed deprecated aplloServer (@DxCx in #129)

  • Removed testing on Node 5 (@DxCx in #129)

  • Changed GraphQL typings requirment from peer to standard (@DxCx in #129)

  • Change the missing resolve function validator to show a warning instead of an error (@nicolaslopezj in #134)

  • Add missing type annotations to avoid typescript compiler errors when 'noImplicitAny' is enabled (@almilo in #133)

v0.6.6

  • Added embedded Typescript definitions (@DxCx in #120)

  • Fix issue in addMockFunctionsToSchema when preserveResolvers is true and connector/logger is used. (@DxCx in #121)

  • Fix multiple issues in addMockFunctionsToSchema when preserveResolvers is true (support for Promises, and props defined using Object.defineProperty) (@sebastienbarre in #115)

  • Make allowUndefinedInResolve true by default (@jbaxleyiii in #117)

  • Add requireResolversForAllFields resolver validation option (@nevir in #107)

v0.6.4

v0.6.3

  • Unpin babel-core version to solve build problem (PR #92)
  • Added support for extend keyword to schemaGenerator #90

v0.6.2

  • Fix a bug with addSchemaLevelResolveFunction. It now runs once per tick (PR #91)

v0.5.2

  • Add addSchemaLevelResolveFunction to exports
  • Remove dist folder before prepublish to make sure files deleted in source are not included in build

v0.5.1

  • Updated GraphQL dependency to 0.6.0
  • Removed all tracer code, including Tracer, addTracingToResolvers and decorateWithTracer