preactjs/preact (preact)
### [`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 - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.1
Release Notes
preactjs/preact (preact)
### [`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 - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.