All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
This document is formatted according to the principles of Keep A CHANGELOG.
26.0.1 - 2022-12-17
- [Go] Fix module names
26.0.0 - 2022-12-17
- [Java] Enabled reproducible builds
- Upgraded messages to v21
- [.NET] Update target frameworks fo .NET 6, .NET Framework 4.6.2, .NET Standard 2.0
- Link to the correct repository in various package meta-data.
- [Perl] Specify version range for
Cucumber::Messages
dependency (#50)
25.0.2 - 2022-11-09
- Fix half-glyph in Georgian translations (#44)
25.0.1 - 2022-11-09
- Fix release process for perl and elixir
25.0.0 - 2022-11-09
- Additional
ja
(Japanese) translations forand
,but
- Added
amh
(Amharic) translation - Add
Фича
andШаблон примера
as more convenient translations (#2078)
ja
(Japanese)Rule
translation changed fromRule
toルール
- Translations fixed for
ka
(Georgian) locale
24.1.0 - 2022-10-10
- [Java] Added support for reading directly from input (files, streams, paths, ect)
- [C] The C implementation re-enabled and made up to date. (#1989)
- [Javascript] Include tags from rules in scenario outlines (#2091)
- [Python] Fix gherkin-python for compiling example values with trailing backslash (#2048, #1954)
- [PHP] Disallow installation of Messages
18.x
(#2034)
24.0.0 - 2022-05-31
- [Java], [JavaScript], [PHP], [Perl], [Python], [Go], [C], [DotNet], [Ruby] Support new messages keyword types fields an added with #1966 (#1741)
- [Java] the
GherkinDialect
constructor is no longer public (it's only used internally) - [Go] the
gherkin.GherkinDialectsBuildin
id renamed togherkin.DialectsBuiltin
- [Go] the
gherkin.GherkinDialect
id renamed togherkin.Dialect
- [Go] the
gherkin.GherkinDialectProvider
id renamed togherkin.DialectProvider
- The
ne
(Nepali)and
translation changed fromअनी
toअनि
- The
uz
(Uzbek)given
translation changed fromАгар
toBelgilangan
- The
en-old
(Old English)when
translation changed fromTha
/Þa
/Ða
toBæþsealf
/Bæþsealfa
/Bæþsealfe
/Ciricæw
/Ciricæwe
/Ciricæwa
23.0.1 - 2022-03-31
- [PhP] Fix dependency of messages (#1943)
23.0.0 - 2022-03-30
- Update
messages
to v18.0.0 - [Java] Replaced
Gherkin
with aGherkinParser
that uses a builder to construct. - [Java] Made all internal classes package private
- [Java] Removed unused
stopAtFirstError
property fromParser
- [PHP] Implemented
Gherkin
- [JavaScript]
@cucumber/message-streams
has been removed from the dependencies. If you are using@cucumber/gherkin-streams
v5.0.0 or later, you have to add@cucumber/message-streams
in your dependencies in addition to@cucumber/gherkin
.
- [Java] the
io.cucumber.gherkin.Main
class is no longer part of the jar.
22.0.0 - 2021-09-23
- [Perl] Documentation for most of the modules (#1740 ehuelsmann)
- [Perl] Changed API to pass around
Cucumber::Messages
instead of hashesand increased minimum Perl version in accordance withCucumber::Messages
(to 5.14; from 5.12) (#1735ehuelsmann)
- [Perl] Failure to include CHANGELOG.md in the release tarball (#1728 ehuelsmann)
21.0.0 - 2021-09-01
- [JavaScript] Expose
Errors
object.
- Fixed
Rule
translation forhi
,sr-Cyrl
,sr-Latn
andtr
(aslakhellesoy) - [Java] Renamed
Token#mathcedItems
toToken#matchedItems
(#1687 aslakhellesoy) - [Perl] Minimum Perl version upgraded to 5.12 (from 5.10.1) (#1665 ehuelsmann)
- [Perl] Dependency on
IO::Scalar
removed (#1665 ehuelsmann)
20.0.1 - 2021-07-19
- Update
messages
to v17.0.1
20.0.0 - 2021-07-08
- Update messages to v17.0.0
- Update
rule
polish translation (#1579 l310) - Add US Texan translations. (#1625 willmac321)
- [Go] Move module paths to point to monorepo (#1550)
- [Ruby] Usage of Message DTOs instead of plain ruby hashes (#1603)
- [Ruby] Rules weren't inheriting the relevant tags during the Gherkin Query stage (Where it caches the NodeID) (#1593 luke-hill)
- MDG parser correctly removes leading space from content in DocStrings
19.0.3 - 2021-05-24
- MDG files must use the
.feature.md
extension. - Data Tables and Examples Tables in Markdown must be indented 2-5 spaces in order tobe recognised.
19.0.2 - 2021-05-19
- Upgrade to
@cucumber/message-streams
^2.0.0
- Upgrade berp to 1.3.0 (parser behavior not changed) (#1542 gasparnagy)
19.0.1 - 2021-05-17
- [Perl] Updated to pass acceptance tests. (#1552 ehuelsmann)
19.0.0 - 2021-05-15
- [JavaScript] Experimental support for Markdown. See MARKDOWN_WITH_GHERKIN.md (#1209 aslakhellesoy)
- [DotNet] Replaced Utf8Json with source-embedded TinyJson. (#511 gasparnagy)
- Update Dutch translation of the "Rule" keyword. (#1513 OrhanTozan)
- Update Russian translation of the "Scenario Outline" keyword. (#1499 hkosova)
- Update Hungarian translation of the "Rule" keyword. (#1518 gasparnagy)
- [Go, Java, JavaScript, Ruby] Upgrade to messages 16.0.0: this may have a big impact on APIs.Please see messages/CHANGELOG.md for more details.
- [Perl] Reinstate Perl 5.10.1 compatibility. (#1495 #1494 ehuelsmann)
- [DotNet] Fixed .NET Gherkin compatibility with other Gherkin implementations. (#511 gasparnagy)
- [Elixir] The package was not released - it needs to be updated to pass acceptance tests.
- [Perl] The package was not released - it needs to be updated to pass acceptance tests.
18.1.1 - 2021-04-22
18.1.0 - 2021-04-06
- Python implementation re-enabled, with support for
Rule
keyword. (#1449 brasmusson)
18.0.0 - 2021-03-24
- [Perl] New APIs to spawn message streams:
Gherkin->from_paths
andGherkin->from_source
(#1359 ehuelsmann) - [All] Rules can be tagged. Scenarios that belong to the rule "inherit" the rule tags. (#1356 [sebrose], gasparnagy, brasmusson, WannesFransen1994)
- [Perl] DOS line endings support on all platforms (not just DOS/Windows) (ehuelsmann)
- [Perl] Release engineering changes to make it non-interactive, update CHANGELOG.md correctly (#1350) ehuelsmann
- [JavaScript] the
GherkinStreams
export has moved from@cucumber/gherkin
to@cucumber/gherkin-streams
- [JavaScript] the
gherkin-javascript
executable has moved to the new@cucumber/gherkin-streams
npm module
17.0.2 - 2021-02-16
- [Perl] Release archive too large (8MB -> ) (#1350) ehuelsmann
- [Perl] Minimum Perl version (5.10.1) incorrectly declared, leading to CPANTESTERS failures (#1350) ehuelsmann
- [Perl] Kwalitee (Perl release quality checker) complaints/errors (#1350) ehuelsmann
17.0.1 - 2021-02-08
- Fix building of MacOS (darwin) executables. (#1347 #1348 aslakhellesoy)
17.0.0 - 2021-02-07
- [JavaScript] the
GherkinStreams
object is not longer loaded by default. This makes it possible to use the library in a browser without a polyfill. To upgrade, useimport GherkinStreams from '@cucumber/gherkin/dist/src/stream/GherkinStreams'
instead ofimport { GherkinStreams } from 'gherkin'
. (#1333) - [Perl] Fully overhauled implementation, moving it up from 4.0.0 (#711, #1286) ehuelsmann
- Use Spanish translation for the "Rule" keyword and for the "Feature" synonym keywords (#1360 sergioforerogomez)
- Use Italian translation for the "Rule" keyword and for the "Feature" synonym keywords (#1318 mgiustiniani)
- Use Swedish translation for the "Rule" keyword (#1297 johnknoop)
- Elixir implementation - make sure the gherkin_languages.json is added with the release package. (#1293 WannesFransen1994)
- [JavaScript] removed circular dependencies. (#1292 davidjgoss)
- [JavaScript] remove
IGherkinOptions#createReadStream
. This function was introduced in9.1.0
in order to decouple this lib from the Node.jsfs
library. This decoupling was improved in #1333 which made it obsolete. (Fixes #1284
16.0.0 - 2020-12-10
- [Elixir] New implementation! (#1251 WannesFransen1994)
- [JavaScript] The
Query
class has been removed from this library, and has been added to@cucumber/gherkin-utils
15.0.2 - 2020-08-17
- Revert removal of Gherkin keywords from 15.0.1
15.0.1 - 2020-08-12
- Do not use this release. The removal of Gherkin keywords breaks backwards compatibility for Creole and French, and this should have been released as a major release. The keywords are restored in 15.0.2, and we'll remove them again in a future major release.
- Remove keyword aliases that only differ by letter case (French, Creole). The reason for this is that Cucumber-JVM generates annotation classes for each step keyword, and some file systems are case insensitive. This led to inconsistencies in the classes that were generated during the build. Removing these keywords fixes this problem. Theoretically this should trigger a new major release, but because the change is so minor and will affect very few users we've made this a patch release.
15.0.0 - 2020-08-07
- Update
messages
to 13.0.1
14.2.0 - 2020-07-31
- Update
messages
to 12.4.0
14.1.0 - 2020-07-29
- Update
messages
to 12.3.2
14.0.2 - 2020-06-29
- [JavaScript] Actually merge #1094 - it wasn't done in 14.0.1
- [JavaScript] Throw NoSuchLanguageException when language is unknown #1102 (#1102 mpkorstanje)
14.0.1 - 2020-06-29
- [JavaScript] Remove test code from exports (#1094 aslakhellesoy)
14.0.0 - 2020-06-27
- [Java] Enable consumers to find our version at runtime using
clazz.getPackage().getImplementationVersion()
by upgrading tocucumber-parent:2.1.0
(#976 aslakhellesoy) - [Java/Ruby/Go/Javascript] Add tests to ensure we do not delete whitespace inside a table cell (#769 mpkorstanje)
- Upgrade to messages 12.2.0
- [Ruby] gherkin-query: if a feature file is empty, do not update anything. (cucumber-ruby#1427 vincent-psarga)
- [JavaScript] Change gherkinQuery API: *
getPickleIds
: now takes a URI and anastNodeId
to find the pickle ids instead of a line number *getPickleStepIds
: now takes anastNodeId
parameter instead of a URL and a line number to locate the pickle step id * exposeparse
andparseAndCompile
utilities - Fixed Estonian translation of "Rule" (#973 ookull)
- Fixed Estonian translation of "Scenario Outline" (#972 ookull)
- [JavaScript] Update
gherkin-languages.json
, which hadn't been updated for a few versions (not sure for how long!) - [Ruby] Fix the default constructor of
Gherkin::Parser
(#1074 aslakhellesoy) - [Ruby] Use
require_relative
for internal requires (#1010 deivid-rodriguez) - [Javascript] Escape regex characters in table header (#1077 mpkorstanje)
13.0.0 - 2020-04-14
- Upgrade to messages 12.0.0
12.0.0 - 2020-03-31
- [JavaScript] New exports: *
Parser
*compile
(#924 davidjgoss) - [JavaScript] Add
Query#getPickles()
- [JavaScript] Export
compile
function for compilingPickles
- Upgrade to messages 11.x
- [JavaScript] The default export has been removed. Replaced with: *
import { GherkinStreams } from 'gherkin'
to use thefromPaths
,fromStream
andfromSources
functions *import { dialects } from 'gherkin'
to access dialects - [JavaScript]
Dialect
properties are read only - [JavaScript]
fromPaths
,fromStream
andfromSources
now useReadOnlyArray
to prevent modifying the passed array.
- [JavaScript]
Gherkin.fromPaths
is not a function (#857 #949 aslakhellesoy)
11.0.0 - 2020-03-02
- [JavaScript] Renamed
GherkinQuery
toQuery
- Update Indonesian Gherkin Language (#872 [#KniveX])
- [JavaScript] Removed
StrictMap
andStrictArrayMultiMap
10.0.0 - 2020-02-13
- Upgrade to messages v10.0.1
- [Java/JavaScript/Go/Ruby] Fix parsing of commented tags (880, 721 mpkorstanje)
- [JavaScript]
Gherkin#fromPaths
emits an error if a path can't be read (for example if it is a directory) - [Java/JavaScript/Ruby/Go] Escape triple backticks in alternative docstring (#889 mpkorstanje)
9.2.0 - 2020-01-22
- [JavaScript] Add
getGherkinDocuments(): messages.IGherkinDocument[]
- [JavaScript] Add `getPickleStepIds(uri: string, lineNumber: number): string[]``
- [JavaScript] Change signature of
getPickleIds(uri: string, lineNumber?: number): string[]
-lineNumber
is optional - [JavaScript]
getPickleIds
only operates on pickles, and not on pickle steps
9.1.0 - 2020-01-10
- [Ruby] Added
Gherkin::Query
that providesLocation
for various AST nodes. (#845 aslakhellesoy vincent-psarga)
- Upgrade to
messages
9.0.1
- [JavaScript] the
Gherkin#fromStream
,Gherkin#fromPaths
andGherkin#fromSources
functions'options
argument is no longer optional, and it must have acreateReadStream
property. The reason for this is to decouple the library from Node'sfs
module so it can be packaged with Webpack and be used in a browser.
9.0.0 - 2019-12-10
- Renamed
--json
command line option to--format protobuf|ndjson
- Upgrade to
cucumber-messages
8.0.0
8.2.1 - 2019-11-22
- Do not trim leading newlines (#891 mpkorstanje)
- PickleStep have unique IDs when generated from a
Background
section (#800 vincent-psarga)
8.2.0 - 2019-11-14
- [Ruby] Make CI build work on Ruby 2.3, 2.4, 2.5 and 2.6 (#777 vincent-psarga)
8.1.1 - 2019-10-17
- [Ruby] Replace internal
ProtobufMessageStream
withProtobufIoEnumerator
8.1.0 - 2019-10-16
- Better Indonesian translation (#733 milhcbt)
- New Nepali translation (#729 ankitpokhrel)
- New Marathi keywords (#731 #758 upgundecha)
- [Java] restore native Java parser (#750 aslakhellesoy)
- [JavaScript] -
GherkinExe
exposesstderr
(#723 charlierudolph)
- [JavaScript] -
GherkinExe
(after it was fixed)
8.0.0 - 2019-10-03
- New keywords for German (#352 #707 #708 coderbyheart)
- Upgrade cucumber-messages to 6.0.1
- [JavaScript] restore native JavaScript parser (#709 #689 badeball)
- [Ruby] restore native ruby parser (#702 brasmusson)
- [Go, Ruby] Fix trimming of whitespace in example cells (#703 aslakhellesoy)
7.0.4 - 2019-08-29
- Upgrade to cucumber-messages 5.0.1
7.0.3 - 2019-08-15
- [Ruby] Fix inclusion of gherkin executables
7.0.2 - 2019-08-14
- Upgrade to c21e 2.0.0
7.0.1 - 2019-08-14
- The 7.0.0 release failed
7.0.0 - 2019-08-14
- [TypeScript] dialect support (#597 charlierudolph)
- Populate the
Pickle#id
field with a SHA1 hash of the source + line + column.
- [TypeScript] ExeFile not a constructor (#641 #634 joscha)
- [Java,TypeScript] Fix parsing of long documents. (#566 aslakhellesoy)
6.0.17 - 2019-03-31
- Upgrade to cucumber-messages 2.1.2
6.0.15 - 2018-10-31
- (Go) Executables are uploaded to GitHub releases.
- Fix bug where leading tabs prevented parser from identifying keywords (#512 [VjacheslavVytjagov])
- [JavaScript] Fix JavaScript build (#499 noisygerman)
6.0.13 - 2018-09-25
- (TypeScript) - Added TypeScript definitions (
.d.ts
) for Gherkin. - Added
Rule
keyword (#250 aslakhellesoy) - Added
Example
as synonym forScenario
in English and many other languages. This is to align Gherkin with BDD and Example Mapping terminology. (aslakhellesoy) - Added
Ukoliko
as an additional synonym forGiven
, in Croatian. (#480 banovotz)
- This major release aligns Gherkin with Example Mapping, a collaborative technique for designing scenarios and discovering details about rules and behaviour. A new
Rule
keyword has been introduced, and acts as a grouping of one or moreExample
s - a new synonym forScenario
. TheScenario Outline
keyword can now be interchanged with theScenario
keyword, which makes Gherkin a little less confusing, especially to beginners. These are the first major change to the Gherkin grammar in 8 years or so, and we're pretty excited about them. We hope they will guide people towards thinking of scenarios as examples of business rules rather than a series of form submissions and link clicking. This rule-focused style engages product owners, and can act as amazing living documentation of your product. It opens up for the true benefits of BDD - a business-friendly format for describing and agreeing on software behaviour, and a guide to development. Developers will code against this spec, and produce better (simpler) software faster. The software will do what it says on the tin. The new Gherkin grammar is backwards compatible, meaning that existing Gherkin documents are still valid. The library API however is not backwards compatible. It is now a stream-like API which produces a stream of messages (source, AST and pickle messages). Internally, each library shells out to a go executable (embedded in the library for all major OSes and processor architectures), and communicates via STDIN/STDOUT using protocol buffers. The rationale behind this architectural change is to reduce the maintenance burden (a single parser rather than a dozen), but also to make it quicker and easier to implement a Gherkin library in a new language. Just generate some protobuf classes/structs and write a small program that shells out and communicates using those messages. Our preliminary benchmarks suggest that performance is comparable to the native implementations, or better. There is a small hit in startup cost, but this is offset against a higher throughput of the parser. At the time of this writing Gherkin 6 is nearly integrated in Cucumber-JVM and Cucumber-Ruby. Integration with Cucumber.js has not started and we would really welcome some help with that. The message protocol will continue to evolve to represent runtime information such as results, parameter types, cucumber expressions and other metadata. This will make it easier for the community to build plugins for Cucumber. One HTML Gherkin formatter to rule them all. Statistic plugins and more. - (JavaScript,Java,Ruby) The native parsers are removed. Parsing is done by
gherkin-go
executables which are bundled with the published libraries. (aslakhellesoy, [jaysonesmith]) - (JavaScript,Java,Ruby,Go)
Scenario
keyword (orExample
keyword) can be used to createScenario Outline
. (#353 aslakhellesoy)
- (JavaScript) Fix ability to pass language to parser. (#401 charlierudolph)
- (Java) OSGi support has been removed. (#412 aslakhellesoy)
5.1.0 - 2018-05-30
- (.NET) - Better .NET Core support
- Support for Aragonese (#298 danilat)
- (C) build a shared
libgherkin.so
library which allows Gherkin to be used as a library. (Cucumber.ml currently uses this.) (cucumber/gherkin-c#6 cyocum)
- Pass the content type of a docstring down into its pickle string form (#292 rjwittams)
- Fixed Russian equivalents of
Given
andThen
. (#369 cerebellum13)
- (C) Segfault when file does not exist (#394 #395 cyocum)
- (JavaScript) (#374 #377 charlierudolph)
- (Ruby, JavaScript) Remove berp.exe from packages (#289 aslakhellesoy)
- (Go) fixes validation for go vet tool on latest versions (#330 l3pp4rd)
- (Ruby) removed unneeded files from the gem
5.0.0 - 2017-10-13
- Ability to specify an initial language for the parser, so that the
# language
header isn't required (#288 by charlierudolph and aslakhellesoy) - A better wording for the Greek translation of
Scenario Outline
(Περίγραμμα Σεναρίου
) (#185 by pmatsinopoulos) - Added female, singular
Given
in Romanian (Dată fiind
) (#202 by tsundberg) - (C) CMake support (#2 #3 by Pwera)
- Compile empty scenarios to empty pickles (#249 #264 by brasmusson)
4.1.3 - 2017-05-04
- (JavaScript) Fix gherkin/javascript/examples so Gherkin loads in browser (#197 by aslakhellesoy)
- (JavaScript) Don't depend on fs in the library (#196 by aslakhellesoy)
- (Python) Fix executable (#194 #157 by aslakhellesoy)
- (C) Fix Windows related issues (#193 #168 by brasmusson)
- (C) Fix
uri
in pickles on C command line (#176 #165 by brasmusson) - (Go) Add missing error handling (#170 by l3pp4rd)
- (Go) Fix build on go 1.8 (#137 #162 by l3pp4rd)
- (Python) Fix build on python 3.4 (#138 #158 by brasmusson)
4.1.2 - 2017-05-03
- Something went wrong during this release - do not use
4.1.1 - 2017-03-16
- (JavaScript, Ruby, Python) Packages include executabled. (#155 by aslakhellesoy)
- (Python) Python package 4.1.0 broken (#153 #156 by aslakhellesoy)
4.1.0 - 2017-03-16
- (.NET, Java, JavaScript, Ruby, Python) Streaming API and command line client. (#240)
- (Java): Add accessors for languages and dialect keywords. (#248 by brasmusson)
- (All): Add the language to the Pickles (#251 by brasmusson)
- (C): New parser and compiler in C (#187 by brasmusson)
- (I18n) mk-Cyrl/mk-Latn: Added Macedonian language (#249 by nikolovski)
- (Build) Automate the version update for the sub-projects (#211 by brasmusson)
- (Java) Make the jar a bundle to support execution in OSGi containers (#221 by brasmusson)
- (Java) Using full path when loading gherkin-languages.json (#225 by mauriciotogneri)
- (I18n) ru: Added word "Затем" as a synonym for when steps (#246 by dobiedad)
- (I18n) Georgian language (#218 by Pr-Mex)
- (I18n) nl: Added "Wanneer" as a synonym for when steps (#218 by jmezach)
- (I18n) ast: Add Asturian translation (#209 by ajspadial)
- (I18n) az: Add Azerbaijani translation (#218 by nalekberov)
- (Java) Add a getter for the tags of a pickle by brasmusson)
- Gherkin has moved from cucumber/gherkin to the cucumber/cucumber monorepo
- (.NET) Migrated code to .NET Core (#215 by SabotageAndi)
- (I18n) Russian translation fix (#255 by ehpc)
- (Javascript) Check for module before window (#204 by charlierudolph)
4.0.0 - 2016-04-10
- (JavaScript) Expose dialects (#177 by charlierudolph)
- (Perl) new implementation! (#161 by pjlsergeant)
- (Objective-C) Added Objective-C example to the README (#152 by Ahmed-Ali)
- (I18n) ru: Add "Функциональность" as translation of Feature (#165 by nixel2007)
- This is a major release because of two backwards-incompatible changes. First, the AST returned by the parser is a
GherkinDocument
node, with afeature
property pointing to aFeature
node. Prior to this release the parser would return aFeature
node. Second, theFeature
node now has an array/list ofchildren
that areBackground
,Scenario
orScenarioOutline
. Other noteworthy changes is several minor improvements to bring the grammar closer to Gherkin 2. - (All) Allow emtpy Feature files (#189 by aslakhellesoy, brasmusson, enkessler)
- (All) Rename Feature.scenarioDefinitions to Feature.children (by aslakhellesoy)
- (All) Background as part of Feature.children (#174 by aslakhellesoy)
- (All) Remove scenario keyword from pickles (#176 by charlierudolph)
- (All) Don't make pickles out of step-less scenarios (#175 by enkessler)
- (Ruby) More consistent AST node types (#158 by enkessler)
- (All) Allow incomplete scenario outlines (#160, #170 by brasmusson)
- (Ruby) Use require instead of require_relative (#173 by maximeg)
- (JavaScript) Fixed undefined reference to stopOnFirstError on ES6 (by aslakhellesoy)
- (Python) Add the
gherkin.pickles
package to the Python installation (#157, #156 by Zearin) - (Ruby, Java) Make parser work even when system encoding ($LANG) is not UTF-8. (#151 by aslakhellesoy)
- (JavaScript) Remove bower package by aslakhellesoy)
3.2.0 - 2016-01-12
- (I18n) Mongolian translation of Gherkin (#140 by jargalan)
- (I18n) Emoji translation of Gherkin (by aslakhellesoy)
- (Python) Implemented compiler (#124 by Zearin)
- (Objective C) New implementation (#110 by LiohAu)
- (All) changed package/module/repo name from
gherkin3
togherkin
. (Python package is calledgherkin-official
) - (I18n) Improved Malay translation of Gherkin (#132 by gabanz)
- (I18n) Improved Irish translation of Gherkin (#135 by merrua)
- (All) Escape only '|', 'n' and '' in table cells (#114 by brasmusson)
- (I18n) Support stricter French grammar (#134 by moreau-nicolas)
- (All) the AST's
DocString
contentType
property is not defined rather than an empty string when the Gherkin doc doesn't specify the type after three backticks. (by aslakhellesoy)
- (Python) Fix i18n support when parsing features from strings. (by brasmusson)
- (All) Do not change escaped docstring separators in descriptions (#115 by brasmusson)
- (Travis CI) Build Objective-C on Travis. Fix Travis language settings. (#122, #118, by brasmusson)
- (Python) Don't monkey-patch
io.StringIO
intoken_scanner.py
(#121 by zbmott) - (JavaScript) Interpolate replaces globally (#108 by charlierudolph)
- (JavaScript) Make parser work on Node 0.10 and 4.1 (by aslakhellesoy)
- (Go) Fix lookahead bug in the parser (by brasmusson)
3.1.2 - 2015-10-04
- (All)
TokenMatcher
now accepts a default language (previously, only JavaScript had this behavior) (#78 by brasmusson) - (Ruby)
Parser.parse
now accepts aString
,StringIO
,IO
orTokenScanner
(#100 by maxmeyer) - (JavaScript) Add browserified
dist/gherkin.js
anddist/gherkin.min.js
(by aslakhellesoy)
- (Python) Use
@properties
inDialect
class (#86 by Zearin) - (Ruby)
Parser.parse
now treatsString
as source (not a file path)
- (Ruby) Fix lookahead bug in the parser (#104 by brasmusson and aslakhellesoy)
- (Python) Fix file parsing on Windows (#93 by brasmusson)
3.1.1 - 2015-09-03
- (All) Add Bosnian (#48 by paigehf)
- (All) Add support for
\n
, '|', and '' in table cells (#40, #71, by koterpillar) - (JavaScript) Default arguments for
Parser(builder)
andParser.parse(scanner, matcher)
(by aslakhellesoy) - (JavaScript) It's now possible to pass a string directly to
Parser.parse()
- (Python) It's now possible to pass a string directly to
Parser.parse()
(by aslakhellesoy)
3.1.0 - 2015-08-16
- (Java) Change Maven
groupId
artifact frominfo.cukes
toio.cucumber
- (All) Multiple calls to
parse()
cannot use the same instance ofAstBuilder
(#62) - (Python)
gherkin-languages.json
not packaged (#63)
- (JavaScript) Remove
tea-error
dependency
- First release