preactjs/preact (preact)
### [`v10.23.2`](https://togithub.com/preactjs/preact/releases/tag/10.23.2)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.23.1...10.23.2)
#### Fixes
- Fix shifting VNode children to the front ([#4472](https://togithub.com/preactjs/preact/issues/4472), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
#### Types
- Add TypeScript support for Container.contains ([#4471](https://togithub.com/preactjs/preact/issues/4471), thanks [@sjoerdmulder](https://togithub.com/sjoerdmulder))
- Add AriaRole types export ([#4466](https://togithub.com/preactjs/preact/issues/4466), thanks [@kuronijin](https://togithub.com/kuronijin))
#### Maintenance
- Bump to oxlint v0.7.0 ([#4469](https://togithub.com/preactjs/preact/issues/4469), thanks [@Boshen](https://togithub.com/Boshen))
- General performance improvements for folks using compat ([#4459](https://togithub.com/preactjs/preact/issues/4459), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Prepare for no-unused-vars ([#4462](https://togithub.com/preactjs/preact/issues/4462), thanks [@DonIsaac](https://togithub.com/DonIsaac))
### [`v10.23.1`](https://togithub.com/preactjs/preact/releases/tag/10.23.1)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.23.0...10.23.1)
#### Fixes
- Fix debug-issue in testing libraries where there might not be a DOM node ([#4454](https://togithub.com/preactjs/preact/issues/4454), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
### [`v10.23.0`](https://togithub.com/preactjs/preact/releases/tag/10.23.0)
[Compare Source](https://togithub.com/preactjs/preact/compare/10.22.1...10.23.0)
#### Features
- Support ref cleanup functions ([#4436](https://togithub.com/preactjs/preact/issues/4436), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister))
This adds support for returning a function in functional refs, example
```jsx
{
// Assign ref, do something with it
return () => {
// ref cleanup, when the element unmounts
// we run the cleanup
};
}}
/>
```
#### Fixes
- Child-diffing should shift keyed fragmented lists ([#4448](https://togithub.com/preactjs/preact/issues/4448), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Invalid DOM check not firing when p/a/button have a parent ([#4449](https://togithub.com/preactjs/preact/issues/4449), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Support comments for streaming renders ([#4446](https://togithub.com/preactjs/preact/issues/4446), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Import renderToPipeableStream in server.mjs for re-exporting ([#4440](https://togithub.com/preactjs/preact/issues/4440), thanks [@3846masa](https://togithub.com/3846masa))
#### Types
- Add missing types ElementType and ComponentPropsWithoutRef ([#4433](https://togithub.com/preactjs/preact/issues/4433), thanks [@hamza0867](https://togithub.com/hamza0867))
- Add html attributes types [#4099](https://togithub.com/preactjs/preact/issues/4099) ([#4100](https://togithub.com/preactjs/preact/issues/4100), thanks [@samsam-ahmadi](https://togithub.com/samsam-ahmadi))
#### Maintenance
- Dependency maintenance ([#4431](https://togithub.com/preactjs/preact/issues/4431), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
- Fix coveralls reporting on PRs ([#4430](https://togithub.com/preactjs/preact/issues/4430), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))
Configuration
📅 Schedule: Branch creation - "on the 12th day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 contains the following updates:
10.22.1
->10.23.2
Release Notes
preactjs/preact (preact)
### [`v10.23.2`](https://togithub.com/preactjs/preact/releases/tag/10.23.2) [Compare Source](https://togithub.com/preactjs/preact/compare/10.23.1...10.23.2) #### Fixes - Fix shifting VNode children to the front ([#4472](https://togithub.com/preactjs/preact/issues/4472), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) #### Types - Add TypeScript support for Container.contains ([#4471](https://togithub.com/preactjs/preact/issues/4471), thanks [@sjoerdmulder](https://togithub.com/sjoerdmulder)) - Add AriaRole types export ([#4466](https://togithub.com/preactjs/preact/issues/4466), thanks [@kuronijin](https://togithub.com/kuronijin)) #### Maintenance - Bump to oxlint v0.7.0 ([#4469](https://togithub.com/preactjs/preact/issues/4469), thanks [@Boshen](https://togithub.com/Boshen)) - General performance improvements for folks using compat ([#4459](https://togithub.com/preactjs/preact/issues/4459), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Prepare for no-unused-vars ([#4462](https://togithub.com/preactjs/preact/issues/4462), thanks [@DonIsaac](https://togithub.com/DonIsaac)) ### [`v10.23.1`](https://togithub.com/preactjs/preact/releases/tag/10.23.1) [Compare Source](https://togithub.com/preactjs/preact/compare/10.23.0...10.23.1) #### Fixes - Fix debug-issue in testing libraries where there might not be a DOM node ([#4454](https://togithub.com/preactjs/preact/issues/4454), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) ### [`v10.23.0`](https://togithub.com/preactjs/preact/releases/tag/10.23.0) [Compare Source](https://togithub.com/preactjs/preact/compare/10.22.1...10.23.0) #### Features - Support ref cleanup functions ([#4436](https://togithub.com/preactjs/preact/issues/4436), thanks [@marvinhagemeister](https://togithub.com/marvinhagemeister)) This adds support for returning a function in functional refs, example ```jsx { // Assign ref, do something with it return () => { // ref cleanup, when the element unmounts // we run the cleanup }; }} /> ``` #### Fixes - Child-diffing should shift keyed fragmented lists ([#4448](https://togithub.com/preactjs/preact/issues/4448), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Invalid DOM check not firing when p/a/button have a parent ([#4449](https://togithub.com/preactjs/preact/issues/4449), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Support comments for streaming renders ([#4446](https://togithub.com/preactjs/preact/issues/4446), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Import renderToPipeableStream in server.mjs for re-exporting ([#4440](https://togithub.com/preactjs/preact/issues/4440), thanks [@3846masa](https://togithub.com/3846masa)) #### Types - Add missing types ElementType and ComponentPropsWithoutRef ([#4433](https://togithub.com/preactjs/preact/issues/4433), thanks [@hamza0867](https://togithub.com/hamza0867)) - Add html attributes types [#4099](https://togithub.com/preactjs/preact/issues/4099) ([#4100](https://togithub.com/preactjs/preact/issues/4100), thanks [@samsam-ahmadi](https://togithub.com/samsam-ahmadi)) #### Maintenance - Dependency maintenance ([#4431](https://togithub.com/preactjs/preact/issues/4431), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock)) - Fix coveralls reporting on PRs ([#4430](https://togithub.com/preactjs/preact/issues/4430), thanks [@JoviDeCroock](https://togithub.com/JoviDeCroock))Configuration
📅 Schedule: Branch creation - "on the 12th day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.