Skip to content

Changelog

Peter Thomas edited this page Jan 28, 2024 · 1 revision

[1.8.0]

Updated

  • Update to final IntelliJ IDE platform 2023.3

[1.7.9]

Updated

  • No longer using JetBrains Marketplace for license purchase
  • Introduced PLUS subscription level in addition to PRO
  • To run tests you require at least a PLUS subscription

[1.7.8]

Updated

  • Update to final IntelliJ IDE platform 2023.2
  • Support running Karate addons, starting with Kafka support

[1.7.7]

Fixed

  • Exception about invalid text ranges related to incomplete multiline string literals.
  • Properly set working directory and environment variables with 2023.2.

[1.7.6]

Fixed

  • Parsing and highlighting of .feature files was causing UI freezes for some incomplete match expressions.

[1.7.5]

Updated

  • Support JetBrains IDEs 2023.2

Improved

  • Parsing of match expressions with nested pairs of () or [] on the left-hand-side expression.

Fixed

  • Support contains only deep.
  • The Karate test runner is now properly working when executed with the debugger. Previously, the error Test framework quit unexpectedly was shown.
  • The debugger tool window is now properly activated when a breakpoint is hit in a Karate file.
  • Newly created Karate run configuration now use $MODULE_WORKING_DIR$ as the default working directory (#31).

[1.7.4]

Updated

  • Show a notification when the Karate debugger is launched without a valid license for the Karate plugin.

[1.7.1]

Fixed

  • Fixed bugs in Postman import, import errors will no longer stop the import, but will be added to the generated feature file as comments.

[1.7.0]

Added

  • New action "Import with Karate" to convert files into Karate's .feature file format. Supported file types are Postman, Postman JavaScript, HAR, OpenAPI, Swagger, cURL. The action is available in the context menu of the project view and in the tools menu.
  • New intention "Format JSON" to reformat injected JSON content.
  • New intention "Simplify JSON" to simplify and reformat injected JSON content.
  • New intention "To Multi-Line" to turn a plain JSON literal into a multi-line JSON
  • New intention "To Single-Line" to turn a multi-line JSON literal into single-line JSON
  • Formatting a .feature file now also formats injected content, e.g. JSON inside a .feature file.
  • JavaScript highlighting values passed to * url ....
  • JavaScript highlighting values passed to * path ....
  • JavaScript highlighting values passed to * param ....
  • JavaScript highlighting values passed to * method ....
  • Highlighting of invalid HTTP method names passed to * method ....
  • Support for 2023.1 EAP

Fixed

  • Folding of multiline strings.
  • Exception executing quick fix "Create Examples Section".

[1.6.0]

Added

  • Allow to use the "Shorten Classpath" settings for Karate run configurations.
  • Compatibility with 2022.3.
  • Update bundled Karate JAR to version 1.3.0

[1.5.1]

Fixed

  • #18: JsonPath shortcut form expressions marked as syntax errors
  • #19: NullPointerException during debugging.
  • Exception using breakpoints with a Karate 1.3 preview release.

[1.5.0]

Added

  • Now basic features are free and can be used without a license.
  • #14: Highlight JSON on the right-hand-side value of json steps as JSON.
  • #14: Highlight XML on the right-hand-side value of xml steps as XML.

[1.4.0]

Added

  • New action "Hot Reload" to allow refreshing the current .feature file in a debug session.

Improved

  • Moved action "Step back" into the left debugger toolbar and updated the icon.

Fixed

  • Evaluation of expressions in the Karate debugger. It's now possible to evaluate complete steps, e.g. def myVar = value, and simple variables like myVar.

[1.3.0]

Added

  • Support for get expression and get[0] expression inside def expressions.

Improved

  • Support for JavaScript expressions on the left-hand-side of match expressions, e.g. * match [a, b] contains value.
  • Better names for run configurations, which reference a Scenario: or Scenario Outline: without description.
  • Support for JSON-Path exressions on the left-hand-side of match expressions.

Fixed

  • #6: Running a Scenario Outline from the gutter results in the entire feature file being run
  • #7: agged scenarios are terminated if run from the gutter
  • #8: Feature descriptions are tossing errors if certain characters/keywords are included
  • #10: XPath/jsonPath appears to be causing problems with the "match" keyword
  • #11: XML declarations are generating errors when included in multi-line doc strings
  • #12: karate.filterKeys() is sometimes preventing the next Scenario from being executable from the gutter

[1.2.3]

Improved

  • Support for the karate object and references to built-in JavaScript.

[1.2.1]

Added

  • Debug support (including "step back" and Karate + Java mixed-mode)

[1.1.0]

Added

  • Support the request keyword
  • Support the configure keyword
  • Show a test console view for Karate run configurations

Fixed

  • Support multiline strings with the eval keyword
  • Don't show error Expecting newline or semicolon for function declarations inside injected JavaScript expressions

[1.0.0]

Added

  • First public release of the Karate plugin on the JetBrains marketplace
  • Forked the JetBrains Gherkin plugin
  • Added test coverage for lexer and parser using all Karate demo files
  • New lexer with support for Karate's syntax extensions
  • Added support for def and text declarations
  • Highlighting of XML, XPath, JSON5, JsonPath, JavaScript for right-hand-side values of def declarations.
  • Support the eval keywords and implicit JS expression when eval was omitted.
  • Support the match expression
  • Support code completion of support keywords in steps
  • Warn about required whitespace around = in a def statement, e.g. * def myVariable=value
  • Support completion and references to the global karate object in injected JavaScript code
  • Run configurations to execute Karate .feature files with the bundled Karate JAR file.

Fixed

  • Search for Karate in the project's classpath when executing a .feature file
  • Editing of content injected into multiline strings

Clone this wiki locally