-
Notifications
You must be signed in to change notification settings - Fork 8
Upgrade livestore 0.4.0 dev.7 #500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
rgbkrk
wants to merge
7
commits into
main
Choose a base branch
from
upgrade-livestore-0.4.0-dev.7
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a temporary copy of @runt/schema to facilitate the LiveStore 0.4.0-dev.7 upgrade. It will be removed once the upgrade is complete and we can reference the updated schema package.
- Replace @runt/schema imports with @/runt-schema - Remove @runt/schema dependency from package.json - Rename mod.ts to index.ts for proper module resolution - All TypeScript compilation now passes
- Update all LiveStore packages to 0.4.0-dev.7 - Fix .first() calls to include required behaviour: 'fallback' property - Update sync backend API from handleWebSocket to handleSyncRequest/getSyncRequestSearchParams - Update client sync API from makeCfSync to makeWsSync - Update Durable Object class name from WebSocketServer to SyncBackendDO - All TypeScript compilation passes Note: Some peer dependency warnings remain for Effect packages - these are expected with the dev release and don't prevent functionality.
- Successfully upgraded all LiveStore packages to 0.4.0-dev.7 - Fixed all TypeScript API changes (.first() calls, sync backend API) - Upgraded Vite to 7.1.4 as required by LiveStore devtools - All TypeScript compilation passes Note: Build currently fails due to Effect ecosystem compatibility issue in @livestore/utils expecting RpcClientError from @effect/rpc. This appears to be an internal LiveStore dev package issue that should be resolved in a future LiveStore release.
- Update @effect/rpc to 0.69.2 to fix missing RpcClientError export - Update @effect/platform to 0.90.7 for compatibility - Add direct dependencies to override transitive version conflicts - Fix formatting in runt-schema files This resolves the build failures from incompatible Effect package versions that were causing missing exports in @effect/ai and @livestore/utils.
Removes explicit @livestore/livestore and @livestore/react from vite's optimizeDeps.include to prevent cache conflicts after dependency updates. This resolves ERR_ABORTED 504 (Outdated Optimize Dep) errors.
…ject binding - Update effect package to 3.17.13 to resolve DoCtx compatibility issues - Configure sync handler to use WEBSOCKET_SERVER binding name - Fix LiveStore 0.4.0-dev.7 Durable Object name mismatch
Looking good for new notebooks. ![]() Old notebooks I'm running into a litany of errors.
![]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP
I brought the runt schema over so I could change its dep as well, see how this could look.
cc @schickling
I let Zed's Claude Sonnet integration go to town on this with https://dev.docs.livestore.dev/llms-full.txt after giving it some guardrails.