Skip to content

Latest commit

 

History

History
788 lines (500 loc) · 30.7 KB

History.md

File metadata and controls

788 lines (500 loc) · 30.7 KB
  • [JavaScript] Native implementation of JSONFormatter (Aslak Hellesøy)
  • [Core] Add more accurate polish translations. (#181 Adam Stankiewicz)
  • [Core] Alias Feature with Business Need and Ability. (#167 Aslak Hellesøy)
  • [Java] Better exception on bad filter mix. (#179 Aslak Hellesøy)
  • [Java, Ruby] Formatters don't deal well with things not associated with a step (#172 David Kowis, Aslak Hellesøy)
  • [Java] Make model classes implement java.io.Serializable (#180 Aslak Hellesøy)
  • [Core] Added Malay language support. (#176 Choon Siong)
  • [JRuby] Fixed I18n.language_table so that cucumber --i18n help works again on JRuby. (cucumber #272 Aslak Hellesøy)
  • [Java] Line numbers are Integer instead of int or Long (Aslak Hellesøy)
  • [Java, Ruby] Fix for exception when an argument is missing. (#171 Matt Nathan, Aslak Hellesøy)
  • [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

Changed Features

  • Formatter.close no longer closes streams. (Alan Parkinson)
  • Formatter.close renamed to Formatter.done. (Aslak Hellesøy)

Changed Features

  • Pretty formatter always uses \n for newlines, instead of using platform-specific newline. This makes cross-platform testing less fiddly. (Aslak Hellesøy)

Changed Features

  • 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)

Bugfixes

  • Fix bad packaging of NuSpec package. (#148 Aslak Hellesøy)

New Features

Changed Features

  • 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)

Removed Features

  • IronRuby gems are no longer published. Nobody seems to be using it, and it's too much pain to test. (Aslak Hellesøy)

Bugfixes

Changed Features

  • [Node.js] No more restrictions about what Node.js version this runs on. (Aslak Hellesøy)

Changed Features

  • 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)

Changed Features

  • [Java] Minor internal API changes needed for better arity mismatch reporting in Cucumber-JVM (Aslak Hellesøy)

Bugfixes

  • Fixed a regression on 1.8.7 (Aslak Hellesøy)

Changed Features

  • JSON formatter must handle multiple features (#140 Aslak Hellesøy)

New Features

  • Identifiers for Gherkin elements (#131 Matt Wynne, Aslak Hellesøy)

New Features

  • [Java] Rename/add constants in Match and Result. (Aslak Hellesøy)

New Features

  • [Java] AnsiEscapes can append to a NiceAppendable. (Aslak Hellesøy)

New Features

  • Added synonyms for Portuguese. (Rodrigo Dumont)
  • Added synonyms for Italian. (Alessandro Mencarini)
  • Added synonyms for Spanish. (Nahuel Garbezza)
  • Added synonyms for French. (Julien Biezemans)

New Features

  • [Java] Omit transient fields in toMap so we have more control over what goes into JSON. (Aslak Hellesøy)

Changed Features

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",
    }
  }
]

Bugfixes

  • Java JSONFormatter produces invalid JSON (#128 Aslak Hellesøy)
  • Missing matches and results in JSONFormatter output (#129 Aslak Hellesøy)

Bugfixes

  • 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).

Bugfixes

  • 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)

New Features

  • Fenced Code Blocks for DocStrings (#123 Gregory Hnatiuk, Aslak Hellesøy)

New Features

  • 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)

New Features

  • [Java] TagExpression.eval() takes a Collection instead of List. That lets us pass a Set. (Aslak Hellesøy)

New Features

  • [Java] Pretty formatter knows how to print deleted (-) or inserted (+) table rows. (Aslak Hellesøy)

New Features

  • [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?)

Bugfixes

  • [Java] Fixed Maven warnings. (Aslak Hellesøy)

New Features

  • [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)

Changed Features

  • [Java] PrettyFormatter and JSONFormatter no longer flush. Make sure you pass an OutputStream/Writer that autoflushes. (Aslak Hellesøy)

Bugfixes

  • 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)

Bugfixes

  • 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)

Bugfixes

  • 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)

Bugfixes

  • 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)

Bugfixes

  • Remove awesome_print (which was used for debuging). (Antonio Terceiro)

New Features

  • Added I18n.getLocale() to Java impl. (Aslak Hellesøy)

Bugfixes

  • 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.

Bugfixes

  • 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)

Changed Features

  • Added a small hack to the java Result class to work around Cucumber bug #97 (Aslak Hellesøy)

Changed Features

  • Formatter and Reporter are now two distinct interfaces. JSONParser takes one of each in ctor. (Aslak Hellesøy)

New Features

  • None - just updated build system to the latest Cucumber (Aslak Hellesøy)

Bugfixes

  • Don't use -Werror in production code (#106 Hans de Graaff)

New Features

Changed Features

  • py_string/PyString changed to doc_string/DocString, ref cucumber/common#74 (Aslak Hellesøy)

Bugfixes

  • Relax development dependency version on builder. (#105 Aslak Hellesøy).

New features

Insignificant changes

  • 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)

New Features

  • Javascript implementation (#38 Aslak Hellesøy)

Bugfixes

  • Fix compilation error on Arch Linux (#98,#99 Ben Hamill)
  • Corrected Russian translation (#97 Vagif Abilov)

Changes

  • Relaxed gem dependencies to use >=. (Rob Slifka, Aslak Hellesøy)

Changes

  • Fixing C90 errors on Ubuntu Natty (#92 Colin Dean)
  • Romanian (ro) language update, extracted from a real-world project. (Iulian Dogariu)

Changes

  • 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!)

Bugfixes

  • 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 Features

  • 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)

New Features

  • 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)

Removed Features

  • Trollop based CLI - didn't find a good use for it yet. (Aslak Hellesøy)

Bugfixes

  • I18n.getCodeKeywords() on Java didn't strip '!'. Not anymore. (Aslak Hellesøy)

Bugfixes

  • I18n.getCodeKeywords() on Java included '*'. Not anymore. (Aslak Hellesøy)

New Features

  • Gherkin will scan all top comments for the language comment. (Aslak Hellesøy)

Bugfixes

  • C99 features used by gherkin code (#75 Graham Agnew)

Bugfixes

  • Add back missing development dependency on cucumber (Aslak Hellesøy)

New Features

  • 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)

New Features

  • 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)

Changed features

  • 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.

Bugfixes

  • I18nLexer doesn't recognise language header with \r\n on OS X. (#70 Aslak Hellesøy)

New Features

  • Pure Java FilterFormatter. (Aslak Hellesøy)
  • Pure Java JSONFormatter. (Aslak Hellesøy)

Changed Features

  • 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)

Bugfixes

  • Line filter works on JRuby with Scenarios without steps. (Aslak Hellesøy)

Changed Features

  • The JSON schema now puts background inside the "elements" Array. Makes parsing simpler. (Aslak Hellesøy)

Bugfixes

  • #steps fails on JRuby with 2.1.3 (#68 Aslak Hellesøy)

Bugfixes

  • Examples are not cleared when an ignored Scenario Outline/Examples is followed by a Scenario. (#67 Aslak Hellesøy)

Bugfixes

  • 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!

New Features

  • Pirate! (anteaya)
  • Tag limits for negative tags (Aslak Hellesøy)

Changed Features

  • The formatter API has changed and the listener API is now only used internally. (Aslak Hellesøy)

Removed Features

  • FilterListener has been replaced with FilterFormatter. Currently only in Ruby (no Java impl yet). (Aslak Hellesøy)

New Features

  • New JSON Lexer. (Gregory Hnatiuk)

Bugfixes

  • 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)

Changed Features

  • 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 Features

  • New JSON formatter. (Aslak Hellesøy, Joseph Wilk)
  • New synonyms for Hungarian (Bence Golda)
  • Upgraded to use RSpec 2.0.0 (Aslak Hellesøy)

