Skip to content

upgrade: date package upgrade for Solid 2.0#870

Open
davedbase wants to merge 3 commits into
solidjs-community:nextfrom
davedbase:update/v2/date
Open

upgrade: date package upgrade for Solid 2.0#870
davedbase wants to merge 3 commits into
solidjs-community:nextfrom
davedbase:update/v2/date

Conversation

@davedbase
Copy link
Copy Markdown
Member

Bumps peer dependencies to solid-js@^2.0.0-beta.10 and @solidjs/web@^2.0.0-beta.10

  • Drops @solid-primitives/timer and @solid-primitives/memo deps; inlines TimeoutSource type
  • createDateNow — converts createEffect to the required split (compute, apply) two-argument form
  • createCountdown — replaces removed createComputed with createRenderEffect(compute, apply)
  • createDate — replaces removed createWritableMemo with createSignal(fn) writable-computed overload
  • createStore import moved from solid-js/store to solid-js; isServer import moved to @solidjs/web
  • Tests updated: flush() after signal writes (pull-based reactivity requires explicit flush outside tracking contexts), signals created outside createRoot to avoid SIGNAL_WRITE_IN_OWNED_SCOPE
  • New test/server.test.ts for SSR safety across all five primitives

@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: c4f944d

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

davedbase added 2 commits May 17, 2026 09:24
# Conflicts:
#	packages/date/test/date-difference.test.ts
@davedbase davedbase marked this pull request as ready for review May 17, 2026 13:26
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