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

    ๐Ÿ› 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 of null in preact/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 for useRef (#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 in ComponentProps (#2680, thanks @remcohaszing)

    ๐Ÿšง Maintenance