Skip to content

Releases: BRIKEV/twd-cli

v1.1.9

15 Apr 15:39

Choose a tag to compare

  • chore: update twd-js to 1.7.1
  • chore: update puppeteer to 24.41.0

v1.1.8

15 Apr 11:57

Choose a tag to compare

  • chore: update twd-js to 1.7.0

v1.1.6

14 Apr 11:10

Choose a tag to compare

What's Changed

  • chore: update twd-js to 1.6.6

v1.1.5

13 Apr 07:24

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix mock overlap in contract validation — mocks sharing the same alias no longer silently overwrite each other (#4)

New Features

  • Contract reports now show the test name and occurrence for each validated mock (e.g. mock "getPets" — in "Cart > should load items")
  • Composite dedup key (method:url:status:testId:occurrence) replaces alias-only key, so the same mock used multiple times in a test is tracked independently
  • buildTestPath utility walks the handler parent chain to build full test path strings
  • formatMockLabel utility formats mock labels with ordinal occurrence suffixes (2nd, 3rd…)

v1.1.4

08 Apr 13:55

Choose a tag to compare

Changes

  • chore: update dependencies
  • chore: update openapi-mock-validator to 0.1.4

v1.1.3

08 Apr 09:00

Choose a tag to compare

Changes

  • chore: update dependencies
  • chore: update openapi-mock-validator to 0.1.3

v1.1.2

06 Apr 17:49

Choose a tag to compare

Dependencies

  • openapi-mock-validator@0.1.2

v1.1.1

06 Apr 11:48

Choose a tag to compare

Dependencies

  • openapi-mock-validator@0.1.1

v1.1.0

03 Apr 10:38

Choose a tag to compare

Contract Validation & GitHub Action

Features

  • Contract validation — validate collected mocks against OpenAPI 3.0/3.1 specs at the end of the test run
  • Markdown PR reports — compact summary table posted as a PR comment when contractReportPath is configured
  • Composite GitHub Action (BRIKEV/twd-cli/.github/actions/run) — replaces Puppeteer cache, Chrome install, twd-cli run, and contract report posting in a single step
  • Comprehensive schema validation — string formats (uuid, email, date-time, uri, ipv4, ipv6), number constraints (min, max, exclusiveMin/Max, multipleOf), enum, array constraints (minItems, maxItems, uniqueItems), additionalProperties, nullable (3.0 and 3.1)

Fixes

  • Mock collector keyed by alias so all mocks appear in the report
  • Lockfile regenerated for cross-platform CI compatibility

Performance

  • Removed unnecessary twd.visit() from mock-only tests
  • Reuse Ajv instance across validations (14x faster validation)

Dependencies

  • openapi-mock-validator@0.1.0
  • twd-js@1.6.4

v1.0.20

16 Mar 12:19

Choose a tag to compare

  • chore: update twd-js to 1.6.2