@objectstack/driver-sqlite-wasm 17.1.0 → 17.2.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +124 -0
  2. package/README.md +8 -4
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,129 @@
1
1
  # @objectstack/driver-sqlite-wasm
2
2
 
3
+ ## 17.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 6ceaa4b: docs: name packages that exist in seven published documents, and gate the class (#10893)
8
+
9
+ A published README ships inside the npm tarball, so an install instruction in one
10
+ reaches every reader of the package. Nine `@objectstack/` names across seven
11
+ published documents named a package that is in **no directory of this repo**, and
12
+ five of those sat on `import` lines inside runnable fences.
13
+
14
+ `check:published-readme-exports` could not see any of it, by construction. It
15
+ resolves a documented import against the package's built type surface through the
16
+ workspace member map, so a specifier that is not a member has no type entry to
17
+ compare against and the gate reads no further — strict about a member that exists,
18
+ silent about one that does not. The gate now makes the member-existence claim
19
+ first: an `@objectstack/`-scoped specifier that names no workspace member is a
20
+ finding, and the run header prints the scoped population as `N/N` so a recogniser
21
+ that stops matching shows up as a denominator that fell.
22
+
23
+ What each dead claim now says, and why:
24
+
25
+ - **`@objectstack/trigger-schedule`** and **`@objectstack/trigger-record-change`**
26
+ each misnamed **themselves**. Both READMEs — including their `# ` titles and
27
+ every fenced import — said `@objectstack/plugin-trigger-…`, a name that has
28
+ never been published. The exported class names (`ScheduleTriggerPlugin`,
29
+ `TimeRelativeTriggerPlugin`, `RecordChangeTriggerPlugin`) were correct all
30
+ along; only the package name was wrong, so this is a rename pinned by each
31
+ package's own `name` field.
32
+ - **`@objectstack/plugin-security`** told readers to `install
33
+ @objectstack/plugin-org-scoping` and register an `OrgScopingPlugin` from it. No
34
+ such package exists. The organization wall ships as the enterprise
35
+ `@objectstack/organizations` runtime, whose `OrganizationsPlugin` registers the
36
+ `org-scoping` service this plugin probes — the name `objectstack serve` and
37
+ `objectstack doctor` both print. Asking for the wall without it is a refusal to
38
+ boot (ADR-0093 D5), not a silent downgrade, and the page now says so. The
39
+ tenant-isolation bullet pointed at `@objectstack/service-tenant`, which is the
40
+ cloud control-plane runtime from the separate `cloud` repository and not where
41
+ the wall comes from either.
42
+ - **`@objectstack/service-package`** described packages being "delivered to
43
+ runtime kernels that load them through `@objectstack/service-marketplace`". That
44
+ package was never built: ADR-0003, ADR-0016 and ADR-0025 all name it as future
45
+ work. The loading half that does exist here is
46
+ `@objectstack/cloud-connection`'s `MarketplaceInstallLocalPlugin`.
47
+ - **`@objectstack/embedder-openai`** had a fenced example importing
48
+ `KnowledgeTursoPlugin` from `@objectstack/knowledge-turso` — the worst shape,
49
+ because a reader pastes it. No knowledge adapter in this repository consumes an
50
+ `IEmbedder` at all: `knowledge-memory` and `knowledge-ragflow` take no embedder
51
+ option, and the adapters the contract is written for are not here. The example
52
+ is now the `embed()` surface that does exist, with the gap stated rather than
53
+ papered over with a substitute package name.
54
+ - **`@objectstack/driver-sqlite-wasm`**'s "When to use" table compared it against
55
+ `@objectstack/driver-sqlite` and `@objectstack/driver-postgres`. Neither has
56
+ ever existed; `@objectstack/driver-sql` covers PostgreSQL, MySQL and SQLite
57
+ through Knex, choosing the client from its optional peers.
58
+ - **`@objectstack/spec`**'s published `prompts/architecture.md` instructed code
59
+ generators to write `import { User } from '@objectstack/protocol'`. The package
60
+ is `@objectstack/spec`, which the same sentence names as the path being
61
+ replaced.
62
+
63
+ Four `@objectstack/` names that are **not** in this repo are deliberately left as
64
+ they are, because prose may name a package this repo does not build and a runnable
65
+ import may not: `@objectstack/security-enterprise` (the enterprise edition, whose
66
+ install hint the CLI prints and a CLI test pins), `@objectstack/service-tenant`
67
+ (the cloud runtime), `@objectstack/framework` (the umbrella install name), and the
68
+ two names `service-datasource`'s README recalls as its own past.
69
+ - Updated dependencies [6936d07]
70
+ - Updated dependencies [59eb04d]
71
+ - Updated dependencies [9f05b7d]
72
+ - Updated dependencies [3b2af5e]
73
+ - Updated dependencies [7d2d112]
74
+ - Updated dependencies [5fa0d72]
75
+ - Updated dependencies [02b3b07]
76
+ - Updated dependencies [95437e7]
77
+ - Updated dependencies [824a996]
78
+ - Updated dependencies [9cc1940]
79
+ - Updated dependencies [9cc1940]
80
+ - Updated dependencies [9cc1940]
81
+ - Updated dependencies [46cfa5b]
82
+ - Updated dependencies [479fba5]
83
+ - Updated dependencies [914c413]
84
+ - Updated dependencies [55809a0]
85
+ - Updated dependencies [927ccbb]
86
+ - Updated dependencies [ee2ff45]
87
+ - Updated dependencies [47cd3ec]
88
+ - Updated dependencies [52db1d1]
89
+ - Updated dependencies [5649efb]
90
+ - Updated dependencies [9d7d2de]
91
+ - Updated dependencies [c815c50]
92
+ - Updated dependencies [795ea05]
93
+ - Updated dependencies [2306a76]
94
+ - Updated dependencies [e5ea701]
95
+ - Updated dependencies [a40dcc1]
96
+ - Updated dependencies [def0d3e]
97
+ - Updated dependencies [8d0bb79]
98
+ - Updated dependencies [5acb58d]
99
+ - Updated dependencies [2e3cf95]
100
+ - Updated dependencies [4c93387]
101
+ - Updated dependencies [504c8d5]
102
+ - Updated dependencies [a037f7c]
103
+ - Updated dependencies [3ee8ddf]
104
+ - Updated dependencies [16cef97]
105
+ - Updated dependencies [a79bd35]
106
+ - Updated dependencies [6ceaa4b]
107
+ - Updated dependencies [15ea214]
108
+ - Updated dependencies [de19489]
109
+ - Updated dependencies [c684d00]
110
+ - Updated dependencies [923c424]
111
+ - Updated dependencies [1ec36b7]
112
+ - Updated dependencies [5f2e54c]
113
+ - Updated dependencies [189373b]
114
+ - Updated dependencies [f59035c]
115
+ - Updated dependencies [35ad101]
116
+ - Updated dependencies [ceb33a9]
117
+ - Updated dependencies [73d9795]
118
+ - Updated dependencies [8012960]
119
+ - Updated dependencies [f34f56b]
120
+ - Updated dependencies [f399618]
121
+ - Updated dependencies [75e9301]
122
+ - Updated dependencies [2810695]
123
+ - @objectstack/spec@17.2.0
124
+ - @objectstack/driver-sql@17.2.0
125
+ - @objectstack/core@17.2.0
126
+
3
127
  ## 17.1.0
