PackageTrack

npm · #3769

@cucumber/gherkin

42.0.1cucumber/gherkin

Gherkin parser

Release timeline

72 releases since 2020
2020202120222023202420252026

Releases

  1. 15.0.07 Aug 2020
    Release notes

    Changed

    • Update messages to 13.0.1
    Open source →
  2. 14.2.031 Jul 2020
    Release notes

    Changed

    • Update messages to 12.4.0
    Open source →
  3. 14.1.029 Jul 2020
    Release notes

    Changed

    • Update messages to 12.3.2
    Open source →
  4. 14.0.229 Jun 2020
    Release notes

    Fixed

    • [JavaScript] Actually merge #1094 - it wasn't done in 14.0.1
    • [JavaScript] Throw NoSuchLanguageException when language is unknown #1102 (#1102 mpkorstanje)
    Open source →
  5. 14.0.129 Jun 2020
    Release notes

    Fixed

    Open source →
  6. 14.0.027 Jun 2020
    Release notes

    Added

    • [Java] Enable consumers to find our version at runtime using clazz.getPackage().getImplementationVersion() by upgrading to cucumber-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)

    Changed

    • 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 an astNodeId to find the pickle ids instead of a line number * getPickleStepIds: now takes an astNodeId parameter instead of a URL and a line number to locate the pickle step id * expose parse and parseAndCompile utilities
    • Fixed Estonian translation of "Rule" (#973 ookull)
    • Fixed Estonian translation of "Scenario Outline" (#972 ookull)

    Fixed

    • [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)
    Open source →
  7. 13.0.014 Apr 2020
    Release notes

    Changed

    • Upgrade to messages 12.0.0
    Open source →
  8. 12.0.031 Mar 2020
    Release notes

    Added

    • [JavaScript] New exports: * Parser * compile (#924 davidjgoss)
    • [JavaScript] Add Query#getPickles()
    • [JavaScript] Export compile function for compiling Pickles

    Changed

    • Upgrade to messages 11.x
    • [JavaScript] The default export has been removed. Replaced with: * import { GherkinStreams } from 'gherkin' to use the fromPaths, fromStream and fromSources functions * import { dialects } from 'gherkin' to access dialects
    • [JavaScript] Dialect properties are read only
    • [JavaScript] fromPaths, fromStream and fromSources now use ReadOnlyArray to prevent modifying the passed array.

    Fixed

    Open source →
  9. 11.0.02 Mar 2020
    Release notes

    Changed

    • [JavaScript] Renamed GherkinQuery to Query

    Fixed

    • Update Indonesian Gherkin Language (#872 [#KniveX])

    Removed

    • [JavaScript] Removed StrictMap and StrictArrayMultiMap
    Open source →
  10. 10.0.013 Feb 2020
    Release notes

    Changed

    • Upgrade to messages v10.0.1

    Fixed

    • [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)
    Open source →
  11. 9.2.022 Jan 2020
    Release notes

    Added

    • [JavaScript] Add getGherkinDocuments(): messages.IGherkinDocument[]
    • [JavaScript] Add `getPickleStepIds(uri: string, lineNumber: number): string[]``

    Changed

    • [JavaScript] Change signature of getPickleIds(uri: string, lineNumber?: number): string[] - lineNumber is optional
    • [JavaScript] getPickleIds only operates on pickles, and not on pickle steps
    Open source →
  12. 9.1.010 Jan 2020
    Release notes

    Added

    Changed

    • Upgrade to messages 9.0.1
    • [JavaScript] the Gherkin#fromStream, Gherkin#fromPaths and Gherkin#fromSources functions' options argument is no longer optional, and it must have a createReadStream property. The reason for this is to decouple the library from Node's fs module so it can be packaged with Webpack and be used in a browser.
    Open source →