@typed-sql/schema 1.0.0-beta.2 → 1.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 +26 -0
- package/README.md +10 -13
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @typed-sql/schema
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 7ca256b: Release the first public typed-sql beta: exact TypeScript 7 row inference from static PostgreSQL and
|
|
8
|
+
MySQL, versioned schema introspection, application-owned drivers, config-driven grammar plugins,
|
|
9
|
+
CLI verification, editor language-server integration, versioned diagnostics, bounded parsing, and
|
|
10
|
+
real-database plus packed-tarball verification.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 1563a7a: Declare and enforce the 1.0 package stability boundary. Core SQL, compiler, schema, config, AST,
|
|
15
|
+
PostgreSQL, MySQL, and CLI packages form the stable train; the TypeScript preview bridge and
|
|
16
|
+
language server remain explicitly experimental. Freeze public entrypoints and query type contracts,
|
|
17
|
+
and remove internal compiler/type helpers from stable package-root exports before 1.0.
|
|
18
|
+
- 9dd6bc4: Finalize dialect contract version 3 with explicit identifier quoting and grammar-owned capability
|
|
19
|
+
declarations. Accept third-party snapshot dialects, validate grammar versions, and document the
|
|
20
|
+
public grammar-authoring and conformance workflow.
|
|
21
|
+
- 16e2475: Prove npm trusted publishing and provenance after the initial registry bootstrap.
|
|
22
|
+
|
|
23
|
+
## 1.0.0-rc.0
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Publish the coherent 1.0.0-rc.0 release-candidate train.
|
|
28
|
+
|
|
3
29
|
## 1.0.0-beta.2
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @typed-sql/schema
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[typed-sql](https://github.com/Lojhan/typed-sql).
|
|
3
|
+
Stable, versioned database snapshots, deterministic generation, migrations, hashes, and drift
|
|
4
|
+
detection for [typed-sql](https://github.com/Lojhan/typed-sql).
|
|
5
5
|
|
|
6
6
|
```sh
|
|
7
|
-
pnpm add @typed-sql/schema
|
|
7
|
+
pnpm add @typed-sql/schema
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
```ts
|
|
@@ -12,22 +12,19 @@ import {
|
|
|
12
12
|
SCHEMA_FORMAT_VERSION,
|
|
13
13
|
calculateSchemaHash,
|
|
14
14
|
checkSchemaDrift,
|
|
15
|
-
generateSchemaPackage,
|
|
16
15
|
loadSchemaSnapshot,
|
|
17
16
|
migrateSchemaSnapshot,
|
|
18
17
|
parseSchemaSnapshot,
|
|
19
18
|
} from "@typed-sql/schema";
|
|
20
19
|
```
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
Snapshots record the dialect contract, server catalog, TypeScript mappings, and deterministic hash.
|
|
22
|
+
Unknown future formats fail explicitly. Generated TypeScript is inspection metadata, not an
|
|
23
|
+
application-facing `sql` or runtime-policy module.
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
use it to validate snapshots and implement providers. See the
|
|
31
|
-
[architecture](https://github.com/Lojhan/typed-sql/blob/main/docs/ARCHITECTURE.md).
|
|
25
|
+
Applications normally use this package through `@typed-sql/cli`; grammar and tooling authors use
|
|
26
|
+
it to validate snapshots and implement providers. Read
|
|
27
|
+
[Schema snapshots](https://github.com/Lojhan/typed-sql/blob/main/docs/guides/schema-snapshots.md) and
|
|
28
|
+
[Architecture](https://github.com/Lojhan/typed-sql/blob/main/docs/concepts/architecture.md).
|
|
32
29
|
|
|
33
30
|
MIT © typed-sql contributors
|