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

Bump preact from 10.24.3 to 10.25.1 #6698

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps preact from 10.24.3 to 10.25.1.

Release notes

Sourced from preact's releases.

10.25.1

Fixes

Types

Maintenance

10.25.0

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)

... (truncated)

Commits
  • 80d9226 10.25.1 (#4589)
  • 04684dd feat: Add ElementRef type to compat (#4557)
  • daa124a fix: Ensure resolution of core types goes through typesVersions resolution (#...
  • f7ac8dc chore: Correct some internal test types (#4588)
  • 65b4f6b Test whether reducing bits leads to memory improvements (#4586)
  • 42524db fix: Correct defaultValue property types for inputs, selects, & textareas (...
  • 42e7b45 refactor: Remove declare global from internal types (#4583)
  • b9ff1b7 Revert handle event (#4584)
  • 99e5e04 Move some frequently used things to constants (#4579)
  • cfd2f41 fix: Add missing SVG type attribute (#4582)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 2, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/preact-10.25.1 branch 3 times, most recently from 62c9b81 to 0cc61b2 Compare December 2, 2024 11:26
Bumps [preact](https://github.com/preactjs/preact) from 10.24.3 to 10.25.1.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](preactjs/preact@10.24.3...10.25.1)

---
updated-dependencies:
- dependency-name: preact
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/preact-10.25.1 branch from 0cc61b2 to f7d30bd Compare December 2, 2024 14:41
@acelaya
Copy link
Contributor

acelaya commented Dec 2, 2024

I updated to the latest frontend-shared library, as it includes a bunch of updated types for preact 10.25. See hypothesis/frontend-shared#1803

Additionally, I fixed a couple more type definitions in this repository.

@acelaya acelaya merged commit c738173 into main Dec 2, 2024
3 checks passed
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.43%. Comparing base (d64c9ce) to head (13d0e0b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6698   +/-   ##
=======================================
  Coverage   99.43%   99.43%           
=======================================
  Files         271      271           
  Lines       10215    10215           
  Branches     2434     2434           
=======================================
  Hits        10157    10157           
  Misses         58       58           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acelaya acelaya deleted the dependabot/npm_and_yarn/preact-10.25.1 branch December 2, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant