Releases: preactjs/preact-custom-element
Releases · preactjs/preact-custom-element
4.3.0
4.2.1
- Fix crash with empty attribute values (#51, thanks @marvinhagemeister)
- Streamline vdom function signature (#46, thanks @marvinhagemeister)
4.2.0 - Context passthrough
Features
- Pass
context
across Custom Element boundaries (thanks, @marvinhagemeister @ffriedl89 #43) - Reflect DOM properties to DOM attributes and more importantly Preact
props
(thanks, @marvinhagemeister #44)
Maintenance
- Simplify test suite (thanks, @marvinhagemeister #45)
4.1.0
- Change
detachedCallback
todisconnectedCallback
to match Custom Elements v1 spec (thanks @filipbech, #38) - Add support for slot as props (thanks, @marvinhagemeister #36)
4.0.0
- Hyphenate camelCased Preact props (thanks @tyom @bspaulding #30)
- Add support for
shadow
option (thanks @developit #27) - Support zero-mutation hydration via
hydrate
attribute (thanks @developit #24) - Refactor internals for size improvements (thanks @developit #21)
Maintenance
- Update
README
(thanks @developit @marvinhagemeister #25 #22) - Switch to GitHub Actions (thanks @ForsakenHarmony #20)