Skip to content

v1.7.2

Choose a tag to compare

@kevinccbsg kevinccbsg released this 21 Apr 10:15
· 65 commits to main since this release

What's Changed

  • fix(mockBridge): forward responseHeaders to __twdCollectMock (#222) — downstream contract validation (twd-cli / openapi-mock-validator) can now apply Content-Type-aware schema selection instead of falsely warning about missing JSON schemas for non-JSON mocks.
  • fix(screenDom): prioritize known app roots (#root, #app, app-root) and skip empty containers when scoping queries; add rootSelector option to initTWD for non-standard roots (#223) — fixes silent query failures on sandbox environments (CodeSandbox, browser extensions) that inject overlay siblings before the app root.

Full Changelog: v1.7.1...v1.7.2