Releases · preactjs/preact · GitHub

August 19, 2025 at 12:00 AMai_discoveryinfo

Product

Atlassian Confluence

developmenttoolsprogramming

Update Details

Comprehensive information about this update

Full Content

Release Notes
Breaking Changes Drop IE11 support (#4549, thanks @JoviDeCroock) Move defaultProps into preact/compat (#4657, thanks @JoviDeCroock) Remove automatic px suffix (#4665, thanks @JoviDeCroock) Remove contains with a simple parentNode check (#4666, thanks @JoviDeCroock) Remove component.base (#4549, thanks @JoviDeCroock) Remove SuspenseList (#4668, thanks @JoviDeCroock) Remove static dom bail (#4670, thanks @JoviDeCroock) Breaking changes to outputs & pkg.json (#4652, thanks @rschristian) Drop support for TS versions < 5.1 (#4788, thanks @rschristian) Remove all export maps in nested pkg.json files (#4784, thanks @rschristian) Remove deprecated 'ForwardFn' type from compat (#4777, thanks @rschristian) Features Comment denoted hydration (#4636, thanks @JoviDeCroock) Forward ref by default (#4658, thanks @JoviDeCroock) Add captureOwnerStack (#4875, thanks @colinaaa) Add context argument to compat/Children map api (#3855, thanks @ParSal123) Export helper functions from preact/debug (#4830, thanks @colinaaa) Export test-utils from compat (#4783, thanks @rawrmonstar) Types Require initial value in useRef (#4683, thanks @rschristian) Types w/ module augmentation (#4884, thanks @rschristian) Fix outdated public RefCallback type (#4801, thanks @developit) Export IntrinsicHTMLElements interface (#4885, thanks @edoardocavazza) Avoid breaking change for ARIA element types (#4882, thanks @rschristian) Move most interfaces out of the JSX namespace (#4878, thanks @rschristian) Make HTMLAttribute type declarations consistent (#4876, thanks @rschristian) Restrict aria roles by element type (#4607, thanks @rschristian) Add types for '/compat/server' & '/compat/scheduler' (#4835, thanks @rschristian) Fixes Ensure memoized components re-render after errors (#4880, thanks @JoviDeCroock) Provide solution to long standing memleak (#4853, thanks @JoviDeCroock) Ensure we properly re-render bailing errored children (#4857, thanks @JoviDeCroock) Support alternative contentDocument (#4851, thanks

Published At

Tuesday, August 19, 2025

12:00:00 AM

Discovered At

Monday, August 25, 2025

10:25:39 PM

Confidence

1