Releases: ethantw/purescript-hyperly
Releases · ethantw/purescript-hyperly
v0.2.0
Added
defaultOptionsandcontextlessOptionsare 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, andTransformerare now also exported. - Add findAndReplaceDOMText algorithm attribution to both READMEs.
Fixed
insertContextlesslywithAround Outernow correctly pushes start/end brackets to the enclosing element boundary in cross-portion matches.- Custom
ignorepredicate could leak text from ignored subtrees into the regex's match input.
See the full CHANGELOG for details.
v0.2.0-rc.3
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