Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency preact to v10.25.4 #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
preact (source) 10.19.7 -> 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

v10.22.1

Compare Source

Fixes

Types

Maintenance

Performance

v10.22.0

Compare Source

Features

Types

Maintenance

Fixes

Copy link

changeset-bot bot commented Jun 30, 2024

⚠️ No Changeset found

Latest commit: 11bb293

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title chore(deps): update dependency preact to v10.22.0 chore(deps): update dependency preact to v10.22.1 Jul 1, 2024
@renovate renovate bot force-pushed the renovate/preact-10.x-lockfile branch from e887c6b to 11bb293 Compare July 4, 2024 21:41
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.22.1 chore(deps): update dependency preact to v10.23.0 Jul 23, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.23.0 chore(deps): update dependency preact to v10.23.1 Jul 25, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.23.1 chore(deps): update dependency preact to v10.23.2 Aug 12, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.23.2 chore(deps): update dependency preact to v10.24.0 Sep 14, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.24.0 chore(deps): update dependency preact to v10.24.1 Sep 24, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.24.1 chore(deps): update dependency preact to v10.24.2 Oct 4, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.24.2 chore(deps): update dependency preact to v10.24.3 Oct 14, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.24.3 chore(deps): update dependency preact to v10.25.0 Nov 22, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.25.0 chore(deps): update dependency preact to v10.25.1 Dec 2, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.25.1 chore(deps): update dependency preact to v10.25.2 Dec 12, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.25.2 chore(deps): update dependency preact to v10.25.3 Dec 18, 2024
@renovate renovate bot changed the title chore(deps): update dependency preact to v10.25.3 chore(deps): update dependency preact to v10.25.4 Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants