@typed-sql/mysql 2.0.0-rc.1 → 2.0.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 +59 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# @typed-sql/mysql
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 29afc3d: Add conservative semantic primary/replica routing over application-owned databases, scoped
|
|
8
|
+
read-after-write pinning, explicit role requirements, stable unsafe-route errors, dialect runtime
|
|
9
|
+
semantic resolvers, and bounded abortable transaction retry policies with native PostgreSQL and
|
|
10
|
+
MySQL error classifiers. Parse and classify dialect locking reads so uncertain or affine work
|
|
11
|
+
always fails closed to primary.
|
|
12
|
+
- 6a7ae58: Add opt-in live query verification through grammar-owned PostgreSQL PREPARE and MySQL
|
|
13
|
+
COM_STMT_PREPARE adapters, bounded neutral comparison, deterministic secret-free proof artifacts,
|
|
14
|
+
offline cache validation, explicit unsupported classifications, CLI workflows, real database E2E,
|
|
15
|
+
and performance budgets.
|
|
16
|
+
- b06fd0a: Add grammar-neutral optional adapter capability discovery, typed PostgreSQL COPY import and export
|
|
17
|
+
through application-owned `pg-copy-streams`, and typed MySQL LOAD DATA import through mysql2's
|
|
18
|
+
application-owned infile stream. Bulk transfers preserve ordinary `INSERT` parameter evidence,
|
|
19
|
+
enforce structural row stability, apply bounded backpressure, support cancellation and progress,
|
|
20
|
+
and integrate with transaction ownership and conservative connection cleanup.
|
|
21
|
+
- 3050209: Add the dialect contract v4 semantic query evidence foundation. PostgreSQL and MySQL now report operation, dependencies, cardinality, volatility, locking, connection affinity, and required capabilities; compiler results add deterministic query and structural-variant fingerprints and conservatively merged source-mapped semantics. Schema snapshots can record function volatility, and the AST package exposes a neutral statement walker for grammar implementations.
|
|
22
|
+
- 1b054b6: Add an adapter-neutral, redacted database observation lifecycle for queries, cardinality contracts,
|
|
23
|
+
batches, PostgreSQL pipelines, streams, cancellation, and nested transactions. Runtime fingerprints
|
|
24
|
+
correlate with compiler structural variants while SQL, parameter values, connection configuration,
|
|
25
|
+
and driver causes remain excluded by default. Publish the optional OpenTelemetry bridge with current
|
|
26
|
+
database semantic conventions and explicit high-cardinality or exception-capture opt-ins.
|
|
27
|
+
- 87189c3: Add grammar-neutral `all`, `one`, and `maybeOne` execution with exact row types, stable cardinality
|
|
28
|
+
and cancellation errors, explicit adapter capabilities, AbortSignal support, and absolute deadlines.
|
|
29
|
+
The pg and mysql2 adapters conservatively discard interrupted connections, including transaction
|
|
30
|
+
leases, while the existing uncontrolled `execute` path remains unchanged.
|
|
31
|
+
- e654fae: Add opt-in Standard Schema V1 result validation with compile-time output compatibility, immutable
|
|
32
|
+
query attachment, sync and async validators, redacted fingerprinted errors, and consistent decoded-row
|
|
33
|
+
handling across buffered cardinality methods, batches, PostgreSQL pipelines, streams, and transactions.
|
|
34
|
+
- b2ec119: Add opt-in, grammar-neutral query-plan governance with PostgreSQL and MySQL structured EXPLAIN
|
|
35
|
+
adapters, transient application-owned samples, redacted fingerprint-keyed artifacts, absolute and
|
|
36
|
+
comparable regression budgets, explicit uncertainty, CLI capture and review, documentation, and
|
|
37
|
+
performance coverage.
|
|
38
|
+
|
|
39
|
+
### Minor Changes
|
|
40
|
+
|
|
41
|
+
- 9c72dab: Use live MySQL catalog origins to preserve enum result evidence, and compare parameter metadata in
|
|
42
|
+
the safe input direction so compiler-enforced literal subsets do not become false mismatches.
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [7ea5d2f]
|
|
47
|
+
- Updated dependencies [29afc3d]
|
|
48
|
+
- Updated dependencies [3f063f6]
|
|
49
|
+
- Updated dependencies [6a7ae58]
|
|
50
|
+
- Updated dependencies [af27a0e]
|
|
51
|
+
- Updated dependencies [b06fd0a]
|
|
52
|
+
- Updated dependencies [3050209]
|
|
53
|
+
- Updated dependencies [1b054b6]
|
|
54
|
+
- Updated dependencies [b4f1b6e]
|
|
55
|
+
- Updated dependencies [87189c3]
|
|
56
|
+
- Updated dependencies [e654fae]
|
|
57
|
+
- Updated dependencies [b2ec119]
|
|
58
|
+
- @typed-sql/core@2.0.0
|
|
59
|
+
- @typed-sql/ast@2.0.0
|
|
60
|
+
- @typed-sql/schema@2.0.0
|
|
61
|
+
|
|
3
62
|
## 2.0.0-rc.1
|
|
4
63
|
|
|
5
64
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typed-sql/mysql",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "MySQL grammar, schema introspection, type resolution, and application-owned mysql2 integration for typed-sql.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Lojhan",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"./mysql2": "./dist/packages/mysql/src/mysql2.js"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@typed-sql/
|
|
42
|
-
"@typed-sql/
|
|
43
|
-
"@typed-sql/
|
|
41
|
+
"@typed-sql/core": "2.0.0",
|
|
42
|
+
"@typed-sql/ast": "2.0.0",
|
|
43
|
+
"@typed-sql/schema": "2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"test": "poku test --reporter=compact --enforce",
|