custom-elements-everywhere icon indicating copy to clipboard operation
custom-elements-everywhere copied to clipboard

Update dependency preact to v10

Open renovate[bot] opened this issue 2 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

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

Release Notes

preactjs/preact

v10.11.3

Compare Source

Bug Fixes

Maintenance

v10.11.2

Compare Source

Bug Fixes

Types

v10.11.1

Compare Source

Bug Fixes

v10.11.0

Compare Source

10.11.0

New Hook: useId

Today we are announcing a new hook: useId. This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration. The useId() hook is primarily useful for generating identifiers for attributes like aria-labelledby and <label for="...">.

To enable useId() to generate consistent unique identifiers, please ensure you are using preact-render-to-string version 5.2.4 or newer for server-side rendering.

(#​3583, thanks @​JoviDeCroock)

Fixes

Maintenance

v10.10.6

Compare Source

types

v10.10.5

Compare Source

fixes

v10.10.4

Compare Source

Fixes

v10.10.3

Compare Source

Fixes

v10.10.2

Compare Source

Fixes

v10.10.1

Compare Source

Bug Fixes

Maintenance

v10.10.0

Compare Source

Feature


We changed our debounce of our rendering to setTimeout! Why? We've batched using microtasks for the past few major versions because it benchmarked well. This had a side-effect of flushing batched renders between event handlers, which can cause some strange behavior:

<input
      type="checkbox"
      onChange={onChange}
      checked={true}
      onClick={onClick}
/>


An additional benefit of this change is that code causing an infinite rendering loop will no longer result in an unresponsive browser tab. Rendering in a loop is now capped to the browser's maximum timer frequency (~250Hz), which makes it possible to pause and debug the code triggering an accidental loop.

v10.9.0

Compare Source

Feature

We are adding support for the newly added React 18 hooks (apart from useId) (#​3568, thanks @​JoviDeCroock)

FIxes

v10.8.2

Compare Source

Enhancements

Fixes

Improvements

v10.8.1

Compare Source

v10.8.0

Compare Source

Features

Maintenance

v10.7.3

Compare Source

Improvements

v10.7.2

Compare Source

Improvements

Fixes

Maintenance

v10.7.1

Compare Source

Features

Fixes

v10.7.0

Compare Source

Features

Bug Fixes

Typings

Maintenance

v10.6.6

Compare Source

As usual we recommend all users to upgrade.

Bug Fixes

v10.6.5

Compare Source

Fixes

Types

Maintenance

v10.6.4

Compare Source

Due to a bug in the build of 10.6.3 we're republishing this was discovered in Astro

v10.6.3

Compare Source

Fixes

Maintenance

v10.6.2

Compare Source

Fixes

v10.6.1

Compare Source

Fixes

Maintenance

v10.6.0

Compare Source

Types

Fixes

Maintenance

v10.5.15

Compare Source

Fixes

Types

Maintenance

v10.5.14

Compare Source

Features

Bug Fixes

Size

Typings

Maintenance

v10.5.13

Compare Source

Bug Fixes

Types

Maintenance

v10.5.12

Compare Source

This release includes an enhancement to our devtools integration. Via a babel plugin you can get more readable hook names to show up in devtools instead of dozens of useState hooks in devtools. Check out https://github.com/preactjs/babel-plugin-transform-hook-names for more information.

Before:

image

After:

image

Bug Fixes

Maintenance

v10.5.11

Compare Source

:chart_with_upwards_trend: Bug Fixes

:golf: Code golfing

:hammer_and_wrench: Maintenance

v10.5.10

Compare Source

Bug Fixes

Maintenance

v10.5.9

Compare Source

Happy New Year to everyone 🎉 Let's kick of the year with a few welcome bug fixes regarding preact/compat 👍

Bug Fixes

Maintenance

v10.5.8

Compare Source

This is probably the last release for 2020. Thank you everyone for the amazing contributions over the year and we can't wait to see where Preact is going in 2021! Lot's of interesting ideas are being worked on 🎉

Bug Fixes

Types

Other

Maintenance

v10.5.7

Compare Source

v10.5.6

Compare Source

Bug Fixes

Types

Maintenance

v10.5.5

Compare Source

Bug Fixes

Typings

v10.5.4

Compare Source

tl;dr: Bug-Fix only release that should get rid of the last className edge cases. We encourage everyone to upgrade.

Despite our effort to account for all edge cases regarding className handling in preact/compat, we got some reports of some missed ones. This release corrects those :tada:

This release contains a fix to increase compatibility with next.js that ensures that the error overlay will show up.

Bug Fixes

v10.5.3

Compare Source

This release fixes a regression in regards to class/className handling in preact/compat. We encourage everyone to upgrade.

Bug Fixes

Maintenance

v10.5.2

Compare Source

  • Fix incorrect package export for jsx-runtime (#​2769, thanks [@​marvinhagem

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Sep 26 '22 23:09 renovate[bot]

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: libraries/skate/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @skatejs/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/preact
npm ERR!   preact@"10.13.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer preact@"^8.2.5" from @skatejs/[email protected]
npm ERR! node_modules/@skatejs/renderer-preact
npm ERR!   @skatejs/renderer-preact@"0.3.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/preact
npm ERR!   peer preact@"^8.2.5" from @skatejs/[email protected]
npm ERR!   node_modules/@skatejs/renderer-preact
npm ERR!     @skatejs/renderer-preact@"0.3.3" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2023-05-04T20_15_50_478Z-debug-0.log

renovate[bot] avatar Sep 26 '22 23:09 renovate[bot]

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 10.x releases. But if you manually upgrade to 10.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

renovate[bot] avatar May 04 '23 22:05 renovate[bot]