10.5.8
This is probably the last release for 2020. Thank you everyone for the amazing contributions over the year and we can't wait to see where Preact is going in 2021! Lot's of interesting ideas are being worked on 🎉
Bug Fixes
- Correct
_nextDompointer if it is being unmounted (#2889, thanks @andrewiggins) - Updating
/compat/serverexports to work with import/export syntax and webpack 5 (#2873, thanks @SomethingSexy) - Remove arguments warning for
useMemo/useCallbackhooks (#2870, thanks @afzalsayed96) - Use strict equality checks when comparing
VNodetype (#2855, thanks @andrewiggins) - Fix
refnot being removed frompropswithjsx-runtime(#2840, thanks @marvinhagemeister) - Compat: Don't convert
onchangetooninputforinput[type=range]in IE11 (#2817, thanks @gcraftyg)
Types
- Improve
JSDoccomments (#2883, thanks @andrewiggins) - Use
CSSStyleDeclarationfor CSS property list (#2869, thanks @developit) - Add
readonlyattribute (#2868, thanks @rschristian) - Add
defaultValuefor select tag (#2848, thanks @Rafi993) - Update
_originaltypings (#2830, thanks @marvinhagemeister) - Update
csstypefrom version 2 to version 3 (#2829, thanks @bz2)
Other
- SimplifyPortal implementation (#2890, thanks @marvinhagemeister, @developit)
- Simplify
vnodere-use detection (-2 B) (#2863, thanks @marvinhagemeister) - Save 6 Bytes (#2844, thanks @marvinhagemeister)
- Move child reodering to
diffChildren(#2813, thanks @JoviDeCroock)
Maintenance
- Add discussions and a csb template (#2875, thanks @JoviDeCroock)
- In benches, abstract framework differences with
createRootAPI (#2866, thanks @andrewiggins) - Add filter benchmark (#2851, thanks @marvinhagemeister)
- Update benchmarks (#2865, thanks @andrewiggins)
- Add preactjs-gh-sponsor account to
FUNDING.yml(#2861, thanks @JoviDeCroock) - Upgrade
devDependencies(#2856, thanks @andrewiggins) - Add package tags (#2841, thanks @developit)
- Trial codesandbox-ci (#2819, thanks @JoviDeCroock)