All Versions
143
Latest Version
Avg Release Cycle
25 days
Latest Release
717 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v3.0.3 Changes
September 23, 2017 -
v3.0.2 Changes
September 13, 2017π New Features
- π
defineParameterType
: new optionsuseForSnippets
andpreferForRegexpMatch
. Please see documentation for usage.
π Bug Fixes
- π fix
usage
andusage-json
formatters when there are undefined steps
π Deprecations
- π
defineParameterType
:typeName
option is deprecated in favor ofname
- π
-
v3.0.1 Changes
August 28, 2017 -
v3.0.0 Changes
August 08, 2017π₯ BREAKING CHANGES
- π
pretty
formatter has been removed. All errors are now reported in apretty
format instead. Theprogress
formatter is now the default. - π Major changes to custom formatter and custom snippet syntax APIs due to rewrite in support of the event protocol. Please see the updated documentation.
- β Remove
registerHandler
andregisterListener
. UseBeforeAll
/AfterAll
for setup code. Use the event protocol formatter if used for reporting. Please open an issue if you have another use case. - β Remove deprecated
addTransform
. UsedefineParameterType
instead. cucumber-expressions
:- using an undefined parameter type now results in an error
{stringInDoubleQuotes}
is now{string}
which works for strings in single or double quotes
- π Undefined steps fail the build in non-strict mode. Non-strict mode only allows pending steps now.
π New Features
- β Add
--i18n-languages
and--i18n-keywords <ISO 639-1>
CLI options - β Add
BeforeAll
/AfterAll
hooks for suite level setup / teardown - β Add event protocol formatter
cucumber-expressions
:- Add built in
{word}
parameter type which is equivalent to[A-Za-z0-9_]+
- Allow multiple parameter types to use the same regular expression
- Add built in
- π Improve error message when using multiple asynchronous interfaces
π Bug Fixes
- π Fix support code line and uri references when using direct imports
- π
-
v2.3.1 Changes
June 09, 2017π New Features
- pass step specific options to definition function wrapper (#838, Εukasz Gandecki)
-
v2.3.0 Changes
June 01, 2017π New Features
- Add support code aliases for every method in the [support code API](./docs/support_files/api_reference.md). The following are now equivalent: ```javascript // Using defineSupportCode var {defineSupportCode} = require('cucumber');
defineSupportCode(function({Given}) { Given(/a step$/, function() {}); });
// Using aliases var {Given} = require('cucumber');
Given(/a step$/, function() {});
(Nico Jansen and Εukasz Gandecki)
-
v2.2.0 Changes
May 20, 2017π New Features
- β Add
progress-bar
formatter inspired by fuubar-cucumber and fuubar which outputs a progress bar and errors as they happen
- β Add
-
v2.1.0 Changes
May 12, 2017π Bug Fixes
- throw descriptive error message when running a global install
-
v2.0.0-rc.9 Changes
March 16, 2017π Bug Fixes
- π dependency: fix use of gherkin to not rely on removed field
-
v2.0.0-rc.8 Changes
March 10, 2017π Bug Fixes
- generated step definition snippets are not found (#732, Aslak HellesΓΈy)
- catch attempt to define duplicate parameter type regular expression (#780, Aslak HellesΓΈy)
- catch errors in parameter type transform functions (Aslak HellesΓΈy)
π New Features
- all async parameter type transform functions (Aslak HellesΓΈy)
- π make all formatters available when requiring
π Deprecations
- π
addTransform
was deprecated in favor ofdefineParameterType
π Documentation
- normalize syntax highlighting (#726, Martin Delille)
- π fix setWorldConstructor example