Skip to content

Releases: cucumber/language-service

v1.7.0

18 May 15:01
v1.7.0
359a565

Choose a tag to compare

Added

  • Syntax highlighting for comments (#) (#245)
  • (Python) Support the pypi-parse step definition matcher used by behave and pytest-bdd (#236)
  • Added behat arg detection (#228)
  • Added support for Node versions 20, 22 and 23 (#235)
  • (Javascript) Support for compiled cjs style step definitions (#222)
  • Exposed buildSuggestionFromCucumberExpression and buildSuggestionsFromRegularExpression in index.ts (#227)

Fixed

  • Parameter highlighting for scenario outline steps with leading spaces (#219)
  • (Ruby) Support And and But step definition annotations (#211)
  • (Python) Title variants of Behave's decorators (Step, Given, When, Then) (#213)
  • (PHP) Scoped query to match annotations only (@Given) (#214)
  • (Go) Find godog step definitions within method_declaration (#215)
  • Exception thrown for unterminated docstrings (#216)

Removed

  • Dropped support for end-of-life Node version 16 (#224)

v1.6.0

12 May 20:19
v1.6.0
1910baf

Choose a tag to compare

Added

  • Diagnostics for marking steps as undefined in scenario outlines (#210)

v1.5.1

20 Apr 20:28
v1.5.1
65bbdb5

Choose a tag to compare

Fixed

  • (Java) Detect step definition patterns with concatenated strings (#202)
  • (Java) Support @And and @But step definition annotations (#202)

v1.5.0

08 Apr 18:16
v1.5.0
afa7d3c

Choose a tag to compare

Added

  • (Python) Support for u-strings with step definition patterns (#173)
  • (Python) Support for behave's generic step definition decorator (#200)
  • (Go) Support for Godog step definitions (#130)
  • Malaysian localisation and translations for "Rule" in Vietnamese, Irish, Danish, Dutch (gherkin v27.0.0, gherkin v28.0.0)

Fixed

  • (Python) Fix index failures from partial parameter type matches (#196)
  • (Python) Unexpected spaces and commas in generated step definitions (#160)
  • (Rust) Support for r# raw strings with step definition patterns (#176)
  • (Rust) Line continuation characters in rust step definition patterns (#179)
  • Prevent formatting introducing trailing whitespace on headings (gherkin-utils#35)
  • Prevent formatting removing trailing comments (gherkin-utils#38)
  • Format table widths with full-width characters (gherkin-utils#53)
  • Verbose alternation in optional error message (cucumber-expressions#260, cucumber-expressions#253)

v1.4.1

16 Jul 19:29
1422a6f

Choose a tag to compare

Fixed

  • (Python) There was a bug in how long concatenated strings were handled for multi-line regexes
  • Updated TreeSitter and numerous other dependencies to promote runtime compatibility with Electron 14.

v1.4.0

08 Dec 11:38
v1.4.0
2ef6b3d

Choose a tag to compare

Added

Fixed

  • Fixed a regression in the python language implementation for regexes #119

v1.3.0

28 Nov 10:11
v1.3.0
f1ab495

Choose a tag to compare

Added

  • Upgraded cucumber-expressions, with new builtin accessor on parameter types.

v1.2.0

18 Nov 12:49
v1.2.0
5ccc498

Choose a tag to compare

Added

  • Added context to python snippet to properly support behave
  • Added ParameterType support to the python language implementation. This is currently supported via cuke4behave

v1.1.1

10 Oct 22:32
v1.1.1
e31c850

Choose a tag to compare

Fixed

  • (TypeScript) Fix bug in template literal recognition

v1.1.0

10 Oct 20:41
v1.1.0
01d387f

Choose a tag to compare

Added

  • Add support for document symbols (#98, #106)
  • (Java) Recognise regexps with (?i), with the caveat that the resulting JavaScript RegExp is not case insensitive (#100, #108)
  • (TypeScript) Add support for template literals without subsitutions. (#101, #107)