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.
- (Javascript) Support for compiled cjs style step definitions (#222)
- Exposed
buildSuggestionFromCucumberExpression
andbuildSuggestionsFromRegularExpression
inindex.ts
(#227)
- Parameter highlighting for scenario outline steps with leading spaces (#219)
- (Ruby) Support
And
andBut
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)
- Dropped support for end-of-life Node version 16 (#224)
1.6.0 - 2024-05-12
- Diagnostics for marking steps as undefined in scenario outlines (#210)
1.5.1 - 2024-04-20
- (Java) Detect step definition patterns with concatenated strings (#202)
- (Java) Support
@And
and@But
step definition annotations (#202)
1.5.0 - 2024-04-08
- (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)
- (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)
1.4.1 - 2023-07-16
- (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.
1.4.0 - 2022-12-08
- Fixed a regression in the python language implementation for regexes #119
1.3.0 - 2022-11-28
- Upgraded
cucumber-expressions
, with newbuiltin
accessor on parameter types.
1.2.0 - 2022-11-18
- Added context to python snippet to properly support
behave
- Added
ParameterType
support to the python language implementation. This is currently supported via cuke4behave
1.1.1 - 2022-10-11
- (TypeScript) Fix bug in template literal recognition
1.1.0 - 2022-10-10
- Add support for document symbols (#98, #106)
- (Java) Recognise regexps with
(?i)
, with the caveat that the resulting JavaScriptRegExp
is not case insensitive (#100, #108) - (TypeScript) Add support for template literals without subsitutions. (#101, #107)
1.0.1 - 2022-10-10
1.0.0 - 2022-10-05
- Support for Cucumber Rust (#82, #99)
0.33.0 - 2022-09-10
0.32.0 - 2022-08-27
- Recognize parameter types using array for
regexp
(#67, #86) - Support escaped single and double quotes in TypeScript and Ruby (#66, #85)
- Highlight
Background
keyword (#78)
0.31.0 - 2022-07-14
- Basic Python Support via behave (#69)
- All types are immutable (using
Readonly
)
0.30.0 - 2022-06-13
0.29.0 - 2022-06-03
- The
tree-sitter
module is an optional dependency. This reduces the risk of installation problems on Windows and also makes the library more light weight.
0.28.0 - 2022-05-26
0.27.0 - 2022-05-26
- Make all
tree-sitter-{language}
dependencies optional. They are only needed at runtime for theNodeParserAdapter
- theWasmParserAdapter
does not need them (they use prebuiltdist/*.wasm
files included in the module).
0.26.0 - 2022-05-26
- Handle Cucumber Expression optionals not preceded by space in suggestions
0.25.0 - 2022-05-25
Source.path
has been renamed toSource.uri
- Remove dependency on Node
path
fromExpressionBuilder
in order to make the library work in a browser
0.24.1 - 2022-05-25
- Fix handling of
And
andBut
which wasn't properly fixed in0.24.0
0.24.0 - 2022-05-25
- The mustache templating syntax now uses different variables (#54)
- Undefined
And
andBut
steps now generate the correctGiven
,When
orThen
keyword, based on parent step(s) (#54) - Parameters are excluded from method names (#54)
- Generated C# step definitions include the keyword in the method name (#54)
0.23.1 - 2022-05-25
- Fix parsing of Java regular expressions by unescaping
\\
to\
. (#51)
0.23.0 - 2022-05-24
- Generate a single code action with relative path (#50)
0.22.2 - 2022-05-24
- Fix a few bugs in snipet generation
0.22.1 - 2022-05-24
- Remove newlines from snippet templates
0.22.0 - 2022-05-24
- Implement generate step definition (#46)
0.21.0 - 2022-05-23
- Implement go to step definition (#48)
0.20.4 - 2022-05-12
- Fix release.
0.20.3 - 2022-05-12
- Don't fail if a parameter type is already registered. Report it as an error instead.
0.20.2 - 2022-05-12
- Fix release.
0.20.1 - 2022-05-12
- Don't fail if an expression fails to parse. Report it as an error instead.
0.20.0 - 2022-05-11
- Made
<Source>
type generic
0.19.0 - 2022-05-11
0.18.1 - 2022-05-10
- Remove logging
0.18.0 - 2022-05-10
- Autocomlete suggestions now set
filterText
to prevent VSCode from filtering out suggestions - Autocomlete suggestions now set
sortText
to display suggestions from undefined steps last
0.17.0 - 2022-05-09
- Ruby support (#44)
- Label suggestions from unmatched steps as
(undefined)
(#43)
0.16.0 - 2022-05-05
- Build suggestions from unmatched gherkin steps (#40)
0.15.0 - 2022-04-27
- Added support for PHP (#28)
- Add
ParserAdapter#init()
to public API
0.14.4 - 2022-04-25
- Make sure
dist/cjs/package.json
is added to published npm module
0.14.3 - 2022-04-25
- Properly export
@cucumber/language-server/node
and@cucumber/language-server/wasm
modules.
0.14.2 - 2022-04-25
- Only build wasm in local development
0.14.1 - 2022-04-25
- Fix GitHub Action for releasing
0.14.0 - 2022-04-25
- Fixed escaping of LSP snippets (#34)
0.13.0 - 2022-04-22
- Renamed
StepDocument
toSuggestion
- The
ExpressionBuilder
constructor has changed. Consumers must provide aParserAdapter
- currently aNodeParserAdapter
is the only implementation.
- Support for tree-sitter web bindings have been removed. It can be added back in a later relase by implementing a
WebParserAdapter
. - Support for Node.js 17 removed - see tree-sitter/tree-sitter#1503
0.12.1 - 2022-02-04
- Add wasm files to npm module
0.12.0 - 2022-02-04
- Add tree-sitter functionality (
ExpressionBuilder
)
0.11.0 - 2022-01-10
- Upgrade to
@cucumber/cucumber-expressions
version15.0.1
0.10.1 - 2021-11-08
0.10.0 - 2021-11-08
- Move
tree-sitter
functionality to@cucumber/language-server
0.9.0 - 2021-11-04
- Add optional error handler to
MessageBuilder#processMessage
0.8.0 - 2021-10-21
- Expose gherkin functions
0.7.1 - 2021-10-21
- Include wasm files in npm module
0.7.0 - 2021-10-21
- Set language in buildExpressions
- Add ExpressionBuilder
0.6.0 - 2021-10-20
- TypeScript support
- Misc API changes
0.5.0 - 2021-10-13
- Expose service API
0.4.0 - 2021-10-13
- Add code from
@cucumber/suggest
into this module
- Completely changed the API
0.3.0 - 2021-10-12
- Upgrade to
@cucumber/cucumber-expressions 14.0.0
- Upgrade to
@cucumber/suggest 0.0.6
0.2.0 - 2021-09-15
- Upgrade to
@cucumber/cucumber-expressions 13.0.1
0.1.1 - 2021-09-08
- Fix insertion of completion items so it always replaces the full line rather than appending to the end. (#1737 aslakhellesoy)
0.1.0 - 2021-09-07
- First release
- Add
CucumberInfoBuilder
andCucumberInfo
(#1734 aslakhellesoy) - Document Formatting (#1732 aslakhellesoy)