preact v10.4.8 Release Notes
Release Date: 2020-08-26 // over 3 years ago-
_ tl;dr: A good handful of bug fixes make this release the ideal candidate to upgrade! Should be very safe to upgrade_
๐ Thanks to all the people who made this release possible! This is for everyone who took part in our discussions, helped report issues, did code contributions or just spread the word. Thank you all for another amazing release ๐
Golfing
- โ Remove all the bytes (#2665, thanks @developit)
๐ Bug Fixes
- ๐ Fix state turned
readonly
in update fn (#2717, thanks @marvinhagemeister) - ๐ Fix deprecation warnings flooding console with
preact/debug
(#2711, thanks @marvinhagemeister) - ๐ Initialize normalized props with
undefined
instead ofnull
inpreact/compat
(#2695, thanks @aralroca) - โ Add React "secret or fired" shim for
react-relay
(#2692, thanks @marvinhagemeister) - Properly unset
href
on nullish value (#2693, thanks @marvinhagemeister) - 0๏ธโฃ Go back to
undefined
as default value foruseRef
(#2689, thanks @marvinhagemeister) - ๐
preact/debug
: Add component stack to prop type validation error, do not pass ref to prop-types validation (fixes mui incompatbility) (#2685, thanks @sventschui)
Typings
- Automatically add
dom
lib (#2713, thanks @Gerrit0) - โก๏ธ Update
useDebugValue
typings to align with React (#2699, thanks @leader22) - โ Remove
useErrorBoundary
compat types (#2631, thanks @38elements) - โ Add support for
IntrinsicElements
inComponentProps
(#2680, thanks @remcohaszing)
๐ง Maintenance
- โก๏ธ Update slack link in
CONTRIBUTING.md
(#2702, thanks @marvinhagemeister) - ๐ Fix invite link (#2697, thanks @JoviDeCroock)