@typed-sql/mysql 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 +62 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# @typed-sql/mysql
|
|
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: Complete MySQL data-modification parsing and analysis for insert modifiers, inserted-row aliases,
|
|
13
|
+
duplicate-key updates, `REPLACE`, joined multi-table updates and deletes, partitions, and
|
|
14
|
+
single-table ordering and limits.
|
|
15
|
+
- 1041bfa: Apply normalized MySQL SQL modes before scanning. `ANSI_QUOTES`, `NO_BACKSLASH_ESCAPES`, and
|
|
16
|
+
`PIPES_AS_CONCAT` now select exact lexical behavior, and executable server comments fail closed.
|
|
17
|
+
- 1041bfa: Complete MySQL query-structure analysis for recursive CTEs, set operations, lateral derived tables,
|
|
18
|
+
locking placement, window frames and inheritance, `ROLLUP`, and `ONLY_FULL_GROUP_BY`.
|
|
19
|
+
- 1041bfa: Harden MySQL execution with per-connection snapshot compatibility checks, redacted warning reporting and strict warning rejection, bounded logical/native prepared-statement and decoder caches, and adapter-owned multi-statement disablement.
|
|
20
|
+
- 1041bfa: Capture normalized MySQL distribution, SQL mode, server and connection charset/collation, session
|
|
21
|
+
and system time zone, and identifier-case evidence. Exact capability selection now fails closed when
|
|
22
|
+
any required semantic setting is absent.
|
|
23
|
+
- 1041bfa: Complete MySQL schema format 2 introspection for namespace defaults, invisible and spatial columns,
|
|
24
|
+
type attributes, constraint enforcement, index prefixes and visibility, routine metadata, and
|
|
25
|
+
permission-limited fail-closed diagnostics. Reject MariaDB and unidentified compatible servers
|
|
26
|
+
instead of emitting MySQL snapshots for unverified products.
|
|
27
|
+
- 1041bfa: Publish the grammar-owned MySQL LTS, innovation-canary, patch-compatibility, and deprecation policy,
|
|
28
|
+
publish the default, lexical, and numeric SQL-mode profiles, and expose fail-closed server-version
|
|
29
|
+
classification through `mySqlVersionSupport()`. Custom profiles containing an unmodeled mode now
|
|
30
|
+
remain conservative instead of receiving exact capability evidence.
|
|
31
|
+
- 1041bfa: Add neutral column charset and collation evidence, generated versioned MySQL built-in catalogs,
|
|
32
|
+
catalog-backed type and function availability, MySQL collation coercibility, and signed/unsigned
|
|
33
|
+
numeric expression resolution.
|
|
34
|
+
Conformance v2 now compares grammar analysis against the neutral resolved-column contract while
|
|
35
|
+
allowing grammar-owned result evidence.
|
|
36
|
+
- 1041bfa: Add canonical schema snapshot format 2 with isolated v1/v2 codecs, conservative v1 upgrades,
|
|
37
|
+
neutral relation/constraint/index/type/routine evidence, and complete provider introspection.
|
|
38
|
+
Resolvers now consume structural write and routine evidence, while drift, compatibility, manifests,
|
|
39
|
+
verification proofs, and plan artifacts bind to the schema format and canonical hash.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- 1041bfa: Add the canonical, version-aware grammar feature ledger API and fail closed for PostgreSQL-style `UPDATE FROM` and `INSERT DEFAULT VALUES` when analyzed by the MySQL grammar.
|
|
44
|
+
- f3b9e6c: Align the published MySQL support evidence with the exact currently available Docker Official Image patches for the 8.4 and 9.7 LTS lines and the 26.7 innovation canary. Keep typed bulk loading portable across modeled SQL modes by expressing field, escape, and line delimiters as hexadecimal SQL literals instead of mode-sensitive escaped strings.
|
|
45
|
+
- 1041bfa: Add deterministic versioned dialect capability states backed by normalized server versions,
|
|
46
|
+
settings, extensions, and compile options. Query manifests now invalidate on capability changes and
|
|
47
|
+
record evidence for capabilities each query uses, while the CLI exposes a human-readable capability
|
|
48
|
+
report. The boolean capability map remains available as an additive migration bridge.
|
|
49
|
+
- Updated dependencies [1041bfa]
|
|
50
|
+
- Updated dependencies [1041bfa]
|
|
51
|
+
- Updated dependencies [1041bfa]
|
|
52
|
+
- Updated dependencies [1041bfa]
|
|
53
|
+
- Updated dependencies [1041bfa]
|
|
54
|
+
- Updated dependencies [1041bfa]
|
|
55
|
+
- Updated dependencies [1041bfa]
|
|
56
|
+
- Updated dependencies [1041bfa]
|
|
57
|
+
- Updated dependencies [1041bfa]
|
|
58
|
+
- Updated dependencies [1041bfa]
|
|
59
|
+
- Updated dependencies [1041bfa]
|
|
60
|
+
- Updated dependencies [1041bfa]
|
|
61
|
+
- @typed-sql/core@2.1.0
|
|
62
|
+
- @typed-sql/ast@2.1.0
|
|
63
|
+
- @typed-sql/schema@2.1.0
|
|
64
|
+
|
|
3
65
|
## 2.1.0-rc.1
|
|
4
66
|
|
|
5
67
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typed-sql/mysql",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.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,12 +38,12 @@
|
|
|
38
38
|
"./mysql2": "./dist/packages/mysql/src/mysql2.js"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@typed-sql/ast": "2.1.0
|
|
42
|
-
"@typed-sql/core": "2.1.0
|
|
43
|
-
"@typed-sql/schema": "2.1.0
|
|
41
|
+
"@typed-sql/ast": "2.1.0",
|
|
42
|
+
"@typed-sql/core": "2.1.0",
|
|
43
|
+
"@typed-sql/schema": "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 --reporter=compact --enforce",
|