This patch release focuses on correctness and cleanup. It fixes two user-visible rendering issues and removes a few maintenance hazards around the test and build setup.
What's new
- Create a unique event-clock for each Preact instance on a page. This helps separate event bubbling between multiple bundled copies of Preact, especially when a custom-element library and an application root are both involved. (#5068)
- Fix incorrect DOM order when a conditional
ContextProvideris combined with inner keys. This prevents moved VNodes from leaving behind a stale DOM pointer that could send later insertions to the wrong place. (#5067)
Fixes
- Events now use a per-instance clock instead of sharing state across Preact instances on the same page. (#5068)
- Conditional
ContextProvidertrees with inner keys now preserve the expected DOM order. (#5067)
Other notable changes
- Removed the
postinstallscript that tried to install Playwright during package installation. (#5063) - Test runs now use Playwright instead of WebdriverIO. (#5060)
- Remaining
.jssource files were migrated to.jsx, and JSX test files were renamed to.test.jsxwhere needed. (#5059, #5058) - The codebase was migrated from Biome to
oxfmt. (#5033)
Contributors
@JoviDeCroock @rschristian @marvinhagemeister