fix(deps): update dependency preact to v10.10.6
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| preact (source) | 10.6.4 -> 10.10.6 |
Release Notes
preactjs/preact
v10.10.6
types
- allow for null return from fc (#​3683, thanks @​JoviDeCroock)
v10.10.5
fixes
- undo jsx-element removal (#​3680, thanks @​JoviDeCroock)
v10.10.4
Fixes
- allow function component with children (#​3676, thanks @​JoviDeCroock)
- ensure we iterate over all hooks (#​3675, thanks @​JoviDeCroock)
v10.10.3
Fixes
- fix hooks calling shouldComponentUpdate without context (#​3671, thanks @​developit)
- fix case where we set SCU multiple times (#​3670, thanks @​JoviDeCroock)
- fix sync-external-store with zustand (#​3663, thanks @​JoviDeCroock)
v10.10.2
Fixes
- fix
useSyncExternalStorerelying on changed render values (#​3655, thanks @​JoviDeCroock) - avoid crashing due to __hooks being null (#​3651, thanks @​JoviDeCroock)
v10.10.1
Bug Fixes
- Fix infinite loop in
radix-uiwhich enqueues multiple state updates in the same tick (#​3645, thanks @​JoviDeCroock ) - Fix effects run for suspended components in rare instances (#​3643, thanks @​JoviDeCroock )
- Fix
useSyncExternalStorenot working with function values (#​3633, thanks @​marvinhagemeister ) - Defer bailing out of updates to the render phase to align with React (#​3621 + #​3623, thanks @​JoviDeCroock )
- Fix some SVG attributes applied with wrong casing (#​3615, thanks @​iminside)
Maintenance
- Update
esbuild(#​3630, thanks @​marvinhagemeister ) - Make demo compatible with node 16 and 18 (#​3617, @​gengjiawen )
v10.10.0
Feature

- Microtick —> setTimeout for debouncing renders (mirror change for setTimeout debounce #​3608, thanks @​JoviDeCroock)
We changed our debounce of our rendering to setTimeout! Why? We've batched using microtasks for the past few major versions because it benchmarked well. This had a side-effect of flushing batched renders between event handlers, which can cause some strange behavior:
<input
      type="checkbox"
      onChange={onChange}
      checked={true}
      onClick={onClick}
/>

An additional benefit of this change is that code causing an infinite rendering loop will no longer result in an unresponsive browser tab. Rendering in a loop is now capped to the browser's maximum timer frequency (~250Hz), which makes it possible to pause and debug the code triggering an accidental loop.
v10.9.0
Feature
We are adding support for the newly added React 18 hooks (apart from useId) (#​3568, thanks @​JoviDeCroock)
FIxes
- Adding types for 'part' attribute (#​3595, thanks @​rschristian)
- prevent _suspended and _force from colliding (#​3585, thanks @​JoviDeCroock)
v10.8.2
Enhancements
- Add support for svg property shape-rendering (#​3577, thanks @​DannyvanderJagt)
- Remove setState on unmounted component warning (#​3576, thanks @​ekwoka)
Fixes
- Fix allow return
undefinedinuseMemoafter skipped render (#​3580, thanks @​marvinhagemeister) - Fix incorrect
useMemoreturn value after skipped render (#​3579, thanks @​marvinhagemeister) - Commit hooks in options.diffed (#​3578, thanks @​JoviDeCroock)
- restrict "oninputCapture" conversion to just "oninput" vs "oninput*" (#​3573, thanks @​jramanat-oracle)
Improvements
- Improve unit tests to cover fix on #​3573 (#​3574, thanks @​marconi1992)
- Add
_pendingValuetomangle.json(#​3575, thanks @​marvinhagemeister)
v10.8.1
- Clear pending state from repeated renders (#​3567, thanks @​JoviDeCroock)
v10.8.0
Features
- Add export maps to the subpackages (#​3565, thanks @​JoviDeCroock)
- Ensure both onchange and oninput callbacks are executes when typing (#​3562, thanks @​marconi1992)
- Make createRoot / hydrateRoot compatible with React spec (#​3560, thanks @​3846masa)
- Implement state settling in X (#​3553, thanks @​JoviDeCroock)
Maintenance
- Fix size CI failing on node version missmatch (#​3563, thanks @​JoviDeCroock)
v10.7.3
Improvements
- Add
server.browser.js(#​3544, thanks @​JoviDeCroock) - Add
textPathSVG type (#​3546, thanks @​backmeupplz)
v10.7.2
Improvements
- improve compat types (#​3534, thanks @​JoviDeCroock)
- support nodenext in TypeScript 4.7 (#​3513, thanks @​ilogico)
- add missing containerInfo to portals (#​3508, thanks @​JoviDeCroock)
Fixes
- fix cleanup of
debounceRenderinghook after exceptions (#​3530, thanks @​robertknight)
Maintenance
- fix Snyk sponsor link (#​3533, thanks @​developit)
- add Snyk to sponsors (#​3532, thanks @​developit)
- remove git.io usages (#​3528, thanks @​mhmdanas)
- fixes broken Slack shield in README (#​3516, thanks @​schalkventer)
v10.7.1
Features
- Add new react-dom/client entry to compat (#​3506, thanks @​JoviDeCroock)
Fixes
- Simplify forwardRef and fix empty ref object (#​3497, thanks @​developit)
v10.7.0
Features
- Add support for
errorInfo(#​3452, thanks @​marvinhagemeister ) - Allow for passing in multiple refs through forwardRef (#​3494, thanks @​JoviDeCroock)
Bug Fixes
- Fix Incorrect translation of
xlink:hrefattribute -> hhref (#​3453, thanks @​pguilbert) - Fix swapped jsx runtime
__sourceand__selfarguments (#​3459, thanks @​marvinhagemeister) - Ensure consistent format order for package entries (#​3489, thanks @​marvinhagemeister)
- Reset
useImperativeHandleref tonullwhen the component get unmounted (#​3487, thanks @​deadem)
Typings
- Add missing
defaultValueanddefaultCheckedtypings (#​3464, thanks @​ilogico)
Maintenance
- Fix test not cleaned up properly (#​3457, thanks @​marvinhagemeister
- Fix fake timers not being reset on test failure (#​3458, thanks @​marvinhagemeister)
- Remove unused devDependency (#​3460, thanks @​marvinhagemeister)
- Update test dependencies (#​3467, thanks @​marvinhagemeister)
- Improve karma test console logging (#​3475, thanks @​marvinhagemeister)
- Fix karma error traces not being source mapped (#​3476, thanks @​marvinhagemeister)
v10.6.6
As usual we recommend all users to upgrade.
Bug Fixes
- Fix cursor reset in Safari in input field while typing by (#​3448, #​3450, thanks @​marvinhagemeister)
- Make sure
compatis triggered in newjsx-runtime(#​3445, thanks @​Austaras)
v10.6.5
Fixes
- fix effect ordering (#​3416, thanks @​JoviDeCroock)
- Normalize CompositionEvent listeners in preact/compat (#​3430, thanks @​hpneo)
Types
- Change type of <Fragment /> 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)
Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 4251d35f4480cda5a01d03c5f47b2debeb96a8fa:
| Sandbox | Source |
|---|---|
| @algolia/autocomplete-example-github-repositories-custom-plugin | Configuration |
| @algolia/autocomplete-example-instantsearch | Configuration |
| @algolia/autocomplete-example-playground | Configuration |
| @algolia/autocomplete-example-preview-panel-in-modal | Configuration |
| @algolia/autocomplete-example-react-renderer | Configuration |
| @algolia/autocomplete-example-starter-algolia | Configuration |
| @algolia/autocomplete-example-starter | Configuration |
| @algolia/autocomplete-example-reshape | Configuration |
| @algolia/autocomplete-example-vue | Configuration |