Preact 11.1.0

11.1.0
Added 1
  • Add preact/compat/compiler-runtime for apps compiled with React Compiler
Changed 1
  • Allow the list attribute on all valid input types
Fixed 3
  • Harden VNode recognition with a shared symbol marker
  • Isolate layout-effect errors to the throwing component so unrelated effects and lifecycle callbacks still run
  • Stop appending px to unitless SVG paint and aspect-ratio values in compat

1 change to check, marked in the notes below

From Preact

Features
  • Add preact/compat/compiler-runtime for apps compiled with React Compiler (#5323, thanks @JoviDeCroock)
Fixes
  • Harden VNode recognition with a shared symbol marker (#5335, thanks @JoviDeCroock)
  • Isolate layout-effect errors to the throwing component so unrelated effects and lifecycle callbacks still run (#5321, thanks @JoviDeCroock)
  • Stop appending px to unitless SVG paint and aspect-ratio values in compat (#5233, thanks @dylanpulver)
Types
  • Allow the list attribute on all valid input types (#5331, thanks @playlikeboy)
Compatibility

The new VNode marker requires @preact/signals 2.11.4 or later and preact-render-to-string 6.8.2 or later when using those packages. requirement raised · inferred

View original

Upgraded? How did it go?

Discussion