preact v10.4.1 Release Notes
Release Date: 2020-04-20 // almost 4 years ago-
_ tl;dr: This release allows our devtools extension to inspect hooks. Apart from that it includes the usual round of bug fixes._
โก๏ธ We have a nice little present for you and that is hooks are now fully supported in Preact Devtools 0.5.0 ๐ The extension is currently awaiting approval in browsers stores and your browser will automatically update to it in the following days.
๐ฑ Both @andrewiggins and @JoviDeCroock went full on bug hunting mode and got some neat fixes in! We also saw an awesome contribution from @davidje13 who found an error in our types for
memo
๐โก๏ธ But the true star from the show is without a doubt that we finally have updated our typings to bring back the
marquee
element. @developit himself took the honors and made sure that developers can continue to use this element in their demo applications.๐ Bug Fixes
- โ Add support for hooks inspection via devtools (#2480, thanks @marvinhagemeister)
- ๐ Make warn effectively warn instead of throwing (#2477, thanks @JoviDeCroock)
- ๐ Support node13 (#2451, thanks @JoviDeCroock)
- ๐ Use
setProperty
to set "value" and "checked" properties (#2472, thanks @andrewiggins) - ๐ฏ Normalize props on
cloneElement
(#2469, thanks @JoviDeCroock) - Set value/checked on custom-elements (#2465, thanks @JoviDeCroock)
- โ Add support for context
displayName
(#2454, thanks @marvinhagemeister)
Typings
- โ Add
<marquee>
typings (#2466, thanks @developit) - 0๏ธโฃ Account for
defaultProps
when wrapping components withmemo
(#2461, thanks @davidje13)
๐ง Maintenance
- ๐ Run benchmarks with v8, master, and local builds (#2475, thanks @andrewiggins)
- โฌ๏ธ Reduce number of builds in actions (#2476, thanks @andrewiggins)
- โ Add npm prepare script (#2473, thanks @andrewiggins)
- โฌ๏ธ Upgrade devtools adapter (#2471, thanks @marvinhagemeister)
- Tachometer benchmarks (#2462, thanks @andrewiggins)