orez 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -9
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -13,14 +13,15 @@ bunx orez
|
|
|
13
13
|
|
|
14
14
|
oreZ makes Zero work on [PGlite](https://pglite.dev) (Postgres in WASM) and [bedrock-sqlite](https://www.npmjs.com/package/bedrock-sqlite) (SQLite in WASM), bundled together so local development is as simple as `bun install && bunx orez`.
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Lite Sync
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
Lite Sync is the separate SQLite-native Zero engine. The current preview ships
|
|
19
|
+
as [`orez-lite`](https://www.npmjs.com/package/orez-lite) while its package
|
|
20
|
+
boundary is being split from Orez. It runs on Cloudflare and other constrained
|
|
21
|
+
hosts, replaces Zero's server side, and speaks the Zero protocol to the real
|
|
22
|
+
`@rocicorp/zero` client. `orez-lite/client` supplies the transport without
|
|
23
|
+
forking Zero's query or mutation API. Read the
|
|
24
|
+
[Lite Sync documentation](https://lite-sync-docs.natewienert.workers.dev).
|
|
24
25
|
|
|
25
26
|
`orez-lite/aggregate` maintains queryable count and sum columns until Zero ships
|
|
26
27
|
aggregate queries. One declaration generates the SQLite migration and triggers
|
|
@@ -46,7 +47,7 @@ export const { ZeroSqlDO, ZeroDO } = orez
|
|
|
46
47
|
export default orez
|
|
47
48
|
```
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
Lite Sync owns namespace routing, schema readiness and coalescing, change-feed
|
|
50
51
|
projection, write budgets, and optional streaming backups. Applications add
|
|
51
52
|
only product routes, telemetry, cron work, and namespace inventory.
|
|
52
53
|
|
|
@@ -78,7 +79,7 @@ not suitable for production.
|
|
|
78
79
|
- **Local filesystem** — no replication, no HA. Use `orez pg_dump` for backups.
|
|
79
80
|
|
|
80
81
|
Orez does not embed zero-cache in Cloudflare Durable Objects. Cloudflare server
|
|
81
|
-
work uses the SQLite-native
|
|
82
|
+
work uses the SQLite-native Lite Sync runtime from `orez-lite/cloudflare`.
|
|
82
83
|
|
|
83
84
|
## Backends
|
|
84
85
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orez",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "PGlite-powered zero-sync development backend. No Docker required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@electric-sql/pglite": "0.4.1",
|
|
94
94
|
"@electric-sql/pglite-tools": "^0.3.1",
|
|
95
|
-
"bedrock-sqlite": "0.13.
|
|
95
|
+
"bedrock-sqlite": "0.13.2",
|
|
96
96
|
"citty": "^0.2.0",
|
|
97
97
|
"pg-gateway": "0.3.0-beta.4",
|
|
98
98
|
"pgsql-parser": "^17.9.11",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"embedded-postgres": "17.10.0-beta.17",
|
|
120
120
|
"oxfmt": "latest",
|
|
121
121
|
"oxlint": "latest",
|
|
122
|
-
"orez-lite": "0.13.
|
|
123
|
-
"orez-sync-executor": "0.13.
|
|
122
|
+
"orez-lite": "0.13.2",
|
|
123
|
+
"orez-sync-executor": "0.13.2",
|
|
124
124
|
"pg": "8.22.0",
|
|
125
125
|
"typescript": "^5.7.0",
|
|
126
126
|
"vitest": "^3.0.0",
|