Skip to content

upgrade: mouse package upgrade for Solid 2.0#903

Open
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:update/v2/mouse
Open

upgrade: mouse package upgrade for Solid 2.0#903
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:update/v2/mouse

Conversation

@davedbase
Copy link
Copy Markdown
Member

Upgrades @solid-primitives/mouse to Solid 2.0 beta.13, aligning with the async reactivity model and updated @solidjs/* namespace.

Changes

  • isServer import: moved from solid-js/web@solidjs/web in common.ts and primitives.ts
  • onMountonSettled: post-render initialization now uses the Solid 2.0 lifecycle hook
  • sharedConfig.contextsharedConfig.hydrating: updated hydration detection to current API
  • Split createEffect: reactive target re-attachment migrated from single-callback form to the required compute/apply split; attachListeners now returns an explicit cleanup function used as the apply-phase teardown
  • Tests: added flush() after signal writes in index.test.ts (async batching); added test/server.test.ts with 4 SSR coverage tests
  • package.json: bumped to 3.0.0, pinned solid-js and @solidjs/web devDeps to 2.0.0-beta.13, updated peer deps accordingly

Breaking changes for downstream consumers

  • Requires solid-js@^2.0.0-beta.13 and @solidjs/web@^2.0.0-beta.13
  • Public API (function signatures and return types) is unchanged

@davedbase davedbase added this to the Solid 2.0 Migration milestone May 19, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 19, 2026

🦋 Changeset detected

Latest commit: 83c8bde

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@solid-primitives/mouse Major

Not sure what this means? Click here to learn what changesets are.

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 97cb1a6a-88b9-45c1-b76d-7cd48b0c9272

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant