Skip to content

upgrade: history package upgrade for Solid 2.0#868

Draft
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/history
Draft

upgrade: history package upgrade for Solid 2.0#868
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/history

Conversation

@davedbase
Copy link
Copy Markdown
Member

Updates peer dependencies to solid-js@^2.0.0-beta.10 and @solidjs/web@^2.0.0-beta.10 and adapts the implementation and tests to Solid 2.0's new reactive model: automatic batching removes the need for explicit batch() calls, isServer now comes from @solidjs/web, and createMemo's initial prev value is undefined on first call rather than the supplied init argument. Tests are restructured to write signals outside owned scopes and use flush() before reading derived memo values.

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

changeset-bot Bot commented May 4, 2026

🦋 Changeset detected

Latest commit: ae3016f

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/history 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

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