Skip to content

Commit 6126aff

Browse files
jnsdlsclaude
andcommitted
feat: support @rocicorp/zero 1.11.4
1.11.4 changes only zero-cache (CVR AST parse error handling, change-streamer drain). No server-SDK source moved, so this is a pin bump: ZERO_VERSION, harness and e2e npm pins and lockfiles, the e2e zero-cache image, README, and each ported module's docstring moved to zero/v1.11.4 (be94346). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9da5a8d commit 6126aff

40 files changed

Lines changed: 71 additions & 71 deletions

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A community Python server SDK for [Zero](https://zero.rocicorp.dev/). It is not
44

55
It ports what `@rocicorp/zero/server` gives a TypeScript backend: the query endpoint (`ZERO_QUERY_URL`), the mutate endpoint (`ZERO_MUTATE_URL`), the ZQL query builder, `defineQueries` and `defineMutators`, and `tx.mutate` and `tx.run` on Postgres. The client and `zero-cache` stay in TypeScript, and a Python backend serves the same TypeScript client a TypeScript backend would.
66

7-
Compatibility is pinned to one Zero release at a time. This version is tested against `@rocicorp/zero` **1.11.3** (see `ZERO_VERSION`).
7+
Compatibility is pinned to one Zero release at a time. This version is tested against `@rocicorp/zero` **1.11.4** (see `ZERO_VERSION`).
88

99
## Usage
1010

‎ZERO_VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.3
1+
1.11.4

‎e2e/docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
retries: 60
1616

1717
zero-ts: &zero
18-
image: rocicorp/zero:1.11.3
18+
image: rocicorp/zero:1.11.4
1919
depends_on:
2020
postgres:
2121
condition: service_healthy

‎e2e/package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎e2e/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"dependencies": {
6-
"@rocicorp/zero": "1.11.3",
6+
"@rocicorp/zero": "1.11.4",
77
"postgres": "3.4.9"
88
},
99
"overrides": {

‎harness/package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎harness/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"dependencies": {
6-
"@rocicorp/zero": "1.11.3",
6+
"@rocicorp/zero": "1.11.4",
77
"postgres": "3.4.9"
88
},
99
"overrides": {

‎src/zero_server/mutators.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""`define_mutator` and `define_mutators`: named server mutators the mutate endpoint dispatches to.
22
3-
Ported from rocicorp/mono `packages/zql/src/mutate/mutator.ts` and `mutator-registry.ts` at zero/v1.11.3
4-
(e91e55f05b7a2c631f77238e1dd6fadf1029a538). Apache-2.0, Copyright Rocicorp.
3+
Ported from rocicorp/mono `packages/zql/src/mutate/mutator.ts` and `mutator-registry.ts` at zero/v1.11.4
4+
(be94346faaf4ee7e7b2cf983f6e5accae3a6b4fb). Apache-2.0, Copyright Rocicorp.
55
66
A mutator here is the server half of the TypeScript mutator of the same name: the client runs its own
77
optimistically, and this one runs authoritatively inside the mutation's transaction.

‎src/zero_server/protocol/application_error.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""The error application code raises to send a message and JSON details back to the client.
22
3-
Ported from rocicorp/mono `packages/zero-protocol/src/application-error.ts` at zero/v1.11.3
4-
(e91e55f05b7a2c631f77238e1dd6fadf1029a538). Apache-2.0, Copyright Rocicorp.
3+
Ported from rocicorp/mono `packages/zero-protocol/src/application-error.ts` at zero/v1.11.4
4+
(be94346faaf4ee7e7b2cf983f6e5accae3a6b4fb). Apache-2.0, Copyright Rocicorp.
55
"""
66

77
from typing import Literal

‎src/zero_server/protocol/ast.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""The ZQL AST: what a query endpoint returns for each query zero-cache asks it to transform.
22
33
Ported from rocicorp/mono `packages/zero-protocol/src/ast.ts`, `data.ts` and `primary-key.ts` at
4-
zero/v1.11.3 (e91e55f05b7a2c631f77238e1dd6fadf1029a538). Apache-2.0, Copyright Rocicorp.
4+
zero/v1.11.4 (be94346faaf4ee7e7b2cf983f6e5accae3a6b4fb). Apache-2.0, Copyright Rocicorp.
55
66
The AST carries server names: `map_ast` maps a client-named AST through the schema's name mapper before
77
it goes on the wire, as `handleQueryRequest` does upstream.

0 commit comments

Comments
 (0)