Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact (source) 10.22.1 -> 10.25.4 age adoption passing confidence

Release Notes

preactjs/preact (preact)

v10.25.4

Compare Source

Types

Fixes

v10.25.3

Compare Source

Fixes

Types

v10.25.2

Compare Source

Notable
Revert unkeyed no-search (#​4604, thanks @​JoviDeCroock)

We noticed that there's a few unpleasant scenario's that could form from this change, we wanted to be on the safe side here and revert this for the time being. if you run into issues with swapping components placement wise in a list use the key property.

Fixes
Types
Performance
Maintenance

v10.25.1

Compare Source

Fixes

Types

Maintenance

v10.25.0

Compare Source

Features

Move per-element type interfaces into core and more strictly type IntrinsicElements (#​4546, thanks @​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 <div src="x" />.

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, thanks @​JoviDeCroock)

This is a long time bugfix, when we have elements that look like

return (
	{condition ? <Element /> : null}
	{condition ? null : <Element />
)

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, thanks @​lilnasy)

We've added support for attaching object/class event-handlers

let handler = {
	onclick,
	handleEvent() {
		this.onclick()
	}
}

<div onClick={handler} />

Fixes

Maintenance

v10.24.3

Compare Source

Fixes
Performance
Maintenance

v10.24.2

Compare Source

Performance

Types

Maintenance

v10.24.1

Compare Source

Fixes

Types

Maintenance

v10.24.0

Compare Source

Features

Fixes

Types

Maintenance

v10.23.2

Compare Source

Fixes

Types

Maintenance

v10.23.1

Compare Source

Fixes

v10.23.0

Compare Source

Features

This adds support for returning a function in functional refs, example

<input
  ref={(ref) => {
    // Assign ref, do something with it
    return () => {
      // ref cleanup, when the element unmounts
      // we run the cleanup
    };
  }}
/>

Fixes

Types

Maintenance


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 5, 2025

Deploying blog with  Cloudflare Pages  Cloudflare Pages

Latest commit: e5d5606
Status: ✅  Deploy successful!
Preview URL: https://e842479b.blog-cz6.pages.dev
Branch Preview URL: https://renovate-preact-10-x-lockfil.blog-cz6.pages.dev

View logs

@TheMeinerLP TheMeinerLP merged commit 7b0f03c into main Feb 5, 2025
1 check passed
@renovate renovate bot deleted the renovate/preact-10.x-lockfile branch February 5, 2025 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants