Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

v6.0.0

Choose a tag to compare

@ApiaryBot ApiaryBot released this 11 Jan 20:14
· 1469 commits to master since this release
2a4d85e

6.0.0 (2019-01-11)

Compatibility

  • require Node.js 6.9; disallow Node.js 7 (aa7963b)

Code Refactoring

  • remove deprecated legacy JS hooks (e0287ed)
  • remove sandboxed JavaScript hooks (bc20b3c)
  • remove support for 'junit' reporter (f83bd00)
  • remove support for legacy 'blueprintPath' config option (4e5b6c6)
  • remove support for transaction names with leading '>' chars (4066e2e)
  • hack in deprecation errors for removed config options (f326809)

BREAKING CHANGES

  • Node.js < 6.9 and Node.js 7 are no longer supported
  • Dredd's 'junit' reporter is now called 'xunit'
  • If you have been using the deprecated interface of the JS hooks, you most likely already noticed it years ago, thanks to the warning which Dredd printed out for you. To migrate, use the 'beforeAll' and 'afterAll' hooks with '(transactions, callback)' signature for asynchronous functions, and '(transactions)' signature for synchronous functions.
  • If you are running Dredd programatically using its JS API and you're setting the 'blueprintPath' option, use the 'path' option instead.
  • Transaction names with leading '>' characters are not supported anymore. If you never used Dredd v0.5.0 or older, there's nothing you need to worry about. Otherwise use --names to generate new transaction names for your hooks.
  • Dredd doesn't support sandboxed JS hooks anymore. Use standard JS hooks instead.