Skip to content

Version 13.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 30 Nov 05:27
· 87 commits to master since this release

Major

  • Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0.
  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.
  • Removed ./package from the package exports field; the full package.json filename must be used in a require path.

Patch

  • Updated the graphql peer dependency to 0.13.1 - 16.
  • Updated dependencies.
  • Also run GitHub Actions CI with Node.js v17.
  • Simplified package scripts.
  • Renamed imports in the test index module.
  • Test the processRequest function with a GraphQL multipart request that has no files.
  • Test the processRequest function with an unparsable multipart request.
  • Replaced the form-data dev dependency with formdata-node, formdata-node, and node-abort-controller and refactored tests to align with web standards.
  • Refactored the processRequest function to remove the isobject dependency.
  • Improved the processRequest function, via #273:
    • Fixed ending requests from being handled incorrectly as aborting in edge cases, closing #272.
    • Fixed read streams created via the resolved Upload scalar value createReadStream method:
      • Not emitting the error event when the multipart request is aborted certain ways while the file is uploading.
      • Emitting incorrect error event details for multipart request file field parse errors.
  • Configured Prettier option singleQuote to the default, false.
  • Documentation tweaks.