Skip to content

upgrade: mouse package upgrade for Solid 2.0#903

Open
davedbase wants to merge 1 commit into
solidjs-community:nextfrom
davedbase:update/v2/mouse
Open

upgrade: mouse package upgrade for Solid 2.0#903
davedbase wants to merge 1 commit 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: 4a930d0

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

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

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