Releases: preactjs/preact
Releases · preactjs/preact
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)
10.26.0
Features
- Support the template tag (#4639, thanks @JoviDeCroock)
- Allow for Context as JSX (#4618, thanks @JoviDeCroock)
Fixes
- Typo in
_hasScuFromHooks
mangle (#4645, thanks @rschristian) - Switch _contextRef and _id (#4632, thanks @JoviDeCroock)
- Add hasScuFromHooks to mangle (#4627, thanks @JoviDeCroock)
- Ref unmount imperative handle (#4625, thanks @JoviDeCroock)
Types
- Correct
HTMLProps
to extend all known props (#4651, thanks @rschristian) - Fix
ComponentProps
type (#4634, thanks @rschristian) - Remove
generic
aria role from types (#4610, thanks @rschristian) - Add
FowardRefRenderFunction
type to compat (#4675, thanks @rschristian) - Expose EventHandler from compat (#4674, thanks @rschristian)
- Expose AriaAttributes from compat (#4673, thanks @rschristian)
- Add auxClick event types (#4672, thanks @rschristian)
Maintenance
- Silence Karma warning over node:stream from RTS (#4660, thanks @rschristian)
- Fix path filter in reporter workflow (#4654, thanks @rschristian)
- Fix path filter in PR Reporter action (#4644, thanks @rschristian)
- Run PR Reporter even against PRs from forks (#4643, thanks @rschristian)
- Update http:// links to https:// (#4638, thanks @jviide)
- Refactor component.js process() (#4637, thanks @jviide)
10.25.4
Types
- Incorrect onToggle event type (#4615, thanks @rschristian)
Fixes
- Support multiple synchronous timings for act (#4619, thanks @rock-57blocks)
10.25.3
Fixes
- Wrap hydration debug message node types in quotes (#4609, thanks @rschristian)
- Revert "Improve performance and reduce memory allocation" (#4611, thanks @JoviDeCroock)
Types
- Add default event target types for HTML attribute interfaces (#4606, thanks @rschristian)