Releases: preactjs/preact
Releases · preactjs/preact
10.6.6
10.6.5
Fixes
- fix effect ordering (#3416, thanks @JoviDeCroock)
- Normalize CompositionEvent listeners in preact/compat (#3430, thanks @hpneo)
Types
- Change type of for better TypeScript compatibility with @emotion/react and @types/react. (#3431, thanks @rolftimmermans)
Maintenance
- Use onInput instead of onChange in the README example (#3420, thanks @matthiask)
- remove malfunctioning csb ci (#3417, thanks @JoviDeCroock)
- Fix instructions for npm tag in CONTRIBUTING (#3380, thanks @andrewiggins)
- Fix typo in release workflow (#3379, thanks @andrewiggins)
- Automate building npm package for release (#3378, thanks @andrewiggins)
10.6.4
10.6.3
Fixes
- Fire useEffect in reverse component depth order (#3354, thanks @developit)
- Map onFocus/onBlur to onfocusin/onfocusout (#3355, thanks @developit)
Maintenance
- Add test for useEffect ordering with useMemo (#3360, thanks @andrewiggins)
10.6.2
Fixes
- Handle hooks that throw during cleanup (#3345, thanks @JoviDeCroock)
- Include all package.json files in the export-maps (#3344, thanks @developit)
10.6.1
Fixes
- Fix switch check for excessDomChildren (fixes IE11) (#3342, thanks @JoviDeCroock)
Maintenance
- Fix es5 warnings in local test runs (#3340, thanks @developit)
10.6.0
Types
- Adjust raf types (#3323, thanks @JoviDeCroock)
- Suggest fix for useRef-types in hooks (#3222, thanks @JoviDeCroock)
- Add component props to compat exports (#3321, thanks @JoviDeCroock)
Fixes
- Fix className leak (#3279, thanks @JoviDeCroock)
- Support hydrating html comments (#3327, thanks @JoviDeCroock)
Maintenance
- Fix tests in IE11 (#3264, thanks @developit)
- Add jsx(-dev)-runtime to the export maps (#3320, thanks @JoviDeCroock)
10.5.15
Fixes
- Skip rendering contents on the client in compat (#3238, thanks @developit)
- Nested Suspended trees may be missing _children (#3260, thanks @developit)
- Manage camel-cased dominant-baseline attribute in preact/compat (#2859, thanks @nmondon)
- Restrict camelCase prop renaming to non-custom elements (#3259, thanks @jramanat-oracle)
- Fix bug in chrome where select values continuously rerender (#3226, thanks @JoviDeCroock)
- Avoid leaking internal vnodes (#3106, thanks @developit)
Types
- Fix ref typing of forwardRef (#3214, thanks @itkrt2y)
- Add
focusin
&focusout
to type definitions (#3257, thanks @boarwell) - Add
onBeforeInput
attribute to type definitions (#3256, thanks @boarwell) - Add missed HTML attributes in the TS typings (#3246, thanks @rschristian)
Maintenance
10.5.14
Features
Bug Fixes
- Prevent eager child removal (#3210, thanks @JoviDeCroock)
- Compat: Update Fake React Version (#3189, thanks @tim-on-github)
- Fix
react-spring
error caused by augmented function contexts (#3165, thanks @developit) - Use
Array.prototype.slice.call
for children arguments (#3143, thanks @fzzle) - Improve performance of
vnodeId
generation (#2978, thanks @developit) - Fix: should override
children
ifnull
is provided as an argument (#3091, thanks @clyfish)
Size
- refactor(diff-index): reuse
i
to reduce size (-32b) (#3193, thanks @liuarui) - Simplify unmount logic (#3120, thanks @andrewiggins)
Typings
- Fix type definitions (#3191, thanks @craftedsystems)
- Fix
undefined
initializer case foruseState
type (#3185, thanks @rschristian) - Make typings
deno
compatible (#3079, thanks @lucacasonato) - Change typing of
event.this
to benever
(#3147, thanks @JoviDeCroock) - Update signature of
lazy
to reflect behavior (#3139, thanks @JonasKruckenberg) - Improve typing of
forwardRef
(#3144, thanks @cmlenz) - Fix the
useRef
typing to includeundefined
when called without initial value (#3056, thanks @cmlenz)
Maintenance
- Docs: Removing suggestion to install Preact CLI (#3204, thanks @rschristian)
- Upgrade
karma-esbuild
to support M1 chips (#3153, thanks @marvinhagemeister) - Rely directly on
performance.now
(#3130, thanks @developit) - Add The Guardian as a Github backer (#3086, thanks @mchv)
- Fix typo in issue template (#3067, thanks @rschristian)
10.5.13
Bug Fixes
- Fix unable to reset
tabIndex
(#3062 + #3064, thanks @marvinhagemeister) - Add ESM entry for
compat/server
(#3059 + #3061, thanks @marvinhagemeister) - Fix unable to render
bigint
numbers (#3010, thanks @marvinhagemeister) - Fix reordering issue of memoized component when the component initially render null (#2988, thanks @tanhauhau)
Types
- Add
decoding
attribute (#3054, thanks @sumanthratna) - Add missing
SVGFEFunc
types (#3043, thanks @rschristian)
Maintenance
- Update issue templates (#3058, thanks @marvinhagemeister)
- Update esbuild to natively support Apple's M1 chip (#3028, thanks @marvinhagemeister)
- Create separate trace log directories per benchmark (#3024, thanks @andrewiggins)
- Reduce redundant preparation in bench scripts (#3013, thanks @andrewiggins)
- Tests: Fix stale watch cache (#3012, thanks @marvinhagemeister)
- Tests: Reduce CPU usage in watch mode (#3011, thanks @marvinhagemeister)
- Tests: Fix Chrome 88 stack traces displayed wrong in terminal (#3008, thanks @marvinhagemeister)
- Upgrade tachometer and add script to analyze browser trace logs (#3005, thanks @andrewiggins)
- Use
options.unmount
instead of overridingcomponent.componentWillUnmount
(#2919, thanks @tanhauhau) - Update esbuild + karma-esbuild (#2991, thanks @marvinhagemeister)
- Add a few minor tests (#2981, thanks @43081j)