web-infra-dev / rslib

Create JavaScript libraries in a simple and intuitive way.
https://lib.rsbuild.dev/
MIT License
470 stars 25 forks source link

chore(deps): update dependency preact to ^10.25.0 #474

Closed renovate[bot] closed 1 day ago

renovate[bot] commented 1 day ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact (source) ^10.24.3 -> ^10.25.0 age adoption passing confidence

Release Notes

preactjs/preact (preact) ### [`v10.25.0`](https://redirect.github.com/preactjs/preact/releases/tag/10.25.0) [Compare Source](https://redirect.github.com/preactjs/preact/compare/10.24.3...10.25.0) #### Features ##### Move per-element type interfaces into core and more strictly type IntrinsicElements ([#​4546](https://redirect.github.com/preactjs/preact/issues/4546), thanks [@​rschristian](https://redirect.github.com/rschristian)) This adds per-element typings for every DOM-node type, this means that our types might become slightly stricter when you are using DOM attributes/properties where they are not allowed, an example of this might be `
`. If you notice any issues when upgrading tell us about them, we can evaluate whether we have missed a case. ##### Recreate unkeyed functional components when they change position. ([#​4550](https://redirect.github.com/preactjs/preact/issues/4550), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) This is a long time bugfix, when we have elements that look like ```js return ( {condition ? : null} {condition ? null : ) ``` We would reuse the state of the first VNode to render the second one when the condition switches. When you are using `key`, this issue was not present. ##### Support `{ handleEvent() {} }` object interface as a listener ([#​4538](https://redirect.github.com/preactjs/preact/issues/4538), thanks [@​lilnasy](https://redirect.github.com/lilnasy)) We've added support for attaching object/class event-handlers ```js let handler = { onclick, handleEvent() { this.onclick() } }
``` #### Fixes - Ensure state updates work in signals ([#​4560](https://redirect.github.com/preactjs/preact/issues/4560), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Ensure SVGAttributes includes height & width ([#​4556](https://redirect.github.com/preactjs/preact/issues/4556), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Fork types for TS 5.1 and beyond ([#​4548](https://redirect.github.com/preactjs/preact/issues/4548), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Re-add missing properties & property casings ([#​4554](https://redirect.github.com/preactjs/preact/issues/4554), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Ensure we unwrap custom .then() ([#​4547](https://redirect.github.com/preactjs/preact/issues/4547), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix error message when nesting invalid elements within \

tags ([#​4534](https://redirect.github.com/preactjs/preact/issues/4534), thanks [@​jubalm](https://redirect.github.com/jubalm)) #### Maintenance - Try constant for undefined ([#​4552](https://redirect.github.com/preactjs/preact/issues/4552), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Fix demo ([#​4551](https://redirect.github.com/preactjs/preact/issues/4551), thanks [@​JoviDeCroock](https://redirect.github.com/JoviDeCroock)) - Use `Signalish` helper to reduce verbosity ([#​4545](https://redirect.github.com/preactjs/preact/issues/4545), thanks [@​rschristian](https://redirect.github.com/rschristian)) - Re-export ErrorInfo type ([#​4541](https://redirect.github.com/preactjs/preact/issues/4541), thanks [@​jose-torres-marin](https://redirect.github.com/jose-torres-marin)) - Skip PR reporter action on non-pull request triggers ([#​4536](https://redirect.github.com/preactjs/preact/issues/4536), thanks [@​rschristian](https://redirect.github.com/rschristian)) - upgrade biome to 1.9.4 ([#​4535](https://redirect.github.com/preactjs/preact/issues/4535), thanks [@​unvalley](https://redirect.github.com/unvalley)) - oxlint violation of `react/iframe-missing-sandbox` ([#​4533](https://redirect.github.com/preactjs/preact/issues/4533), thanks [@​DonIsaac](https://redirect.github.com/DonIsaac))


Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (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.

netlify[bot] commented 1 day ago

Deploy Preview for rslib ready!

Name Link
Latest commit 504abe618e1e5cf9952e0449715098206582f5d4
Latest deploy log https://app.netlify.com/sites/rslib/deploys/6743e2849b7e130008026b95
Deploy Preview https://deploy-preview-474--rslib.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codspeed-hq[bot] commented 1 day ago

CodSpeed Performance Report

Merging #474 will not alter performance

Comparing renovate/preact-10.x (504abe6) with main (cd4648e)

Summary

βœ… 5 untouched benchmarks