Skip to content

Releases: ethantw/purescript-hyperly

v0.2.0

24 May 17:46

Choose a tag to compare

Added

  • defaultOptions and contextlessOptions are now exported from the JavaScript / TypeScript surface (both 'hyperly' and 'hyperly/fp').

Changed

  • Public types are now standard module exports instead of ambient globals. Breaking for type consumers who relied on the ambient form — the fix is mechanical (import type { Options, Match } from 'hyperly').
  • Previously file-local aliases HTMLType, Wrapper, and Transformer are now also exported.
  • Add findAndReplaceDOMText algorithm attribution to both READMEs.

Fixed

  • insertContextlessly with Around Outer now correctly pushes start/end brackets to the enclosing element boundary in cross-portion matches.
  • Custom ignore predicate could leak text from ignored subtrees into the regex's match input.

See the full CHANGELOG for details.

v0.2.0-rc.3

02 May 15:40

Choose a tag to compare

What's Changed

  • refactor(types): drop ambient globals; mirror runtime js/→fp/ direction by @ethantw in #2
  • bench(textcontents): TreeWalker spike for ignoreAwareTextContent — ke… by @ethantw in #3
  • Fix insert contextlessly by @ethantw in #4
  • Reinforce tests, etc by @ethantw in #5

Full Changelog: v0.2.0-rc.2...v0.2.0-rc.3

v0.2.0-rc.2

30 Apr 06:01
7d9a761

Choose a tag to compare

What's Changed

  • fix(textContents): D branch leaks ignored subtree text into match input by @ethantw in #1

New Contributors

Full Changelog: v0.2.0-rc.1...v0.2.0-rc.2

v0.2.0-rc.1

30 Apr 04:56

Choose a tag to compare