Skip to content

v0.4.0

Choose a tag to compare

@vvedantb vvedantb released this 18 Oct 14:19
· 56 commits to main since this release

What's changed

  • Redact personal identifiers (NHS numbers that pass the check digit, emails outside reserved example domains, UK postcodes and mobile numbers), mask fields by their label, add allowlist mode (data-flowtape-allowlist / data-flowtape-safe), and make session history opt-in (#13)
  • Make Playwright and React optional peers, so a CLI-only install adds just flowtape and zod; one-time links (?token=, magic sign-in links) are replaced by the clean page they redirect to, or left out with a warning (#14)
  • Keep the Next.js overlay out of production bundles: @vvedantb/flowtape/next/client now renders only under next dev (#15)
  • Keep recording across full page loads in the same tab (form posts, location.href, reloads) through sessionStorage; persist: false turns it off (#16)
  • Record assertions while recording: Assert, then click an element. The click is not passed to the app, and the check shows up as a Check: step in the prompt (#17)
  • Export each flow as a test for the e2e runner (@e2e-dev/web): saved flows also write .flowtape/e2e/<slug>.e2e.ts, and there is a new flowtape e2e <flow.json> command. Masked values come from the runner's secrets (#18)

Behaviour changes: the Session history switch now starts Off. If you use record or replay, install playwright yourself (npm install -D playwright). The Next.js client overlay only renders in development.

npm: @vvedantb/flowtape@0.4.0