Releases: preactjs/preact
Releases · preactjs/preact
10.27.0
Features
- Update
refcallback
type to reflect possibility of returning cleanup function and add debug helper exports (#4860, thanks @rschristian)
Fixes
- Ensure we rerender after a suspensefully hydrating boundary throws an… (#4856, thanks @JoviDeCroock)
Maintenance
- Update 'replaceNode' deprecation comment to point at new shim (#4844, thanks @rschristian)
- Reduce some repeated logic (#4814) (#4821, thanks @JoviDeCroock)
10.26.9
Fixes
- Export
test-utils
from compat by @rawrmonstar in #4783 - Escape
style
object value inprecompile
transform by @marvinhagemeister in #4795 - Fix signal attribute values not working with
precompile
transform by @marvinhagemeister in #4798
Maintenance
- Bump
browserslist
by @rschristian in #4785 - Avoid caching so file-saves work first try by @JoviDeCroock in #4786
- Make previous benchmark results not required by @marvinhagemeister in #4796
- Point release workflow to 10.x by @marvinhagemeister in #4797
10.26.8
Fixes
- Fix defaultProps applying on null values (#4775, thanks @JoviDeCroock)
10.26.7
Types
- Add
name
to<details>
(#4766, thanks @marvinhagemeister)
Improvements
- Reduce raf timeout to 35ms (#4750, thanks @JoviDeCroock)
- Only one toLowerCase invoke during props diffing (#4764, thanks @JoviDeCroock)
- Golf some portal bytes (#4763, thanks @JoviDeCroock)
Maintenance
- Add node prefix + script string args for deno compatability in demo (#4759, thanks @marvinhagemeister)
10.26.6
Fixes
- Ensure useId works in portals (#4752, thanks @JoviDeCroock)
Types
Maintenance
- Switch testing from karma to vitest (#4687, thanks @JoviDeCroock)
- Dedupe preact in vitest setup (#4702, thanks @sheremet-va)
10.26.5
Types
- Return 'AllHTMLAttributes' to manually including all attrs (#4728, thanks @rschristian)
- Correct
hydrateRoot
return type (#4735, thanks @plesiecki) - Update CommandEventHandler type to use EventHandler (#4740, thanks @robertknight)
Fixes
- Avoid cloning reused nodes (#4733, thanks @JoviDeCroock)
- Bring back strict-equality bailout for children even w/ context updates (#4724, thanks @rschristian)
- Effect in memoed boundary should be re-executed when the lazy boundary resolves (#4711, thanks @CaptainWang98)
Maintenance
- Add case for context w/ strictly-equal children (#4725, thanks @rschristian)
- Golf down unnecessary strict equality checks (#4723, thanks @rschristian)
10.26.4
Fixes
- Address context fragments issue (#4717, thanks @JoviDeCroock)
10.26.3
Fixes
- Keyed nullish placeholders cause re-mounts (#4700, thanks @JoviDeCroock)
Types
- Add command invoker types (#4692, thanks @lukewarlow)
- Flesh out HTMLMediaElement types (#4705, thanks @rschristian)
- Add
onBeforeToggle
event handler type (#4694, thanks @lukewarlow) - Add dialog
closedby
types (#4693, thanks @lukewarlow) - Add
fetchPriority
toimg
(#4713, thanks @JoviDeCroock) - Refactor
AllHTMLAttributes
interface (#4706, thanks @rschristian)
Maintenance
- Remove console log in debug package (#4709, thanks @rschristian)
- Remove unused deps (#4707, thanks @JoviDeCroock)
- Fix mocha in Node v22+ (#4701, thanks @rschristian)
- Fix TS lang server support in our
.d.ts
files (#4698, thanks @rschristian)
10.26.2
This is a hotfix release! If you are encountering bundling issues with regards to unallowed import
syntax, this will fix it!
Fixes
- Remove pkg type (#4689, thanks @rschristian)
Maintenance
- Skip benches during release workflows (#4686, thanks @rschristian)
10.26.1
Fixes
- Fixes memory leak when wrapping Fragment is captured by an effect closure (#4680, thanks @JoviDeCroock)
Optimization
- Created NULL constant (#4682, thanks @Ben-Brady)
Maintenance
- Simplify compat build script (#4677, thanks @rschristian)
- Add renderToReadableStream export (#4678, thanks @JoviDeCroock)
- Fix mocha in Node v22+ (#4629, thanks @rschristian)