diff --git a/.changeset/zero-rust-json-min-max-order.md b/.changeset/zero-rust-json-min-max-order.md deleted file mode 100644 index 7e0d6d3d32..0000000000 --- a/.changeset/zero-rust-json-min-max-order.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'zero-rust': patch ---- - -`min_json` and `max_json` over a JSON path that holds both strings and numbers now order strings before numbers, as upstream Zero now does: `min_json` of `"x"` and `2` is `"x"`, not `2`, and `max_json` is `2`. This changes results: before, numbers came first. Synced views show the value zero-cache computes, so this only changes what a mutator's query computes on the client before the server has answered it. diff --git a/.changeset/zero-swift-json-min-max-order.md b/.changeset/zero-swift-json-min-max-order.md deleted file mode 100644 index 3b04400efb..0000000000 --- a/.changeset/zero-swift-json-min-max-order.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'zero-swift': patch ---- - -`min(json:)` and `max(json:)` over a JSON path that holds both strings and numbers now order strings before numbers, as upstream Zero now does: `min` of `"x"` and `2` is `"x"`, not `2`, and `max` is `2`. This changes results: before, numbers came first. Synced views show the value zero-cache computes, so this only changes what a mutator's query computes on the client before the server has answered it. diff --git a/apps/zbugs-gpui/Cargo.lock b/apps/zbugs-gpui/Cargo.lock index a2002d2cb5..be88f2eff4 100644 --- a/apps/zbugs-gpui/Cargo.lock +++ b/apps/zbugs-gpui/Cargo.lock @@ -9312,7 +9312,7 @@ checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" [[package]] name = "zero-client" -version = "0.5.1" +version = "0.5.2" dependencies = [ "rusqlite", "serde", diff --git a/apps/zbugs-model/Cargo.lock b/apps/zbugs-model/Cargo.lock index e073083e7d..02cc5ba6d6 100644 --- a/apps/zbugs-model/Cargo.lock +++ b/apps/zbugs-model/Cargo.lock @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "zero-client" -version = "0.5.1" +version = "0.5.2" dependencies = [ "serde", ] diff --git a/apps/zbugs-rune/Cargo.lock b/apps/zbugs-rune/Cargo.lock index c9f1fe8134..0280f73052 100644 --- a/apps/zbugs-rune/Cargo.lock +++ b/apps/zbugs-rune/Cargo.lock @@ -4914,7 +4914,7 @@ checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" [[package]] name = "zero-client" -version = "0.5.1" +version = "0.5.2" dependencies = [ "futures-util", "rusqlite", diff --git a/packages/zero-rust-cli/CHANGELOG.md b/packages/zero-rust-cli/CHANGELOG.md index 45fd262bdc..abbdd59961 100644 --- a/packages/zero-rust-cli/CHANGELOG.md +++ b/packages/zero-rust-cli/CHANGELOG.md @@ -1,5 +1,11 @@ # zero-rust +## 0.5.2 + +### Patch Changes + +- 740b2f0: `min_json` and `max_json` over a JSON path that holds both strings and numbers now order strings before numbers, as upstream Zero now does: `min_json` of `"x"` and `2` is `"x"`, not `2`, and `max_json` is `2`. This changes results: before, numbers came first. Synced views show the value zero-cache computes, so this only changes what a mutator's query computes on the client before the server has answered it. + ## 0.5.1 ### Patch Changes diff --git a/packages/zero-rust-cli/package.json b/packages/zero-rust-cli/package.json index 9957e2383f..b9077cca11 100644 --- a/packages/zero-rust-cli/package.json +++ b/packages/zero-rust-cli/package.json @@ -1,6 +1,6 @@ { "name": "zero-rust", - "version": "0.5.1", + "version": "0.5.2", "description": "Generates the Rust row types, schema, and query builder of a Zero app for the Zero Rust client.", "license": "Apache-2.0", "repository": { diff --git a/packages/zero-swift-cli/CHANGELOG.md b/packages/zero-swift-cli/CHANGELOG.md index 95f831d87a..7b4560b684 100644 --- a/packages/zero-swift-cli/CHANGELOG.md +++ b/packages/zero-swift-cli/CHANGELOG.md @@ -1,5 +1,11 @@ # zero-swift +## 0.10.4 + +### Patch Changes + +- 92c6ab1: `min(json:)` and `max(json:)` over a JSON path that holds both strings and numbers now order strings before numbers, as upstream Zero now does: `min` of `"x"` and `2` is `"x"`, not `2`, and `max` is `2`. This changes results: before, numbers came first. Synced views show the value zero-cache computes, so this only changes what a mutator's query computes on the client before the server has answered it. + ## 0.10.3 ### Patch Changes diff --git a/packages/zero-swift-cli/package.json b/packages/zero-swift-cli/package.json index 8c07c2ab8b..a88df842fe 100644 --- a/packages/zero-swift-cli/package.json +++ b/packages/zero-swift-cli/package.json @@ -1,6 +1,6 @@ { "name": "zero-swift", - "version": "0.10.3", + "version": "0.10.4", "description": "Generates the Swift row types and schema of a Zero app for the Zero Swift client.", "license": "Apache-2.0", "repository": { diff --git a/rust/Cargo.lock b/rust/Cargo.lock index f6ad456cd1..b375a54506 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "zero-client" -version = "0.5.1" +version = "0.5.2" dependencies = [ "futures-util", "rusqlite", @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "zero-conformance" -version = "0.5.1" +version = "0.5.2" dependencies = [ "zero-client", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index f7fbeee8c0..93817856b9 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -3,14 +3,14 @@ resolver = "3" members = ["zero-client", "conformance", "codegen-tests", "benchmarks"] [workspace.package] -version = "0.5.1" +version = "0.5.2" edition = "2024" rust-version = "1.88" license = "Apache-2.0" repository = "https://github.com/wevm/zero" [workspace.dependencies] -zero-client = { path = "zero-client", version = "0.5.1" } +zero-client = { path = "zero-client", version = "0.5.2" } [workspace.lints.rust] unsafe_code = "forbid" diff --git a/swift/VERSION b/swift/VERSION index a3f5a8ed4d..9b40aa6c21 100644 --- a/swift/VERSION +++ b/swift/VERSION @@ -1 +1 @@ -0.10.3 +0.10.4