Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Bumps @preact/signals from 2.2.1 to 2.5.1.

Release notes

Sourced from @​preact/signals's releases.

@​preact/signals@​2.5.1

Patch Changes

@​preact/signals@​2.5.0

Minor Changes

  • #792 95dcf41 Thanks @​JoviDeCroock! - Allow the when property of Show to be a function so not everything has to be transformed into a boolean computed

Patch Changes

@​preact/signals@​2.4.0

Minor Changes

  • #777 d31738f Thanks @​JoviDeCroock! - Revert the changes to useComputed, sincere apologies for the inconvenience we've discussed this at length and are going to side on the perf side.

Patch Changes

@​preact/signals@​2.3.2

Patch Changes

@​preact/signals@​2.3.1

Patch Changes

@​preact/signals-react@​2.3.0

Minor Changes

Patch Changes

  • #611 57a7d38 Thanks @​Xstoudi! - Silences noisy warnings about useLayoutEffect whilst using SSR by switching to an isomorphic layout effect hook

... (truncated)

Changelog

Sourced from @​preact/signals's changelog.

2.5.1

Patch Changes

2.5.0

Minor Changes

  • #792 95dcf41 Thanks @​JoviDeCroock! - Allow the when property of Show to be a function so not everything has to be transformed into a boolean computed

Patch Changes

2.4.0

Minor Changes

  • #777 d31738f Thanks @​JoviDeCroock! - Revert the changes to useComputed, sincere apologies for the inconvenience we've discussed this at length and are going to side on the perf side.

Patch Changes

2.3.2

Patch Changes

2.3.1

Patch Changes

2.3.0

Minor Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​preact/signals since your current version.


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)

Note

Upgrade @preact/signals to 2.5.1 (and @preact/signals-core to 1.12.x), updating special-pages/package.json, lockfile, and widening Preact peer range.

Written by Cursor Bugbot for commit 3fa1234. This will update automatically on new commits. Configure here.

@dependabot dependabot bot added dependencies Update one or more dependencies version minor Increment the minor version when merged labels Nov 24, 2025
@dependabot dependabot bot requested review from a team, mgurgel and shakyShane as code owners November 24, 2025 10:25
@dependabot dependabot bot added dependencies Update one or more dependencies version minor Increment the minor version when merged labels Nov 24, 2025
@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for content-scope-scripts canceled.

Name Link
🔨 Latest commit 3fa1234
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/6936b75067ffe30007e8d86b

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@jonathanKingston
Copy link
Contributor

@cursoragent can you review against our current workflows and outline potential impacts based on the changelogs of the update?

@cursor
Copy link

cursor bot commented Dec 8, 2025

Based on my analysis, here's the impact assessment of the @preact/signals upgrade from 2.2.1 to 2.5.1:

Impact Assessment

✅ Low Risk - No Breaking Changes Expected

Your current usage patterns are safe:

  1. useComputed (67+ usages across special-pages)

    • v2.4.0 reverted earlier changes to useComputed for performance reasons
    • Your existing patterns (e.g., useComputed(() => signal.value.property)) remain unchanged
    • No migration needed
  2. Show and For components - Not used in this codebase

    • Changelog fixes for Show.when accepting functions and For cache issues don't apply
  3. useLiveSignal - Not used in this codebase

    • New plain value acceptance doesn't apply
  4. aria/data attribute handling - 6 usages with signals

    • Fix in v2.4.0: "Ensure aria/data attributes stick around when going back to an empty string"
    • Your patterns like aria-checked={current.value === 'light'} (BrowserThemeSection.js) will now behave correctly if values become empty strings

Direct Benefits

Change Benefit
Performance regression fix (v2.5.1) @preact/signals-debug check now runs only once
aria/data fix (v2.4.0) More reliable toggling of aria-checked states
Preact 11 beta support (v2.3.1) Future-proofing for Preact upgrades

Preact Compatibility

  • Your [email protected] is within the new peer dependency range (>=10.25.0 || >=11.0.0-0)

Recommendation

Safe to merge - CI tests (unit + Playwright integration) should validate the upgrade. The changes are primarily bug fixes that improve edge case behavior your code may already encounter.


Open in Cursor Open in Web

Learn more about Cursor Agents

@cursor
Copy link

cursor bot commented Dec 8, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@jonathanKingston
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/preact/signals-2.5.1 branch 3 times, most recently from 046917a to 90595a3 Compare December 8, 2025 11:31
Bumps [@preact/signals](https://github.com/preactjs/signals/tree/HEAD/packages/preact) from 2.2.1 to 2.5.1.
- [Release notes](https://github.com/preactjs/signals/releases)
- [Changelog](https://github.com/preactjs/signals/blob/main/packages/preact/CHANGELOG.md)
- [Commits](https://github.com/preactjs/signals/commits/@preact/[email protected]/packages/preact)

---
updated-dependencies:
- dependency-name: "@preact/signals"
  dependency-version: 2.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/preact/signals-2.5.1 branch from 90595a3 to 3fa1234 Compare December 8, 2025 11:32
@jonathanKingston jonathanKingston added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit 2682503 Dec 8, 2025
18 checks passed
@jonathanKingston jonathanKingston deleted the dependabot/npm_and_yarn/main/preact/signals-2.5.1 branch December 8, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update one or more dependencies version minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants