Skip to content

Conversation

simolus3
Copy link
Contributor

This adds a new opt-in fix that updates how the JSON operators work. When opting in,

  1. JSON paths that don't begin with $. are always interpreted as a single-element path (previously, we'd still split on . in the path).
  2. When a null value is extracted via json_extract or ->>, fix the returned value to be null instead of "null". This fix also applies to elements extracted via json_each.

Copy link

changeset-bot bot commented Aug 21, 2025

🦋 Changeset detected

Latest commit: 0a82f5c

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 Minor
@powersync/service-image Minor
@powersync/service-jpgwire Patch
@powersync/service-core-tests Patch
@powersync/service-core Minor
@powersync/lib-services-framework Patch
@powersync/service-module-mongodb-storage Patch
@powersync/service-module-mongodb Patch
@powersync/service-module-mysql Patch
@powersync/service-module-postgres-storage Patch
@powersync/service-module-postgres Patch
@powersync/lib-service-postgres Patch
@powersync/service-module-core Patch
test-client Patch
@powersync/service-rsocket-router Patch
@powersync/lib-service-mongodb Patch
@powersync/service-schema Minor

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 force-pushed the fix-timestamp-representation branch from 32c548a to 1ce5d65 Compare August 22, 2025 15:48
Base automatically changed from fix-timestamp-representation to main August 25, 2025 09:27
@simolus3 simolus3 marked this pull request as ready for review August 27, 2025 09:40
@simolus3 simolus3 requested a review from rkistner August 27, 2025 09:42
@simolus3 simolus3 merged commit 914a910 into main Aug 27, 2025
21 checks passed
@simolus3 simolus3 deleted the fix-json-extract branch August 27, 2025 09:52
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