Releases: preactjs/preact-custom-element
Releases · preactjs/preact-custom-element
v4.5.0
Features
- feat: formAssociated attribute by @mira-kovar in #89
- Return the newly created HtmlElement class, as opposed to just "undef… by @EmmanuelOga in #91
- add adoptedStyleSheets to the options by @rhildred in #95
Fixes
- Provide light dom props children by @paull39 in #79
- refactor: Do not manually call connectedCallback by @rschristian in #103
Types
Maintenance
- chore: Bump deps and ci action, add editorconfig by @rschristian in #99
- refactor: Switch to
.d.ts
for types by @rschristian in #100 - chore: Limit files published by @rschristian in #101
- docs: Update ReadMe & mention
shadow
&mode
options by @rschristian in #102 - chore: Add '@types/mocha' for our test suite by @rschristian in #104
New Contributors
- @VelizarD made their first contribution in #98
- @rschristian made their first contribution in #99
- @mira-kovar made their first contribution in #89
- @rhildred made their first contribution in #95
- @paull39 made their first contribution in #79
- @EmmanuelOga made their first contribution in #91
Full Changelog: v4.4.0...v4.5.0
4.4.0
What's Changed
- Add typescript definitions by @janbiasi in #85
- Bump peer-range by @JoviDeCroock in #97
New Contributors
- @janbiasi made their first contribution in #85
- @JoviDeCroock made their first contribution in #97
Full Changelog: 4.3.0...v4.4.0
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)