preactjs/preact (preact)
### [`v10.21.0`](https://togithub.com/preactjs/preact/releases/tag/10.21.0)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.20.2...10.21.0)
#### Features
- Debug throw on too many rerenders ([#4349](https://togithub.com/preactjs/preact/issues/4349), thanks [@rschristian](https://togithub.com/rschristian))
- Add compat/client types ([#4345](https://togithub.com/preactjs/preact/issues/4345), thanks [@rschristian](https://togithub.com/rschristian))
#### Fixes
- Expose hooks through compat's `ReactCurrentDispatcher` ([#4342](https://togithub.com/preactjs/preact/issues/4342), thanks [@rschristian](https://togithub.com/rschristian))
- Respect default value ([#4341](https://togithub.com/preactjs/preact/issues/4341), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Incorrect "missing transform-jsx-source" warning ([#4350](https://togithub.com/preactjs/preact/issues/4350), thanks [@rschristian](https://togithub.com/rschristian))
#### Types
- Support ComponentChild(ren) in compat render/hydrate/createPortal ([#4346](https://togithub.com/preactjs/preact/issues/4346), thanks [@rschristian](https://togithub.com/rschristian))
- Import and re-export PreactElement ([#3228](https://togithub.com/preactjs/preact/issues/3228), thanks [@henryqdineen](https://togithub.com/henryqdineen))
#### Maintenance
- Add zustand and redux-toolkit to the demo. ([#3523](https://togithub.com/preactjs/preact/issues/3523), thanks [@MortezaMirjavadi](https://togithub.com/MortezaMirjavadi))
- Optimise jsx runtime ([#4337](https://togithub.com/preactjs/preact/issues/4337), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.20.2`](https://togithub.com/preactjs/preact/releases/tag/10.20.2)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.20.1...10.20.2)
#### Fixes
- Check whether `oldDom` is present in the DOM ([#4318](https://togithub.com/preactjs/preact/issues/4318), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Simplify the logic introduced in [#4322](https://togithub.com/preactjs/preact/issues/4322) & use eventClock for capture events too ([#4324](https://togithub.com/preactjs/preact/issues/4324), thanks [@jviide](https://togithub.com/jviide))
- Use a virtual clock instead of Date.now() for event dispatch times ([#4322](https://togithub.com/preactjs/preact/issues/4322), thanks [@jviide](https://togithub.com/jviide))
#### Types
- Add template tag JSX type ([#4334](https://togithub.com/preactjs/preact/issues/4334), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister))
#### Maintenance
- Integrate the new benchmarks repo and update ([#4310](https://togithub.com/preactjs/preact/issues/4310), thanks [@andrewiggins](https://togithub.com/andrewiggins))
- Some byte improvements ([#4321](https://togithub.com/preactjs/preact/issues/4321), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.20.1`](https://togithub.com/preactjs/preact/releases/tag/10.20.1)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.20.0...10.20.1)
#### Fixes
- Add special case for focusIn and focusOut ([#4316](https://togithub.com/preactjs/preact/issues/4316), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.20.0`](https://togithub.com/preactjs/preact/releases/tag/10.20.0)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.19.7...10.20.0)
#### Features
- Add isMemo to compact to allow compatibility with react-is dependant libraries ([#4302](https://togithub.com/preactjs/preact/issues/4302), thanks [@ziongh](https://togithub.com/ziongh))
#### Fixes
- Fix case where shrinking a list would cause an exception ([#4312](https://togithub.com/preactjs/preact/issues/4312), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.19.7`](https://togithub.com/preactjs/preact/releases/tag/10.19.7)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.19.6...10.19.7)
#### Types
- Bring consistency to our focus-event types ([#4307](https://togithub.com/preactjs/preact/issues/4307), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Add onScrollend listener type ([#4305](https://togithub.com/preactjs/preact/issues/4305), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Align state updater type with Raeect ([#4306](https://togithub.com/preactjs/preact/issues/4306), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
#### Fixes
- Revert batch commit callbacks from all components in the render queue ([#4297](https://togithub.com/preactjs/preact/issues/4297), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.19.6`](https://togithub.com/preactjs/preact/releases/tag/10.19.6)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.19.5...10.19.6)
**tl;dr:** This release contains bug fixes for incorrect ordering of unkeyed children.
#### Fixes
- Match `null` placeholders using skewed index ([#4290](https://togithub.com/preactjs/preact/issues/4290), thanks [@andrewiggins](https://togithub.com/andrewiggins))
- Fix increment skew when we aren't removing the first pointer ([#4284](https://togithub.com/preactjs/preact/issues/4284), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Fix invalid vnode internal id for text nodes ([#4291](https://togithub.com/preactjs/preact/issues/4291), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister))
- Fix unkeyed reconciliation order in certain scenarios ([#4287](https://togithub.com/preactjs/preact/issues/4287), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
**Full Changelog**: https://github.com/preactjs/preact/compare/10.19.5...10.19.6
### [`v10.19.5`](https://togithub.com/preactjs/preact/releases/tag/10.19.5)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.19.4...10.19.5)
##### Fixes
- Address scenario where we would crash when replacing a matched vnode with null ([#4281](https://togithub.com/preactjs/preact/issues/4281), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Correctly restore \_original ([#4280](https://togithub.com/preactjs/preact/issues/4280), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Protect against nullish render ([#4278](https://togithub.com/preactjs/preact/issues/4278), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Support setting translate through direct access ([#3800](https://togithub.com/preactjs/preact/issues/3800), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
##### Types
- Add dpub aria 1.0 role JSX types ([#4276](https://togithub.com/preactjs/preact/issues/4276), thanks [@novari](https://togithub.com/novari))
### [`v10.19.4`](https://togithub.com/preactjs/preact/releases/tag/10.19.4)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.19.3...10.19.4)
#### Fixes
- event-listeners in safari 12.3 fix ([#4253](https://togithub.com/preactjs/preact/issues/4253), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- support passing context into pure component ([#4269](https://togithub.com/preactjs/preact/issues/4269), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- retain masks across render invocations ([#4245](https://togithub.com/preactjs/preact/issues/4245), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- skip comment nodes for placeChild ([#4128](https://togithub.com/preactjs/preact/issues/4128), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- ensure we are able to support capture events from compat ([#4243](https://togithub.com/preactjs/preact/issues/4243), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- batch commit callbacks from all components in the render queue ([#4234](https://togithub.com/preactjs/preact/issues/4234), thanks [@developit](https://togithub.com/developit))
#### Types
- improve preact compat types adding a few missing [@types/react](https://togithub.com/types/react) used by styled-components ([#4271](https://togithub.com/preactjs/preact/issues/4271), thanks [@jduthon](https://togithub.com/jduthon))
#### Maintenance
- add some sensible timeouts to actions that call out to external services ([#4259](https://togithub.com/preactjs/preact/issues/4259), thanks [@andrewiggins](https://togithub.com/andrewiggins))
- add missing contenteditable "inherit" value ([#4242](https://togithub.com/preactjs/preact/issues/4242), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister))
- add ComponentType to preact/compat ([#4239](https://togithub.com/preactjs/preact/issues/4239), thanks [@ianobermiller](https://togithub.com/ianobermiller))
- improve types of hook source ([#4229](https://togithub.com/preactjs/preact/issues/4229), thanks [@andrewiggins](https://togithub.com/andrewiggins))
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Asia/Tokyo, 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
10.19.3
->10.21.0
Release Notes
preactjs/preact (preact)
### [`v10.21.0`](https://togithub.com/preactjs/preact/releases/tag/10.21.0) [Compare Source](https://togithub.com/preactjs/preact/compare/10.20.2...10.21.0) #### Features - Debug throw on too many rerenders ([#4349](https://togithub.com/preactjs/preact/issues/4349), thanks [@rschristian](https://togithub.com/rschristian)) - Add compat/client types ([#4345](https://togithub.com/preactjs/preact/issues/4345), thanks [@rschristian](https://togithub.com/rschristian)) #### Fixes - Expose hooks through compat's `ReactCurrentDispatcher` ([#4342](https://togithub.com/preactjs/preact/issues/4342), thanks [@rschristian](https://togithub.com/rschristian)) - Respect default value ([#4341](https://togithub.com/preactjs/preact/issues/4341), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Incorrect "missing transform-jsx-source" warning ([#4350](https://togithub.com/preactjs/preact/issues/4350), thanks [@rschristian](https://togithub.com/rschristian)) #### Types - Support ComponentChild(ren) in compat render/hydrate/createPortal ([#4346](https://togithub.com/preactjs/preact/issues/4346), thanks [@rschristian](https://togithub.com/rschristian)) - Import and re-export PreactElement ([#3228](https://togithub.com/preactjs/preact/issues/3228), thanks [@henryqdineen](https://togithub.com/henryqdineen)) #### Maintenance - Add zustand and redux-toolkit to the demo. ([#3523](https://togithub.com/preactjs/preact/issues/3523), thanks [@MortezaMirjavadi](https://togithub.com/MortezaMirjavadi)) - Optimise jsx runtime ([#4337](https://togithub.com/preactjs/preact/issues/4337), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.20.2`](https://togithub.com/preactjs/preact/releases/tag/10.20.2) [Compare Source](https://togithub.com/preactjs/preact/compare/10.20.1...10.20.2) #### Fixes - Check whether `oldDom` is present in the DOM ([#4318](https://togithub.com/preactjs/preact/issues/4318), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Simplify the logic introduced in [#4322](https://togithub.com/preactjs/preact/issues/4322) & use eventClock for capture events too ([#4324](https://togithub.com/preactjs/preact/issues/4324), thanks [@jviide](https://togithub.com/jviide)) - Use a virtual clock instead of Date.now() for event dispatch times ([#4322](https://togithub.com/preactjs/preact/issues/4322), thanks [@jviide](https://togithub.com/jviide)) #### Types - Add template tag JSX type ([#4334](https://togithub.com/preactjs/preact/issues/4334), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister)) #### Maintenance - Integrate the new benchmarks repo and update ([#4310](https://togithub.com/preactjs/preact/issues/4310), thanks [@andrewiggins](https://togithub.com/andrewiggins)) - Some byte improvements ([#4321](https://togithub.com/preactjs/preact/issues/4321), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.20.1`](https://togithub.com/preactjs/preact/releases/tag/10.20.1) [Compare Source](https://togithub.com/preactjs/preact/compare/10.20.0...10.20.1) #### Fixes - Add special case for focusIn and focusOut ([#4316](https://togithub.com/preactjs/preact/issues/4316), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.20.0`](https://togithub.com/preactjs/preact/releases/tag/10.20.0) [Compare Source](https://togithub.com/preactjs/preact/compare/10.19.7...10.20.0) #### Features - Add isMemo to compact to allow compatibility with react-is dependant libraries ([#4302](https://togithub.com/preactjs/preact/issues/4302), thanks [@ziongh](https://togithub.com/ziongh)) #### Fixes - Fix case where shrinking a list would cause an exception ([#4312](https://togithub.com/preactjs/preact/issues/4312), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.19.7`](https://togithub.com/preactjs/preact/releases/tag/10.19.7) [Compare Source](https://togithub.com/preactjs/preact/compare/10.19.6...10.19.7) #### Types - Bring consistency to our focus-event types ([#4307](https://togithub.com/preactjs/preact/issues/4307), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Add onScrollend listener type ([#4305](https://togithub.com/preactjs/preact/issues/4305), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Align state updater type with Raeect ([#4306](https://togithub.com/preactjs/preact/issues/4306), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) #### Fixes - Revert batch commit callbacks from all components in the render queue ([#4297](https://togithub.com/preactjs/preact/issues/4297), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.19.6`](https://togithub.com/preactjs/preact/releases/tag/10.19.6) [Compare Source](https://togithub.com/preactjs/preact/compare/10.19.5...10.19.6) **tl;dr:** This release contains bug fixes for incorrect ordering of unkeyed children. #### Fixes - Match `null` placeholders using skewed index ([#4290](https://togithub.com/preactjs/preact/issues/4290), thanks [@andrewiggins](https://togithub.com/andrewiggins)) - Fix increment skew when we aren't removing the first pointer ([#4284](https://togithub.com/preactjs/preact/issues/4284), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Fix invalid vnode internal id for text nodes ([#4291](https://togithub.com/preactjs/preact/issues/4291), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister)) - Fix unkeyed reconciliation order in certain scenarios ([#4287](https://togithub.com/preactjs/preact/issues/4287), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) **Full Changelog**: https://github.com/preactjs/preact/compare/10.19.5...10.19.6 ### [`v10.19.5`](https://togithub.com/preactjs/preact/releases/tag/10.19.5) [Compare Source](https://togithub.com/preactjs/preact/compare/10.19.4...10.19.5) ##### Fixes - Address scenario where we would crash when replacing a matched vnode with null ([#4281](https://togithub.com/preactjs/preact/issues/4281), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Correctly restore \_original ([#4280](https://togithub.com/preactjs/preact/issues/4280), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Protect against nullish render ([#4278](https://togithub.com/preactjs/preact/issues/4278), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Support setting translate through direct access ([#3800](https://togithub.com/preactjs/preact/issues/3800), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ##### Types - Add dpub aria 1.0 role JSX types ([#4276](https://togithub.com/preactjs/preact/issues/4276), thanks [@novari](https://togithub.com/novari)) ### [`v10.19.4`](https://togithub.com/preactjs/preact/releases/tag/10.19.4) [Compare Source](https://togithub.com/preactjs/preact/compare/10.19.3...10.19.4) #### Fixes - event-listeners in safari 12.3 fix ([#4253](https://togithub.com/preactjs/preact/issues/4253), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - support passing context into pure component ([#4269](https://togithub.com/preactjs/preact/issues/4269), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - retain masks across render invocations ([#4245](https://togithub.com/preactjs/preact/issues/4245), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - skip comment nodes for placeChild ([#4128](https://togithub.com/preactjs/preact/issues/4128), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - ensure we are able to support capture events from compat ([#4243](https://togithub.com/preactjs/preact/issues/4243), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - batch commit callbacks from all components in the render queue ([#4234](https://togithub.com/preactjs/preact/issues/4234), thanks [@developit](https://togithub.com/developit)) #### Types - improve preact compat types adding a few missing [@types/react](https://togithub.com/types/react) used by styled-components ([#4271](https://togithub.com/preactjs/preact/issues/4271), thanks [@jduthon](https://togithub.com/jduthon)) #### Maintenance - add some sensible timeouts to actions that call out to external services ([#4259](https://togithub.com/preactjs/preact/issues/4259), thanks [@andrewiggins](https://togithub.com/andrewiggins)) - add missing contenteditable "inherit" value ([#4242](https://togithub.com/preactjs/preact/issues/4242), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister)) - add ComponentType to preact/compat ([#4239](https://togithub.com/preactjs/preact/issues/4239), thanks [@ianobermiller](https://togithub.com/ianobermiller)) - improve types of hook source ([#4229](https://togithub.com/preactjs/preact/issues/4229), thanks [@andrewiggins](https://togithub.com/andrewiggins))Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Asia/Tokyo, 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.
This PR has been generated by Mend Renovate. View repository job log here.