Skip to content

Latest commit

 

History

History
199 lines (159 loc) · 7.77 KB

CHANGELOG.md

File metadata and controls

199 lines (159 loc) · 7.77 KB

Change Log

All notable changes to the "karate-ide" extension will be documented in this file.

1.5.0

  • Adds DapServer to vscode.jar to bring back debugsupport
  • Compilation against karate-core 1.5.0

1.4.1

  • Fixes support for openapi property type "number" when generating validation schemas.

1.4.0

  • Upgrades API-Mock to karate.jar 1.4.1
  • Validates compatibility with karate.jar 1.4.1

1.3.6

  • Adds min,max & pattern validation based on open API schema
  • Fix for "Validation Schemas" generated from OpenAPI supporting "required fields" #30

1.3.5

  • Fixes "Validation Schemas" generated from OpenAPI supporting "required fields" #30

1.3.4

  • Upgrade to zenwave-apimock 0.1.4
  • Remove old "Configure classpath" entries
  • Validate compatibility with karate.jar 1.4.0

1.3.3

  • Clear HttpLogs view on each new request

1.3.2

  • Fallback "activationEvents" to "*"

1.3.1

  • Compatibility with karate 1.3.0
  • Upgrade to ApiMock 0.1.2 for karate 1.3.0 compatibility

1.2.2

  • fixes reloading karate test files after adding features
  • openapi generator: use @ shortcut to call scenario in same feature
  • fixes calculate rootFolder when no marker file is found

1.2.1

  • Updates ZenWave APIMock for Karate 1.2.1

1.2.0

  • Adds Karate 1.2.0 option to KarateIDE: Configure Classpath
  • Adds "Generating KarateDSL tests from OpenAPI definition" video to README.md

1.1.2

  • Add support for multi-root workspace

1.1.1

  • Renamed to ZenWave KarateIDE
  • Adds "High Fidelity Stateful Mocks (Consumer Contracts) with OpenAPI and KarateDSL" link to readme.
  • Upgrades ZenWave ApiMock to version 0.0.6

1.1.0

  • Upgrades ZenWave ApiMock to version 0.0.5
  • Adds configuration to override apimock.jar location
  • On config change Kill Karate Process
  • Network Logs: adds section in tree for query params
  • Network Logs: improves labels and tooltips
  • Fix target classpath folder for karate-auth.js
  • Autogenerate matchResponse = "true" by default only for 2xx status codes
  • Calculate classpath root when generating "Business Flow Tests"
  • Narrow down "activationEvents"
  • Upgrade generated karate-project templates
  • Show cwd on Execution logs and keep it when switching log views
  • On delete .feature files remove them from Tests Explorer

1.0.4

  • Adds KarateIDE: Generate Karate Project command.
  • Adds SmartPaste to editor/context
  • Use 'openapi-sampler' for generating example payloads
  • Improves how text responses are shown in Karate Output Channel
  • Document Kill Karate Process and classpath cache

1.0.3

  • Fixes vscode RuntimeHook for Java 17
  • Removes karateIDE.tests.watchForFeatures to disable watching for workspace changes

1.0.2

  • improves Karate classpath configuration error messages
  • Adds LinkedIn white paper to README.md

1.0.1

  • Updates README.md with new screenshots and descriptions
  • Adds karateIDE.tests.watchForFeatures to disable watching for workspace changes and circunvent vscode rg process eating up all CPU in some cases.
  • Fixes ApiMock to stop sending responses as pretty printed JSON

1.0.0

  • Http Logs
    • Click on http logs shows request/response/payloads pretty-printed in Karate OutputChannels
    • Copy as expression
    • Copy as Mock
    • [~] Filter payload using JsonPath: Context Menu + Filtering WebView
  • Status Bar
    • Real time test execution status
    • Click to relaunch last run/debug
  • OutputChannel
    • [no] Click-to-open to relative files
    • Colorize output channel
  • Karate Process Server for execution startup performance
    • Keep Debug Session open
    • Keep Execution Session open
  • Move Run/Debug buttons to editor gutter (Using native vscode Tests API)
    • Play button in gutter
    • Debug button as right click menu
    • Cross icon for failed tests with summary on hover
  • API Mock
    • APIMock library for reusing openapi schemas and examples in Karate Mocks
    • UI Mock Runner with apimock/openapi support
    • Contribute Mocks RuntimeHooks to karate-core
    • Implement request/response validation with openapi for mocks
    • Implement 'routable' openapi examples
    • Generators for openapi examples
  • OpenAPI generators
    • Business flow test generator
    • Stateful mock generator
    • Test for mock validation (simple)
  • Linkedin article: "from zero to contract testing for rest apis"

0.9.x

  • SmartPaste
    • "Paste json as new file" on Outline Examples when pasted over a row with filename and insert row
    • "Paste json object as new row" on Outline Examples mapped by column name
    • "Paste json array as new row" on Outline Examples
    • SmartPaste fix and only on karate files
  • OpenAPI generator
    • support both **arg and no **arg styles in @operation Scenarios
    • generate Scenario Outlines examples as inline rows of params
    • Refactor Schema validation generated code
      • Make default schema validation part of @validation Scenario
      • [-] Improve/flexibilize "match each" schema definition
      • [-] Allow mix both default and extended/custom schema validations
  • VSCodeRuntimeHook.java patches for karate unexpected behavior
    • onScenarioOutline start/stop
    • onFeatureEnd on empty features
  • Remove duplicates in classpath autocompletion
  • Fix karatelabs/karate#1499 "support calling other scenarios in the same (implied) feature by tag" in karate-core
  • Expose in karate-core "Keep karate debug session open" as Main command line option
  • StatusBar
  • Dynamic title bar in Executions/Tests View

0.8.x

  • Execution Process:
    • Replace Shell/Tasks and use child_process.spawn and OutpuChannel
    • Singleton
    • Progress bar with scenario name (in notification for Run and statusbar for Debug)
    • Cancelable
  • Executions Tree
    • Show Output for single Feature/Scenarios
    • Nested Outline Scenarios
    • Failed Scenarios Tooltip
  • Focus/Open on Karate Perspective when running
  • Http Logs
    • Labels / Copy
    • Thread Name
    • Nested Features
  • Debug Port
  • StatusBar
  • Colorize
  • Reusable Debug Session
  • Configure classpath command
  • SmartPaste fix and only on karate files

0.5.0

  • Karate.env switcher
  • Focus/Filter features/scenarios and test-data files using glob regexps and karate tags
  • EventLogs Server listening from events send by a karate RuntimeHook with karate runtime information that will feed:
  • Structured http logs viewer using a tree view (v1)
    • Click to open request/response payloads in empty json document
    • Tree view (v2) with scenarios calls hierarchy
    • Click to open feature line where http calls are made
    • JsonPath filter command for opened payload json documents
  • Executions view:
    • Replay last execution
    • Play single scenario from last execution
    • Click to open scenario from executions tree
  • Explore a way to keep session variables between manual executions (like authentication sessions or response output)
  • Karate feature code generation from OpenAPI definition command
  • Refactor launch/debug auto-configuration: don't try to guess build system or depend on configured default terminal to work.