Skip to content

Latest commit

 

History

History
768 lines (646 loc) · 31.9 KB

CHANGELOG.md

File metadata and controls

768 lines (646 loc) · 31.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

15.1.0 - 2022-04-21

Added

  • [JavaScript] Add CucumberExpression.ast and expose the AST types.

15.0.2 - 2022-03-15

Fixed

  • Add missing name field in CommonJS package file (#87)

15.0.1 - 2022-01-04

Fixed

  • Fixed release scripts

15.0.0 - 2022-01-04

Added

  • [Ruby,JavaScript,Go] Add bigdecimal, biginteger parameter types (#42)
  • [.NET] Implementation of Cucumber Expressions by porting the Java parser (#1743)
  • [Python] Added Python Cucumber Expressions (#65)

Changed

  • [Go] Parameters of type {float} are now parsed as float32 (previously it was float64). Use {double} if you need float64. (#42)

14.0.0 - 2021-10-12

Changed

  • TypeScript: Group#value can no longer be undefined (#16)
  • TypeScript: Argument is no longer generic (#16)
  • Go: Module renamed to match github repository(#24)

13.1.3 - 2021-09-24

Fixed

  • Fix release for the Go implementation

13.1.2 - 2021-09-24

Fixed

  • Fix release for the Go implementation
  • Minor fixes in the README.md links to documentation

13.1.1 - 2021-09-24

Fixed

  • Fix misc release actions

13.1.0 - 2021-09-24

Added

  • [JavaScript] Support for EcmaScript modules (aka ESM). (#1743)

13.0.1 - 2021-09-15

Changed

Fixed

Removed

  • Remove deprecated CucumberExpressionGenerator#generateExpression method. (#1752)

12.1.3 - 2021-09-01

Fixed

12.1.2 - 2021-08-17

Changed

  • [Go] Move module paths to point to monorepo (#1550)
  • [Java] Upgraded apiguardian to v1.1.2

12.1.1 - 2021-04-06

Fixed

  • [Ruby] use Array#select instead of Array#filter. The latter is an alias that was introduced in Ruby 2.6.0. (aslakhellesoy)

12.1.0 - 2021-04-06

Added

  • [Ruby] Add UndefinedParameterTypeError#undefined_parameter_type_name (#1460 aslakhellesoy)

12.0.1 - 2021-04-06

Fixed

  • [JavaScript] Fix issue with some files may not appear in published package (#1452)
  • [Java] Support character in BuiltInParameterTransformer. (#1405)

12.0.0 - 2021-02-09

Changed

11.0.2 - 2021-02-09

Fixed

  • [JavaScript] revert breaking changes in 11.0.1 (#1352)

11.0.1 - 2021-02-07

Fixed

11.0.0 - 2020-12-10

Added

Changed

  • Some expressions that were valid in previous versions may now be invalid
  • Some expressions that were invalid in previous versions may now be valid

Fixed

  • [Go, Java, JavaScript, Ruby] New handwritten parser, which fixes several long-standing bugs. (#601 #726 #767 #770 #771 mpkorstanje)
  • [Go] Support for Go 1.15

Removed

  • [JavaScript] Removed webpacked JavaScript from distribution

10.3.0 - 2020-08-07

Added

  • [JavaScript] export GeneratedExpression

10.2.2 - 2020-07-30

Fixed

10.2.1 - 2020-06-23

Fixed

10.2.0 - 2020-05-28

Added

  • [Java] Add support for Optional (#1006 gaeljw, mpkorstanje)
  • [Java] Enable consumers to find our version at runtime using clazz.getPackage().getImplementationVersion() by upgrading to cucumber-parent:2.1.0 (#976 aslakhellesoy)

10.1.0 - 2020-04-14

Changed

  • [Java] CucumberExpression and RegularExpression are now public.

Fixed

  • [Java] Minor performance improvement for matching regular expressions steps.

10.0.0 - 2020-03-31

Changed

  • [JavaScript] All array return values and function parameters are now declared as TypeScript ReadOnlyArray

9.0.0 - 2020-02-14

Added

  • [JavaScript, Ruby] Added ExpressionFactory, which is now the preferred way to create Expression instances.

Deprecated

  • [Ruby] CucumberExpression and RegularExpression constructors should not be used directly. Use ExpressionFactory#create_expression instead.

Removed

  • [Java, JavaScript] CucumberExpression and RegularExpression are no longer part of the public API.
  • [JavaScript] remove support for Node 8, which is now EOL

8.3.1 - 2020-01-10

8.3.0 - 2019-12-10

Added

  • [JavaScript] export Argument, Group and Expression types

8.2.1 - 2019-11-11

Fixed

  • Fix webpack packaging (simplify by assigning to window.CucumberExpressions)

8.2.0 - 2019-11-11

Added

8.1.0 - 2019-10-31

Added

  • Expose Argument#getParameterType() method. Needed by Cucumber protobuf formatters. (#781 aslakhellesoy)

8.0.2 - 2019-10-28

Fixed

  • [Go] Change Go module name to github.com/cucumber/cucumber-expressions-go/v8 (aslakhellesoy)
  • Fix captured empty strings being undefined (#746 #754 davidjgoss)

8.0.1 - 2019-10-07

Fixed

8.0.0 - 2019-08-11

Added

Changed

Fixed

7.0.2 - 2019-06-15

Fixed

  • Support Boolean in BuiltInParameterTransformer (#604 tommywo)

7.0.0 - 2019-03-22

Fixed

  • Javascript release process
  • Version numbering 🙈

6.6.2 - 2019-03-22

6.2.3 - 2019-03-22

Fixed

  • Ruby release process working again

6.2.2 - 2019-03-16

Changed

Fixed

6.2.1 - 2018-11-30

Fixed

  • (Java) Improve heuristics for creating Cucumber/Regular Expressions from strings (#515 #518 aslakhellesoy)

6.2.0 - 2018-10-28

Added

6.1.2 - 2018-10-11

6.1.1 - 2018-10-11

Fixed

  • (Java) Add the ability to supply an alternative algorithm for compiling java.util.regex.Pattern to work around a limitation on Android (and other platforms). (#494 #498 lsuski)

6.1.0 - 2018-09-23

Added

  • (Java) Added ParameterType.fromEnum(MyEnumClass.class) to make it easier to register enums. (#423 aslakhellesoy)

Fixed

  • java: The text between () (optional text) can be unicode. (#473 savkk
  • The built-in {word} parameter type handles unicode (any non-space character) (#471 savkk
  • Parenthesis inside character class should not be treated as capture group. (#454 #461 #463 #464 aidamanna spicalous)

Removed

6.0.1 - 2018-06-14

Added

  • Allow ParameterType with no name (nil, null, ""). Useful when the Parameter Type is only used in conjunction with Regular Expressions. (#387 #410 aslakhellesoy)

Fixed

6.0.0 - 2018-05-30

Changed

  • Throw an error if a parameter type is used inside optional text parenthesis, or with alternative text. (#360 aslakhellesoy)

Fixed

5.0.19 - 2018-05-24

Fixed

  • java: Escape closing braces to avoid PatternSyntaxException on Android

5.0.18 - 2018-05-21

Changed

  • java: The {byte} parameter type no longer uses hexadecimal, but uses the same pattern as {short}, {int} and {long}.

Fixed

  • The / character can be escaped with \/ in order to keep a literal / rather than interpreting it as alternation character. Generated expressions will use \/ if the original text contains /. (#391 #392 aslakhellesoy)

5.0.17 - 2018-04-12

Changed

  • java: Swapped 2 parameters in a ParameterType constructor to make it consistent with overloaded constructors.

5.0.16 - 2018-04-12

Changed

  • java: Renamed {bigint} to {biginteger} ([mpkorstanje, aslakhellesoy])
  • java: The API uses Transformer for transforms with 0-1 capture groups, and CaptureGroupTransformer for 2+ capture groups.

Fixed

  • java: Better error message when users leave anchors (^ and $) in their regular expressions (aslakhellesoy)
  • java: {bigdecimal} would only match integers ([mpkorstanje, aslakhellesoy])
  • java: {byte} is suggested in snippets (mpkorstanje)

5.0.15 - 2018-04-08

Added

Changed

5.0.14 - 2018-04-04

Added

Fixed

  • Generated expressions escape ( and { if they were present in the text. (#345 aslakhellesoy)

Removed

5.0.13 - 2018-01-21

Fixed

  • Fixed yet another regression introduced by #324 and simplified capture group parsing in TreeRegexp to reduce likelihood of more bugs.

5.0.12 - 2018-01-19

Fixed

5.0.11 - 2018-01-19

Fixed

5.0.10 - 2018-01-19

Fixed

5.0.7 - 2017-11-29

Fixed

  • ruby: Only disallow Regexp::EXTENDED, Regexp::IGNORECASE and Regexp::MULTILINE in ParameterType regexps. Other flags such as Regexp::NOENCODING and Regexp::FIXEDENCODING are OK.

5.0.6 - 2017-11-28

Fixed

  • javascript: Backport RegExp#flags for Node 4.x

5.0.5 - 2017-11-28

Fixed

  • ruby: Fix typo in ParameterType error message. (#306 aslakhellesoy, luke-hill)
  • Ignore ParameterTypes with optional capture groups when generating snippets. Trying to do so caused an infinite loop. (#307 aslakhellesoy)
  • Throw an error when ParameterType regexps have flags. Flags are not allowed because only the source of the regexp is used to build a new regexp for the entire Cucumber Expression. See #308. (aslakhellesoy)

5.0.4 - 2017-11-28

Fixed

  • Cucumber Expressions with alternation (I said Alpha1/Beta1) now works with more than just letters - it works with anything that isn't a space. (#303 by aslakhellesoy)

5.0.3 - 2017-11-06

Fixed

5.0.2 - 2017-10-20

Fixed

5.0.0 - 2017-10-10

Changed

  • ruby, javascript: A transformer function can run in the context of a world object. Argument#value now takes an object as argument (renamed to Argument#getValue in js) (#284 by aslakhellesoy)

4.0.4 - 2017-10-05

Changed

Fixed

4.0.3 - 2017-07-24

Fixed

  • javascript: Expose Argument.group and fix start and end accessors in Group

4.0.2 - 2017-07-14

Fixed

  • javascript: Make it work on Node 4 and browser (Use Array.indexOf instead of Array.includes) (#237 by aslakhellesoy)

4.0.1 - 2017-07-14

Fixed

4.0.0 - 2017-06-28

Added

Changed

Fixed

Removed

  • Remove support for {name:type} syntax which was deprecated in #117 and released in 2.0.0. (#180 by aslakhellesoy)
  • Removed support for {undefined} parameter types. If a parameter type is not defined, and error will be raised.

3.0.0 - 2017-03-08

Added

  • Alternative text: I have a cat/dog/fish (by aslakhellesoy)
  • type / constructorFunction: Makes it simpler to use in languages without static types
  • transform: Leave arguments unchanged, return as string (by aslakhellesoy)
  • ParameterType can be constructed with null/nil arguments for

Changed

  • Parameter -> ParameterType
  • ParameterRegistry -> ParameterTypeRegistry
  • addParameter -> defineParameterType
  • Renamed API:
  • Stricter conflict checks when defining parameters (#121 by aslakhellesoy)

Fixed

Removed

  • java: Drop support for Java 7 (Java 8 or higher is required)

2.0.1 - 2017-02-17

Added

Changed

Fixed

Removed

2.0.0 - 2017-02-17

Added

Changed

Fixed

Removed

1.0.4 - 2017-01-20

Added

Changed

  • ruby: Use Integer instead of Fixnum

Fixed

  • Handle multiple capture group regexps for matching (#102 by gpichot)
  • Make the tests pass on Ruby 2.4.0 (as well as older rubies)

Removed

1.0.3 - 2016-11-25

Added

Changed

Fixed

Removed

1.0.2 - 2016-11-23

Added

Changed

Fixed

Removed

1.0.1 - 2016-09-28

Added

  • First stable release!