Cucumber.js v0.10.0 Release Notes

Release Date: 2016-04-01 // about 8 years ago
  • 💥 Breaking changes

    • ✂ removed around hooks (Charlie Rudolph)

      • how to update: use separate before and after hooks. If this is not sufficient, please create an issue.
    • ⚡️ updated pending step interface (Charlie Rudolph)

      • how to update: change callback.pending() to callback(null, 'pending') or use one of the new pending step interfaces
    • ⚡️ updated tagged hook interface (Charlie Rudolph)

      • how to update:
      this.Before('@tagA', function() { ... })
      // becomes
      this.Before({tags: ['@tagA']}, function() { ... })
      
      this.Before('@tagA', '@tagB,@tagC', function() { ... })
      // becomes
      this.Before({tags: ['@tagA', '@tagB,@tagC']}, function() { ... })
      

    🆕 New Features

    • 👌 support hook specific timeouts (Charlie Rudolph)
    • reworked formatter error reporting (Charlie Rudolph)