Bugfixes

  • undefined method `<=>' on JRuby (#52 Aslak Hellesøy)
  • Include link to explanation of LexingError (Mike Sassak)

Changed Features

  • 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)

New Features

  • Native gems for IronRuby. Bundles IKVM OpenJDK dlls as well as ikvmc-compiled gherkin.dll. Experimental! (Aslak Hellesøy)

Bugfixes

  • Use I18n.class' class loader instead of context class loader to load Java lexers. Hoping this fixes loading bug for good. (Aslak Hellesøy)

Bugfixes

  • 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)

New Features

  • Table cells can now contain escaped bars - | and escaped backslashes - \. (#48. Gregory Hnatiuk, Aslak Hellesøy)
  • Luxemburgish (lu) added. (Christoph König)

New Features

  • Ignore the BOM that many retarded Windows editors insist on sticking in the beginning of a file. (Aslak Hellesøy)

Bugfixes

  • 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)

Bugfixes

  • hard tabs crazy indentation for pystrings in formatter (#55 Aslak Hellesøy)

Changed Features

  • Java API now uses camelCased method names instead of underscored (more Java-like) (Aslak Hellesøy)

Bugfixes

  • Make prebuilt binaries work on both Ruby 1.8.x and 1.9.x on Windows (#54 Luis Lavena, Aslak Hellesøy)

Bugfixes

  • Fix compile warning on ruby 1.9.2dev (2009-07-18 trunk 24186) (#53 Aslak Hellesøy)

Bugfixes

  • The gherkin CLI is working again (Gregory Hnatiuk)

New Features

  • Works with JRuby 1.5.0.RC1 (Aslak Hellesøy)

Changed Features

  • I18n.code_keywords now return And and But as well, making Cucumber StepDefs a little more flexible (Aslak Hellesøy)

Bugfixes

  • Explicitly use UTF-8 encoding when scanning source with Java lexer. (Aslak Hellesøy)

Bugfixes

  • Gherkin::I18n.keyword_regexp was broken (used for 3rd party code generation). (#51 Aslak Hellesøy)

(Something went wrong when releasing 1.0.15)

Bugfixes

  • Reduced risk of halfway botched releases. (Aslak Hellesøy)

New Features

  • Implemented more functionality in I18n.java. (Aslak Hellesøy)

Changed Features

  • Java methods are no longer throwing Exception (but RuntimeException). (Aslak Hellesøy)

(Something went wrong when releasing 1.0.13)

New Features

  • Filter on Background name. (Aslak Hellesøy)

Bugfixes

  • Fixed incorrect filtering of pystring in Background. (Mike Sassak)

Bugfixes

  • Fixed bad packaging (C files were not packaged in POSIX gem)

New Features

  • Added Esperanto and added a Russian synonym for Feature. (Antono Vasiljev)
  • Pure Java implementation of FilterListener and TagExpression (Mike Gaffney, Aslak Hellesøy)

Changed Features

  • TagExpression takes array args instead of varargs. (Aslak Hellesøy)

Bugfixes

  • Triple escaped quotes (""") in PyStrings are unescaped to """. (Aslak Hellesøy)

Bugfixes

  • Removed illegal comma from Ukrainian synonym. (Aslak Hellesøy)

Bugfixes

  • Fixed problems with packaging of 1.0.6 release. (Aslak Hellesøy)

New Features

  • Fully automated release process. (Aslak Hellesøy)

Changed Features

  • Made generated classes use a more uniform naming convention. (Aslak Hellesøy)

Removed Features

  • Removed C# port, obsoleted by IKVM build from 1.0.5. (Aslak Hellesøy)

New Features

  • New .NET build of gherkin - an ikvmc build of gherkin.jar to gherkin.dll. (Aslak Hellesøy)

Bugfixes

  • Made parsers reusable so that the same instance can parse several features. (Aslak Hellesøy)

New features

  • 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)

Changed features

  • The Lexer now emits the '@' for tags. (Aslak Hellesøy)

Bugfixes

  • 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)

New features

  • 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)

Changed features

  • 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)

Bugfixes

  • Build passes on Ruby 1.9.2 (Aslak Hellesøy)

New features

  • 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)