@typed-sql/sqlite 2.1.0-rc.1 → 2.1.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 +54 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @typed-sql/sqlite
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1041bfa: Add the grammar-neutral parser toolkit and move first-party parsing, ASTs, tokenization, and walking into each grammar package. The historical multi-dialect AST parser is isolated as a deprecated typed-sql 2.x compatibility surface for removal in 3.0.
|
|
8
|
+
- 1041bfa: Allow non-empty arrays of typed SQL fragments to be interpolated directly as homogeneous,
|
|
9
|
+
comma-separated structure. Add fail-closed compiler analysis for direct map callbacks and fragment
|
|
10
|
+
literals, cardinality-independent artifacts, bounded prepared-cardinality caches, shared grammar
|
|
11
|
+
conformance, and runtime limits while preserving ordinary arrays as single bound values.
|
|
12
|
+
- 1041bfa: Add canonical schema snapshot format 2 with isolated v1/v2 codecs, conservative v1 upgrades,
|
|
13
|
+
neutral relation/constraint/index/type/routine evidence, and complete provider introspection.
|
|
14
|
+
Resolvers now consume structural write and routine evidence, while drift, compatibility, manifests,
|
|
15
|
+
verification proofs, and plan artifacts bind to the schema format and canonical hash.
|
|
16
|
+
- 1041bfa: Add versioned and compile-option-aware SQLite JSON, JSONB, date/time, math, and optional-extension
|
|
17
|
+
catalogs. Support JSON table-valued functions and an explicit application registry that preserves
|
|
18
|
+
scalar, aggregate, and window routine kinds in schema snapshot v2.
|
|
19
|
+
- 1041bfa: Harden the optional Node SQLite adapter with connection-time SQLite version and compile-option
|
|
20
|
+
evidence, fail-closed generated-snapshot compatibility checks, policy-aligned storage codecs, and
|
|
21
|
+
schema-aware bounded statement-cache invalidation. The adapter's supported Node.js matrix is now
|
|
22
|
+
declared consistently as Node 22.13+, 24, and 26.
|
|
23
|
+
- 1041bfa: Complete SQLite schema-v2 evidence for rowid aliases, STRICT and `WITHOUT ROWID` tables, generated
|
|
24
|
+
and hidden columns, virtual and shadow tables, checks, indexes, collations, triggers, and attached
|
|
25
|
+
databases. Preserve SQLite's primary-key nullability rules and use rowid evidence during query and
|
|
26
|
+
write analysis.
|
|
27
|
+
- 1041bfa: Graduate the SQLite grammar and optional `node:sqlite` adapter to the stable release track. The
|
|
28
|
+
stable contract covers SQLite 3.39.0 through 3.53.4, keeps unknown newer libraries conservative,
|
|
29
|
+
and verifies the adapter on Node 22.13+, 24, and 26 while leaving the driver-neutral grammar usable
|
|
30
|
+
on typed-sql's general Node.js range.
|
|
31
|
+
- 1041bfa: Resolve SQLite core built-ins, operators, coercions, arities, nullability, and in-band function
|
|
32
|
+
release boundaries from SQLite-owned catalog data. Add a stable diagnostic for invalid SQLite
|
|
33
|
+
built-in invocations and fail closed when version-gated functions lack usable server evidence.
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- 1041bfa: Add deterministic versioned dialect capability states backed by normalized server versions,
|
|
38
|
+
settings, extensions, and compile options. Query manifests now invalidate on capability changes and
|
|
39
|
+
record evidence for capabilities each query uses, while the CLI exposes a human-readable capability
|
|
40
|
+
report. The boolean capability map remains available as an additive migration bridge.
|
|
41
|
+
- Updated dependencies [1041bfa]
|
|
42
|
+
- Updated dependencies [1041bfa]
|
|
43
|
+
- Updated dependencies [1041bfa]
|
|
44
|
+
- Updated dependencies [1041bfa]
|
|
45
|
+
- Updated dependencies [1041bfa]
|
|
46
|
+
- Updated dependencies [1041bfa]
|
|
47
|
+
- Updated dependencies [1041bfa]
|
|
48
|
+
- Updated dependencies [1041bfa]
|
|
49
|
+
- Updated dependencies [1041bfa]
|
|
50
|
+
- Updated dependencies [1041bfa]
|
|
51
|
+
- Updated dependencies [1041bfa]
|
|
52
|
+
- Updated dependencies [1041bfa]
|
|
53
|
+
- @typed-sql/core@2.1.0
|
|
54
|
+
- @typed-sql/ast@2.1.0
|
|
55
|
+
- @typed-sql/schema@2.1.0
|
|
56
|
+
|
|
3
57
|
## 2.1.0-rc.1
|
|
4
58
|
|
|
5
59
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typed-sql/sqlite",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "SQLite grammar, sound schema introspection, type resolution, and optional application-owned adapters for typed-sql.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Lojhan",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"./node-sqlite": "./dist/packages/sqlite/src/node-sqlite.js"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@typed-sql/ast": "2.1.0
|
|
42
|
-
"@typed-sql/schema": "2.1.0
|
|
43
|
-
"@typed-sql/core": "2.1.0
|
|
41
|
+
"@typed-sql/ast": "2.1.0",
|
|
42
|
+
"@typed-sql/schema": "2.1.0",
|
|
43
|
+
"@typed-sql/core": "2.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@typed-sql/conformance": "2.1.0
|
|
46
|
+
"@typed-sql/conformance": "2.1.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"test": "poku test --sequential --reporter=compact --enforce",
|