Skip to content

Latest commit

 

History

History
91 lines (74 loc) · 3.39 KB

CHANGELOG.md

File metadata and controls

91 lines (74 loc) · 3.39 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.

[1.5.1] - 2023-07-17

Fixed

  • Fix load default config file if argument is not specified. by @Nyaran in #440

[1.5.0] - 2023-07-15

Added

  • Support custom rules in TypeScript by @Nyaran in #434

Changed

  • Improve rule no-restricted-patterns allowing to restrict words on steps by @AlexisArteaga13 in #433
  • Improve rule keywords-in-logical-order allowing to detect missing keywords by @AlexisArteaga13 in #438

[1.4.1] - 2023-03-14

Fixed

  • Fix table-align rule when scaped pipes are present (by @devilj) #363.
  • Fix test workflow to use properly different node versions. #367

[1.4.0] - 2023-03-04

Changed

  • Escape pipes in table cells (by @devilj) #357.
  • Run tests on node 18 and 19.
  • Migrate project to TypeScript.

[1.3.0] - 2022-03-07

Added

  • Added rules allow-all-caps & allow-all-lowercase #123.
  • Support warn/error levels for rules. (on is assumed as error). #66
  • New cli parameter, --max-warnings to configure exit code based on number of warnings. #66
  • Added rule related-tags.

Changed

  • Migrated code and tests to pure babel.
  • Tests now use sources instead of compiled files.
  • Replace mocha-sinon package with direct use.
  • Moved dist to build (just bc personal preference).
  • Apply language tag to code blocks on README.
  • Babel/nyc tweaks.

Fixed

  • Fix undefined use on availableConfig.

[1.2.1] - 2021-11-03

Added

  • (internal) Created method getNodeForPickle to map nodes and pickles.

Fixed

  • Fix and improve required-tags using global.

[1.2.0] - 2021-11-01

Added

  • Added rule max-tags-lines.
  • Run tests on node 17.
  • Added rule table-align.

Changed

  • Improve packaging discarding .npmignore and using files property on package.json.
  • Improve indentation to support examples tag.
  • Improve required-tags rule.
    • Add options to set required tags for each level.
    • Add option to define global tags, to be defined on any level.
    • Add options to extend rule and example tags to Scenario when that levels are not present for that Scenario.
    • Deprecated the tags option, should be replaced by scenario.
    • Improved tag checks allowing to force an expression is a RegExp (should be wrapped between slashes), and matching tag completely on string match.
    • Allow subset array to include optional required tags.
  • Improve formatters:
    • xunit: Wrap with testsuites object and add count attribute
    • stylish: Add error count to final output

Removed

  • Run tests on node 15.

[1.1.0] - 2021-10-01

Changed

  • Improve no-unused-variables to handle spaces on usage.
  • Improve file-name on camelCase to allow acronyms.

[1.0.0] - 2021-09-27

Changed

  • Rename project to gplint.
  • Improve console output when using stylish, adding column number and error level.
  • Improve rule no-dupe-scenario-names allowing to validate scenario names after replace the example variables.
  • Update Gherkin to the latest version.

[PRE]

All the previous work from https://github.com/vsiakka/gherkin-lint