Skip to content

Releases

v0.4.1

Choose a tag to compare

@vvedantb vvedantb released this 18 Oct 15:36

What's changed

  • Assert checks on redacted text now work. When an asserted element's text includes personal data, flowtape stores it with [REDACTED], which never appears on the page. The e2e draft and the prompt now check the clean part instead (for example Seen at). If nothing usable is left, the draft checks visibility only and adds a TODO. A partly redacted field value also gives a TODO instead of a weaker check. (#19)
  • Repeated elements narrow by position when their text is partly redacted, or when they are fields. The clean part of the text can match sibling rows, and hasText never matches a field's value, so these now use nth() instead of filter({ hasText }). (#19)
  • No more React style warning when toggling Assert. The overlay buttons no longer mix border and borderColor. There is no visual change. (#19)

npm: @vvedantb/flowtape@0.4.1

v0.4.0

Choose a tag to compare

@vvedantb vvedantb released this 18 Oct 14:19

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

v0.3.0

Choose a tag to compare

@vvedantb vvedantb released this 17 Oct 23:10

What's changed

  • Call the built CLI directly so a fresh clone runs the history e2e test (#10, fixes #8)
  • Record redirect chains as the outcome of a step, not as navigate steps (#11, fixes #9)
  • Add Next.js support: App Router and Pages Router route handlers, @vvedantb/flowtape/next and @vvedantb/flowtape/next/client (#12)

npm: @vvedantb/flowtape@0.3.0