@objectstack/driver-sqlite-wasm 17.0.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.
- package/CHANGELOG.md +261 -0
- package/README.md +8 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,266 @@
|
|
|
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
|
+
|
|
127
|
+
## 17.1.0
|
|
128
|
+
|
|
129
|
+
### Patch Changes
|
|
130
|
+
|
|
131
|
+
- 7337f30: chore(deps): production-dependency patch bumps from the weekly Dependabot group (#9212)
|
|
132
|
+
|
|
133
|
+
Routine dependency-range refresh, no behavior change: `@oclif/core` 4.13.2→4.13.3,
|
|
134
|
+
`esbuild` 0.28.1→0.28.2 and `better-sqlite3` ^13.0.2→^13.0.3 (optional) on
|
|
135
|
+
`@objectstack/cli`; `mingo` 7.2.2→7.2.4 on `@objectstack/driver-memory`; `nanoid`
|
|
136
|
+
6.0.0→6.0.1 on `@objectstack/driver-mongodb`, `@objectstack/driver-sql`,
|
|
137
|
+
`@objectstack/driver-sqlite-wasm` and `@objectstack/driver-turso`, plus
|
|
138
|
+
`better-sqlite3` ^13.0.2→^13.0.3 (optional on `@objectstack/driver-sql`, peer on
|
|
139
|
+
`@objectstack/driver-turso`); `js-yaml` 5.2.2→5.2.3 on `@objectstack/metadata`;
|
|
140
|
+
`@noble/hashes` 2.2.0→2.3.0 and `jose` 6.2.5→6.2.8 on `@objectstack/plugin-auth`;
|
|
141
|
+
`nodemailer` 9.0.3→9.0.5 on `@objectstack/plugin-email`; `@hono/node-server`
|
|
142
|
+
2.0.12→2.1.1 and `hono` 4.12.34→4.13.2 on `@objectstack/plugin-hono-server`;
|
|
143
|
+
`pinyin-pro` 3.28.2→3.29.1 on `@objectstack/plugin-pinyin-search`; and
|
|
144
|
+
`@noble/ciphers` 2.2.0→2.3.0 on `@objectstack/service-settings`.
|
|
145
|
+
|
|
146
|
+
Every entry above changed a `dependencies`, `optionalDependencies` or
|
|
147
|
+
`peerDependencies` range in the published manifest — the only kind of change
|
|
148
|
+
that reaches a consumer's install. The same Dependabot group also bumped
|
|
149
|
+
`devDependencies` on `@objectstack/hono`, `@objectstack/client`,
|
|
150
|
+
`@objectstack/core`, `@objectstack/plugin-sharing` and `@objectstack/spec`
|
|
151
|
+
(none consumer-facing), and touched the private `apps/docs`,
|
|
152
|
+
`examples/app-todo` and workspace-root manifests (none published) — none of
|
|
153
|
+
those get an entry here.
|
|
154
|
+
- Updated dependencies [56656aa]
|
|
155
|
+
- Updated dependencies [07e630e]
|
|
156
|
+
- Updated dependencies [2f65b1b]
|
|
157
|
+
- Updated dependencies [720ee95]
|
|
158
|
+
- Updated dependencies [f287435]
|
|
159
|
+
- Updated dependencies [2782805]
|
|
160
|
+
- Updated dependencies [e43d63a]
|
|
161
|
+
- Updated dependencies [9aa8890]
|
|
162
|
+
- Updated dependencies [7c9c1dd]
|
|
163
|
+
- Updated dependencies [8bbf459]
|
|
164
|
+
- Updated dependencies [75b7c24]
|
|
165
|
+
- Updated dependencies [d5552ca]
|
|
166
|
+
- Updated dependencies [d9813a9]
|
|
167
|
+
- Updated dependencies [8640fb2]
|
|
168
|
+
- Updated dependencies [2420641]
|
|
169
|
+
- Updated dependencies [2ad91c3]
|
|
170
|
+
- Updated dependencies [f57fb38]
|
|
171
|
+
- Updated dependencies [00777a0]
|
|
172
|
+
- Updated dependencies [d491625]
|
|
173
|
+
- Updated dependencies [2c570f3]
|
|
174
|
+
- Updated dependencies [7337f30]
|
|
175
|
+
- Updated dependencies [420804d]
|
|
176
|
+
- Updated dependencies [cbf4b40]
|
|
177
|
+
- Updated dependencies [9c4d096]
|
|
178
|
+
- Updated dependencies [86431f7]
|
|
179
|
+
- Updated dependencies [716ac9b]
|
|
180
|
+
- Updated dependencies [a38408a]
|
|
181
|
+
- Updated dependencies [62b1427]
|
|
182
|
+
- Updated dependencies [7ea1372]
|
|
183
|
+
- Updated dependencies [23abe27]
|
|
184
|
+
- Updated dependencies [985a9cd]
|
|
185
|
+
- Updated dependencies [5f5e234]
|
|
186
|
+
- Updated dependencies [a8189ae]
|
|
187
|
+
- Updated dependencies [26e70fb]
|
|
188
|
+
- Updated dependencies [42b05af]
|
|
189
|
+
- Updated dependencies [2b292ce]
|
|
190
|
+
- Updated dependencies [abcf853]
|
|
191
|
+
- Updated dependencies [8b9eba5]
|
|
192
|
+
- Updated dependencies [d575779]
|
|
193
|
+
- Updated dependencies [94f7ef8]
|
|
194
|
+
- Updated dependencies [c5ac5e4]
|
|
195
|
+
- Updated dependencies [a777944]
|
|
196
|
+
- Updated dependencies [dd88e1c]
|
|
197
|
+
- Updated dependencies [856527c]
|
|
198
|
+
- Updated dependencies [870f710]
|
|
199
|
+
- Updated dependencies [79c46da]
|
|
200
|
+
- Updated dependencies [7ff3975]
|
|
201
|
+
- Updated dependencies [29d055b]
|
|
202
|
+
- Updated dependencies [65589d6]
|
|
203
|
+
- Updated dependencies [2c86fe3]
|
|
204
|
+
- Updated dependencies [e196c6a]
|
|
205
|
+
- Updated dependencies [24173e9]
|
|
206
|
+
- Updated dependencies [4ab7523]
|
|
207
|
+
- Updated dependencies [19539b4]
|
|
208
|
+
- Updated dependencies [a9df51c]
|
|
209
|
+
- Updated dependencies [f8eb736]
|
|
210
|
+
- Updated dependencies [11b779e]
|
|
211
|
+
- Updated dependencies [ab8b10f]
|
|
212
|
+
- Updated dependencies [739fe5b]
|
|
213
|
+
- Updated dependencies [4bfe1a5]
|
|
214
|
+
- Updated dependencies [2065e31]
|
|
215
|
+
- Updated dependencies [b69d0f5]
|
|
216
|
+
- Updated dependencies [4d47afe]
|
|
217
|
+
- Updated dependencies [e4e5c6e]
|
|
218
|
+
- Updated dependencies [9a56784]
|
|
219
|
+
- Updated dependencies [c8806ae]
|
|
220
|
+
- Updated dependencies [bb96297]
|
|
221
|
+
- Updated dependencies [d00d2f6]
|
|
222
|
+
- Updated dependencies [df0c12d]
|
|
223
|
+
- Updated dependencies [d31785f]
|
|
224
|
+
- Updated dependencies [c308a4f]
|
|
225
|
+
- Updated dependencies [3b3f67d]
|
|
226
|
+
- Updated dependencies [e2899f6]
|
|
227
|
+
- Updated dependencies [3851f87]
|
|
228
|
+
- Updated dependencies [2a29caa]
|
|
229
|
+
- Updated dependencies [09a6eee]
|
|
230
|
+
- Updated dependencies [1a7f907]
|
|
231
|
+
- Updated dependencies [cd455c8]
|
|
232
|
+
- Updated dependencies [e1bb0ca]
|
|
233
|
+
- Updated dependencies [30d3752]
|
|
234
|
+
- Updated dependencies [c80e7ae]
|
|
235
|
+
- Updated dependencies [09a9a8a]
|
|
236
|
+
- Updated dependencies [07026cf]
|
|
237
|
+
- Updated dependencies [5d4f3d5]
|
|
238
|
+
- Updated dependencies [4d80e8b]
|
|
239
|
+
- Updated dependencies [30b1c63]
|
|
240
|
+
- Updated dependencies [079b457]
|
|
241
|
+
- Updated dependencies [e43b211]
|
|
242
|
+
- Updated dependencies [890b38f]
|
|
243
|
+
- Updated dependencies [8bee54b]
|
|
244
|
+
- Updated dependencies [7a537ce]
|
|
245
|
+
- Updated dependencies [593c4bf]
|
|
246
|
+
- Updated dependencies [ff08691]
|
|
247
|
+
- Updated dependencies [60e0f90]
|
|
248
|
+
- Updated dependencies [90c5285]
|
|
249
|
+
- Updated dependencies [402c125]
|
|
250
|
+
- Updated dependencies [7901b2d]
|
|
251
|
+
- Updated dependencies [56bca91]
|
|
252
|
+
- Updated dependencies [79394d7]
|
|
253
|
+
- Updated dependencies [730fd9a]
|
|
254
|
+
- Updated dependencies [44bc51d]
|
|
255
|
+
- Updated dependencies [73cfddf]
|
|
256
|
+
- Updated dependencies [a4acb8d]
|
|
257
|
+
- Updated dependencies [d634e66]
|
|
258
|
+
- Updated dependencies [682b86b]
|
|
259
|
+
- Updated dependencies [6a1b45e]
|
|
260
|
+
- @objectstack/spec@17.1.0
|
|
261
|
+
- @objectstack/core@17.1.0
|
|
262
|
+
- @objectstack/driver-sql@17.1.0
|
|
263
|
+
|
|
3
264
|
## 17.0.0
|
|
4
265
|
|
|
5
266
|
### Major 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-
|
|
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-
|
|
17
|
+
| `@objectstack/driver-sql` (SQLite) | `better-sqlite3`, an optional dependency | ❌ | yes |
|
|
18
18
|
| **`@objectstack/driver-sqlite-wasm`** | `sql.js` (WASM) | ✅ | no |
|
|
19
|
-
| `@objectstack/driver-
|
|
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
|
|
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.
|
|
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": [
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"knex": "^3.3.0",
|
|
27
|
-
"nanoid": "^6.0.
|
|
27
|
+
"nanoid": "^6.0.1",
|
|
28
28
|
"sql.js": "^1.14.1",
|
|
29
|
-
"@objectstack/core": "17.
|
|
30
|
-
"@objectstack/driver-sql": "17.
|
|
31
|
-
"@objectstack/spec": "17.
|
|
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
|
-
"@types/node": "^26.
|
|
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.
|
|
38
|
+
"@objectstack/formula": "17.2.0"
|
|
39
39
|
},
|
|
40
40
|
"author": "ObjectStack",
|
|
41
41
|
"repository": {
|