- [Java] Fixed a bug in PrettyFormatter.setMonochrome(false) (Aslak Hellesøy)
- [Java] Ability to PrettyFormatter.setMonochrome(false) post construction (Aslak Hellesøy)
- [Java] Package gherkin.jar as OSGi bundle (#166 Jan Stamer)
- The build system and instruction has been updated to work on OS X Lion. (Aslak Hellesøy)
- Added output to Reporter API (Aslak Hellesøy)
- Reporter.embedding takes InputStream instead of byte[], which breaks API hence the minor bump. (Aslak Hellesøy)
- [Ruby/Java] TagExpression.eval() now takes a list of Tag instead of a list of String. This slightly breaks the API (minor bump), but helps fix some bugs in Cucumber-JVM. (Aslak Hellesøy)
- [C] Allow compilation with clang (datanoise)
- [Ruby] Expose AnsiEscapes methods on the class level as well, for easy calling without inclusion (#161 Ben Woosley)
- [Ruby] Lexer load failure fix (#159 Ben Woosley)
- [Java] Previous release accidentally had pretty formatting for both JSONFormatter and JSONPrettyFormatter (Aslak Hellesøy)
- [Java] Added Formatter.close() so we can close underlying streams after a call to Formatter.done() (Aslak Hellesøy)
- [Java] Switched from JSON simple to GSON (Aslak Hellesøy)
- [Java] Added a JSONPrettyFormatter (Aslak Hellesøy)
- Declared json and base64 dependencies as provided so they don't get included in dependant projects (Aslak Hellesøy)
- Improved Chinese translations (#155 Riceball LEE)
- Improved Czech translations (#154 Konstantin Kudryashov)
- [Java] Make sure Result constructed with a Throwable always has a JSON error_message (Aslak Hellesøy)
- [Java] Added gherkin.I18n.getAll() (Aslak Hellesøy)
2.7.0 release got hosed
- Formatter.close no longer closes streams. (Alan Parkinson)
- Formatter.close renamed to Formatter.done. (Aslak Hellesøy)
- Pretty formatter always uses \n for newlines, instead of using platform-specific newline. This makes cross-platform testing less fiddly. (Aslak Hellesøy)
- Steps can be empty. The main reason for this is to allow Cukepatch to show an autocomplete right after a keyword. (#149 Aslak Hellesøy)
- Fix bad packaging of NuSpec package. (#148 Aslak Hellesøy)
- .NET dll is released as a NuGet package instead of being uploaded to https://github.com/cucumber/gherkin/downloads (#144, #147 Jeffrey Cameron, Aslak Hellesøy)
- The lib/gherkin.jar that goes into the JRuby gem contains json-simple and base64 classes instead of separate jars (Aslak Hellesøy)
- .NET dll, which is based on lib/gherkin.jar also contains json-simple and base64 (Aslak Hellesøy)
- gherkin jars published to Maven repo do not bundle the json-simple and base64 jars. (Aslak Hellesøy)
- IronRuby gems are no longer published. Nobody seems to be using it, and it's too much pain to test. (Aslak Hellesøy)
- Bad filtering when Scenario Outline+Examples followed by Scenario (https://github.com/cucumber/gherkin/issues/145 Aslak Hellesøy)
- [Node.js] No more restrictions about what Node.js version this runs on. (Aslak Hellesøy)
- Windows gems are compiled against 1.9.3 instead of 1.9.2. Should still work on 1.9.3. (Aslak Hellesøy)
- NPM package contains UglifyJS-minified scripts (Aslak Hellesøy)
- NPM package no longer contains Ace (#109 Aslak Hellesøy)
- JavaScript exports for require.js works in non-AMD mode (needed for Ace) (Aslak Hellesøy)
- [Java] Minor internal API changes needed for better arity mismatch reporting in Cucumber-JVM (Aslak Hellesøy)
- Fixed a regression on 1.8.7 (Aslak Hellesøy)
- JSON formatter must handle multiple features (#140 Aslak Hellesøy)
- Identifiers for Gherkin elements (#131 Matt Wynne, Aslak Hellesøy)
- [Java] Rename/add constants in Match and Result. (Aslak Hellesøy)
- [Java] AnsiEscapes can append to a NiceAppendable. (Aslak Hellesøy)
- Added synonyms for Portuguese. (Rodrigo Dumont)
- Added synonyms for Italian. (Alessandro Mencarini)
- Added synonyms for Spanish. (Nahuel Garbezza)
- Added synonyms for French. (Julien Biezemans)
- [Java] Omit transient fields in toMap so we have more control over what goes into JSON. (Aslak Hellesøy)
The JSON representation of features has changed. The difference lies in how Doc Strings and Data Tables are represented. Consider the following steps:
Given a Data Table:
| Hipster | Ipsum |
| Freegan | Vinyl |
Given a Doc String:
"""
Hipster
Ipsum
"""
This is now represented in JSON as:
"steps": [
{
"keyword": "Given ",
"name": "a Data Table"
"line": 5,
"rows": [
{ "cells": ["Hipster", "Ipsum"], "line": 6 },
{ "cells": ["Freegan", "Vinyl"], "line": 7 }
]
},
{
"keyword": "Given ",
"name": "a Doc String"
"line": 8,
"doc_string": {
"value": "Hipster\nIpsum"
"line": 9,
"content_type": "plaintext",
}
}
]
Previously it would be represented in JSON as:
"steps": [
{
"keyword": "Given ",
"name": "a Data Table"
"line": 5,
"multiline_arg": {
"type": "table"
"value": [
{ "cells": ["Hipster", "Ipsum"], "line": 6 },
{ "cells": ["Freegan", "Vinyl"], "line": 7 }
]
}
},
{
"keyword": "Given ",
"name": "a Doc String"
"line": 8,
"multiline_arg": {
"type": "doc_string"
"value": "Hipster\nIpsum"
"line": 9,
"content_type": "plaintext",
}
}
]
- Java JSONFormatter produces invalid JSON (#128 Aslak Hellesøy)
- Missing matches and results in JSONFormatter output (#129 Aslak Hellesøy)
- Revert json dependency back to >= 1.4.6 since many apps still use old json. (Aslak Hellesøy)
(The 2.4.19 release got messed up).
- Filtering on Examples with 0 or 1 row now works (from mailing list Aslak Hellesøy)
- Exclude .gitignore files from packaged gem (#125 John Hume)
- Fenced Code Blocks for DocStrings (#123 Gregory Hnatiuk, Aslak Hellesøy)
- Jar file is now deployed to Maven central, making installation a little easier (Aslak Hellesøy)
- Both Ruby and Java API docs are on cukes.info. See README for details. (Aslak Hellesøy)
- [Java] TagExpression.eval() takes a Collection instead of List. That lets us pass a Set. (Aslak Hellesøy)
- [Java] Pretty formatter knows how to print deleted (-) or inserted (+) table rows. (Aslak Hellesøy)
- [Java] Publish source jars to Maven repo (Aslak Hellesøy)
- [Java] Made NiceAppendable public - it's handy for Cucumber-JVM too (Aslak Hellesøy)
No changes, but previous release failed while pushing gems (rubygems.org bug?)
- [Java] Fixed Maven warnings. (Aslak Hellesøy)
- [Java] Fixed bug in Result.getErrorMessage() when it was created with a Throwable. (Aslak Hellesøy)
- [Java] PrettyFormatter and JSONFormatter take Appendable instead of OutputStream/Writer. (Aslak Hellesøy)
- [Java] PrettyFormatter and JSONFormatter no longer flush. Make sure you pass an OutputStream/Writer that autoflushes. (Aslak Hellesøy)
- Changed rake-compiler version from '~> 1.7.9' to '>= 1.7.9' since the fix in 2.4.10 seemed to have no effect. I hate the Ruby ecosystem today. (Aslak Hellesøy)
- Changed rake-compiler version from '1.7.9' to '~> 1.7.9' since the fix in 2.4.9 seemed to have no effect. (Aslak Hellesøy)
- Changed rake-compiler version from '= 1.7.9' to '1.7.9' to work around install problems caused by rubygems/rubygems#121 (Aslak Hellesøy)
- Remove another awesome_print which was left over from 2.4.7. (Aslak Hellesøy)
- Make specs/features pass when LANG=C (or LC_CTYPE=C). (#118 Antonio Terceiro, Aslak Hellesøy)
- Remove awesome_print (which was used for debuging). (Antonio Terceiro)
- Added I18n.getLocale() to Java impl. (Aslak Hellesøy)
- Added Icelandic translation (Ægir Örn Símonarson)
- JavaScript: String prototype has no "trimRight" function. Fixes failure in Opera. (Julien Biezemans)
No changes, releasing again since the 2.4.4 release failed halfway through.
- JRuby fixes. Symbols and streams are now properly converted before passing from ruby to java. (Aslak Hellesøy)
- json-simple and base64 jar files (used by some of the java classes) are now embedded in the jruby gem (Aslak Hellesøy)
- Added a small hack to the java Result class to work around Cucumber bug #97 (Aslak Hellesøy)
- Formatter and Reporter are now two distinct interfaces. JSONParser takes one of each in ctor. (Aslak Hellesøy)
- None - just updated build system to the latest Cucumber (Aslak Hellesøy)
- Don't use -Werror in production code (#106 Hans de Graaff)
- YARD based API docs at http://cukes.info/gherkin/api/ruby/latest/ (Aslak Hellesøy)
- py_string/PyString changed to doc_string/DocString, ref cucumber/common#74 (Aslak Hellesøy)
- Relax development dependency version on builder. (#105 Aslak Hellesøy).
- Javascript lexers support http://requirejs.org/ modules as well as node.js (Aslak Hellesøy).
- Improve build system so we don't need to add generated js lexers to git.
- Removed incorrect (and unneeded) case statement that could blow up if V8 is installed. (Aslak Hellesøy, Niklas H)
- Added connect support for gherkin.js (Aslak Hellesøy)
- Javascript implementation (#38 Aslak Hellesøy)
- Fix compilation error on Arch Linux (#98,#99 Ben Hamill)
- Corrected Russian translation (#97 Vagif Abilov)
- Relaxed gem dependencies to use >=. (Rob Slifka, Aslak Hellesøy)
- Fixing C90 errors on Ubuntu Natty (#92 Colin Dean)
- Romanian (ro) language update, extracted from a real-world project. (Iulian Dogariu)
- No more dependencies on external ANSI escape libraries (Ruby:term-ansicolor, Java:Jansi). DIY is better! (Aslak Hellesøy)
- Added duration (in millseconds) to Result. (Aslak Hellesøy)
- Additional Polish aliases (Mike Połtyn)
(Somehow 2.3.1 was released improperly shortly after 2.3.0 - not sure what fixes went into that!)
- Preserve whitespace in descriptions. Leading whitespace in descriptions are stripped upto preceding keyword + 2 spaces (#87 Matt Wynne, Gregory Hnatiuk, Aslak Hellesøy)
- Fix incorrect indentation of Examples descriptions (Gregory Hnatiuk)
- Can't define new line characters in Example Table Cell's Content. (#85 George Montana Harkin, Aslak Hellesøy)
- New aliases for Scenario Outline in Swedish, Norwegian and English. (Peter Krantz, Aslak Hellesøy)
- Improved build documentation for people who want to contribute. (Aslak Hellesøy)
- Results can now be outputted/parsed in JSON. (Aslak Hellesøy)
- JSON output now contains optional "match", "result" and "embeddings" elements underneath each step. (Aslak Hellesøy)
- Added support for Base64 encoded embeddings in JSON representation. Useful for screenshots etc. (Aslak Hellesøy)
- PrettyFormatter can format features both with and without ANSI Colors. Using Jansi on Java. (Aslak Hellesøy)
- Extended Java Formatter API with a steps(List) method for better reporting in Java (Aslak Hellesøy)
- Trollop based CLI - didn't find a good use for it yet. (Aslak Hellesøy)
- I18n.getCodeKeywords() on Java didn't strip '!'. Not anymore. (Aslak Hellesøy)
- I18n.getCodeKeywords() on Java included '*'. Not anymore. (Aslak Hellesøy)
- Gherkin will scan all top comments for the language comment. (Aslak Hellesøy)
- C99 features used by gherkin code (#75 Graham Agnew)
- Add back missing development dependency on cucumber (Aslak Hellesøy)
- Use json instead of json_pure (Aslak Hellesøy)
- JSON formatter and parser can now omit JSON serialization (for speed) and work directly on objects (Aslak Hellesøy)
- Windows gems are now built against 1.8.6-p287 and 1.9.1-p243, on both mswin32 and mingw32, and should work on 1.8.6, 1.8.7, 1.9.1 and 1.9.2 versions of rubyinstaller.org as well as older windows rubies. (Aslak Hellesøy)
- Build system no longer uses Jeweler - only Rake, Bundler and Rubygems (Aslak Hellesøy)
This release breaks some APIs since the previous 2.1.5 release. If you install gherkin 2.2.0 you must also upgrade to Cucumber 0.9.0.
- I18nLexer doesn't recognise language header with \r\n on OS X. (#70 Aslak Hellesøy)
- Pure Java FilterFormatter. (Aslak Hellesøy)
- Pure Java JSONFormatter. (Aslak Hellesøy)
- All formatter events take exactly one argument. Each argument is a single object with all data. (Aslak Hellesøy)
- Several java classes have moved to a different package in order to improve separation of concerns. (Aslak Hellesøy)
- Line filter works on JRuby with Scenarios without steps. (Aslak Hellesøy)
- The JSON schema now puts background inside the "elements" Array. Makes parsing simpler. (Aslak Hellesøy)
- #steps fails on JRuby with 2.1.3 (#68 Aslak Hellesøy)
- Examples are not cleared when an ignored Scenario Outline/Examples is followed by a Scenario. (#67 Aslak Hellesøy)
- Fix some missing require statements that surfaced when gherkin was used outside Cucumber. (Aslak Hellesøy)
The previous release had a missing gherkin.jar in the jruby gem. This release fixes that. For good this time!
- Pirate! (anteaya)
- Tag limits for negative tags (Aslak Hellesøy)
- The formatter API has changed and the listener API is now only used internally. (Aslak Hellesøy)
- FilterListener has been replaced with FilterFormatter. Currently only in Ruby (no Java impl yet). (Aslak Hellesøy)
- New JSON Lexer. (Gregory Hnatiuk)
- Fixed incorrect indentation for descriptions in Java. (Aslak Hellesøy)
- Fixed support for xx-yy languages and Hebrew and Indonesian (JDK bugs). (Aslak Hellesøy)
- Examples are now nested inside the Scenario Outline in the JSON format. (Gregory Hnatiuk)
The previous release had a missing gherkin.jar in the jruby gem. This release fixes that.
We're breaking the old listener API in this release, and added a new JSON formatter, which calls for a new major version.
- New JSON formatter. (Aslak Hellesøy, Joseph Wilk)
- New synonyms for Hungarian (Bence Golda)
- Upgraded to use RSpec 2.0.0 (Aslak Hellesøy)
- undefined method `<=>' on JRuby (#52 Aslak Hellesøy)
- Include link to explanation of LexingError (Mike Sassak)
- The formatter API has completely changed. There is a Gherkin Listener API and a Formatter API. The FormatterListener acts as an adapter between them. (Aslak Hellesøy)
- The listener API now has an additional argument for description (text following the first line of Feature:, Scenario: etc.) (Gregroy Hnatiuk, Matt Wynne)
- Native gems for IronRuby. Bundles IKVM OpenJDK dlls as well as ikvmc-compiled gherkin.dll. Experimental! (Aslak Hellesøy)
- Use I18n.class' class loader instead of context class loader to load Java lexers. Hoping this fixes loading bug for good. (Aslak Hellesøy)
- Use context class loader instead of boot class loader to load Java lexers. (Aslak Hellesøy)
- Only add gcc flags when the compiler is gcc. (#60 Aslak Hellesøy, Christian Höltje)
- Table cells can now contain escaped bars - | and escaped backslashes - \. (#48. Gregory Hnatiuk, Aslak Hellesøy)
- Luxemburgish (lu) added. (Christoph König)
- Ignore the BOM that many retarded Windows editors insist on sticking in the beginning of a file. (Aslak Hellesøy)
- Allow fallback to a slower ruby lexer if the C lexer can't be loaded for some reason.
- Can't run specs in gherkin 1.0.24 (#59 Aslak Hellesøy)
- hard tabs crazy indentation for pystrings in formatter (#55 Aslak Hellesøy)
- Java API now uses camelCased method names instead of underscored (more Java-like) (Aslak Hellesøy)
- Make prebuilt binaries work on both Ruby 1.8.x and 1.9.x on Windows (#54 Luis Lavena, Aslak Hellesøy)
- Fix compile warning on ruby 1.9.2dev (2009-07-18 trunk 24186) (#53 Aslak Hellesøy)
- The gherkin CLI is working again (Gregory Hnatiuk)
- Works with JRuby 1.5.0.RC1 (Aslak Hellesøy)
- I18n.code_keywords now return And and But as well, making Cucumber StepDefs a little more flexible (Aslak Hellesøy)
- Explicitly use UTF-8 encoding when scanning source with Java lexer. (Aslak Hellesøy)
- Gherkin::I18n.keyword_regexp was broken (used for 3rd party code generation). (#51 Aslak Hellesøy)
(Something went wrong when releasing 1.0.15)
- Reduced risk of halfway botched releases. (Aslak Hellesøy)
- Implemented more functionality in I18n.java. (Aslak Hellesøy)
- Java methods are no longer throwing Exception (but RuntimeException). (Aslak Hellesøy)
(Something went wrong when releasing 1.0.13)
- Filter on Background name. (Aslak Hellesøy)
- Fixed incorrect filtering of pystring in Background. (Mike Sassak)
- Fixed bad packaging (C files were not packaged in POSIX gem)
- Added Esperanto and added a Russian synonym for Feature. (Antono Vasiljev)
- Pure Java implementation of FilterListener and TagExpression (Mike Gaffney, Aslak Hellesøy)
- TagExpression takes array args instead of varargs. (Aslak Hellesøy)
- Triple escaped quotes (""") in PyStrings are unescaped to """. (Aslak Hellesøy)
- Removed illegal comma from Ukrainian synonym. (Aslak Hellesøy)
- Fixed problems with packaging of 1.0.6 release. (Aslak Hellesøy)
- Fully automated release process. (Aslak Hellesøy)
- Made generated classes use a more uniform naming convention. (Aslak Hellesøy)
- Removed C# port, obsoleted by IKVM build from 1.0.5. (Aslak Hellesøy)
- New .NET build of gherkin - an ikvmc build of gherkin.jar to gherkin.dll. (Aslak Hellesøy)
- Made parsers reusable so that the same instance can parse several features. (Aslak Hellesøy)
- Pure java releases of Gherkin at http://cukes.info/maven
- A FilterListener in Ruby that is the last missing piece to plug Gherkin into Cucumber. (Gregory Hnatiuk, Aslak Hellesøy, Matt Wynne, Mike Sassak)
- The Lexer now emits the '@' for tags. (Aslak Hellesøy)
- The C lexer correctly instantiates a new array for each table, instead of reusing the old one. (Aslak Hellesøy)
- Emit keywords with space instead of stripping (< keywords are emmitted without space) (Aslak Hellesøy)
- gherkin reformat now prints comments, and does it with proper indentation (Aslak Hellesøy)
- .NET resource files are now automatically copied into the .dll (#46 Aslak Hellesøy)
- The Pure Java implementation now has a simple main method that pretty prints a feature. (#39 Aslak Hellesøy)
- Writing code generated i18n syntax highlighters for Gherkin is a lot easier thanks to several convenience methods in Gherkin::I18n. (Aslak Hellesøy)
- .NET (C#) port (#36, #37 Attila Sztupak)
- Tables parsed and sent by row rather than by table. (Mike Sassak)
- Switced to ISO 639-1 (language) and ISO 3166 alpha-2 (region - if applicable). Applies to Catalan, Swedish, Welsh, Romanian and Serbian. (Aslak Hellesøy)
- Build passes on Ruby 1.9.2 (Aslak Hellesøy)
- New command line based on trollop. Commands: reformat, stats. (Aslak Hellesøy)
- I18nLexer#scan sets #language to the I18n for the language scanned (Mike Sassak)
- I18n#adverbs, brings I18n to parity with Cucumber::Parser::NaturalLanguage (Mike Sassak)