4
128
 
5
129
  ### Patch Changes
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @objectstack/driver-sqlite-wasm
2
2
 
3
3
  SQLite-on-WASM driver for ObjectStack. Runs the same `SqlDriver` codepath as
4
- `@objectstack/driver-sqlite` but swaps the native `better-sqlite3` N-API binding
4
+ `@objectstack/driver-sql` but swaps the native `better-sqlite3` N-API binding
5
5
  for [`sql.js`](https://sql.js.org) (SQLite compiled to WebAssembly), so it works
6
6
  in environments where native modules are unavailable — most notably
7
7
  **StackBlitz WebContainer** (Node-in-browser).
@@ -14,14 +14,18 @@ in environments where native modules are unavailable — most notably
14
14
 
15
15
  | Driver | Backend | Runs in WebContainer | Native binary |
16
16
  |---|---|---|---|
17
- | `@objectstack/driver-sqlite` | `better-sqlite3` | ❌ | yes |
17
+ | `@objectstack/driver-sql` (SQLite) | `better-sqlite3`, an optional dependency | ❌ | yes |
18
18
  | **`@objectstack/driver-sqlite-wasm`** | `sql.js` (WASM) | ✅ | no |
19
- | `@objectstack/driver-postgres` | `pg` | ✅ (with TCP) | no |
19
+ | `@objectstack/driver-sql` (Postgres) | `pg`, an optional peer dependency | ✅ (with TCP) | no |
20
+
21
+ Two rows name the same package on purpose: `@objectstack/driver-sql` covers
22
+ PostgreSQL, MySQL and SQLite through Knex, selecting the client from its optional
23
+ peers. There is no separate `driver-sqlite` or `driver-postgres` package.
20
24
 
21
25
  Pick the WASM driver when you need a zero-binary SQLite that boots in the
22
26
  browser sandbox, in serverless edge runtimes that expose Node `fs`, or in
23
27
  CI environments where building `better-sqlite3` against the host Node is
24
- painful. For production servers, prefer the native driver.
28
+ painful. For production servers, prefer `@objectstack/driver-sql` with a native client.
25
29
 
26
30
  ## Install
27
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/driver-sqlite-wasm",
3
- "version": "17.1.0",
3
+ "version": "17.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "WASM SQLite Driver for ObjectStack — runs in browser/WebContainer (StackBlitz) without native bindings",
6
6
  "keywords": [
@@ -26,16 +26,16 @@
26
26
  "knex": "^3.3.0",
27
27
  "nanoid": "^6.0.1",
28
28
  "sql.js": "^1.14.1",
29
- "@objectstack/core": "17.1.0",
30
- "@objectstack/driver-sql": "17.1.0",
31
- "@objectstack/spec": "17.1.0"
29
+ "@objectstack/core": "17.2.0",
30
+ "@objectstack/driver-sql": "17.2.0",
31
+ "@objectstack/spec": "17.2.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^26.2.0",
35
35
  "@types/sql.js": "^1.4.11",
36
36
  "typescript": "^6.0.3",
37
37
  "vitest": "^4.1.10",
38
- "@objectstack/formula": "17.1.0"
38
+ "@objectstack/formula": "17.2.0"
39
39
  },
40
40
  "author": "ObjectStack",
41
41
  "repository": {