Skip to content

Restore schema/sync_rules.json file - #828

Merged
simolus3 merged 1 commit into
mainfrom
restore-sync-rules-json-schema-file
Oct 1, 2026
Merged

simolus3 merged 1 commit into
mainfrom
restore-sync-rules-json-schema-file

Conversation

@simolus3

@simolus3 simolus3 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

When the CLI migrates or downloads sync configuration files, it adds this prefix:

# yaml-language-server: $schema=https://unpkg.com/@powersync/service-sync-rules@latest/schema/sync_rules.json

That file has been renamed to schema/sync_config.json in #824. The CLI will be updated as well, but existing files now have a broken schema reference in them. To fix this, this restores schema/sync_rules.json for subsequent releases and adds a comment explaining why the file name is relevant.

This doesn't add a second package.json export, as unpkg uses direct filenames.

@changeset-bot

changeset-bot Bot commented Oct 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8c7ffd4

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

This PR includes changesets to release 17 packages
Name Type
@powersync/service-sync-rules Patch
@powersync/service-core Patch
@powersync/lib-services-framework Patch
@powersync/service-module-convex Patch
@powersync/service-module-mongodb-storage Patch
@powersync/service-module-mongodb Patch
@powersync/service-module-mssql Patch
@powersync/service-module-mysql Patch
@powersync/service-module-postgres-storage Patch
@powersync/service-module-postgres Patch
@powersync/service-module-core Patch
@powersync/service-image Patch
test-client Patch
@powersync/service-rsocket-router Patch
@powersync/lib-service-mongodb Patch
@powersync/lib-service-postgres Patch
@powersync/service-schema Patch

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

@simolus3
simolus3 merged commit e703ca5 into main Oct 1, 2026
50 checks passed
@simolus3
simolus3 deleted the restore-sync-rules-json-schema-file branch October 1, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants