Skip to content

Version 2.2.0

Choose a tag to compare

@jaydenseric jaydenseric released this 12 Aug 09:45
· 107 commits to master since this release

Minor

  • Added a new execute middleware validationRules option.

Patch

  • Updated dev dependencies.
  • Ensure only desired execute middleware options apply to the GraphQL execute function.
  • Move tests to files adjacent to source files.
  • Renamed the isPlainObject helper to isEnumerableObject and added tests.
  • Moved isEnumerableObject checks into the checkOptions helper and added tests.
  • Renamed the checkSchema helper to checkGraphQLSchema and added tests.
  • Tweaked option related error messages.
  • Significantly simplified test assertions using t.throws and t.match.
  • Moved JSDoc type defs into src/index.js.
  • Renamed the MiddlewareOptionsOverride JSDoc type to ExecuteOptionsOverride.
  • Tweaked JSDoc descriptions.
  • Consistent JSDoc syntax style for array types.
  • Prettier errorHandler JSDoc example source code formatting.
  • Moved an execute middleware constant from function to module scope.
  • Added “Minor” and “Patch” subheadings to old changelog entries.