@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.
Files changed (3) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +10 -13
  3. 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
- Versioned database snapshots, deterministic generation, migrations, hashes, and drift detection for
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@next
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
- Schema format `1` records the dialect, dialect version, server version, tables, columns, views,
23
- enums, domains, arrays, database functions, nullability, TypeScript mappings, and deterministic
24
- hashes. Unknown future snapshot versions fail explicitly instead of being interpreted optimistically.
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
- Generated TypeScript is metadata for inspection and editor tooling. Applications do not import
27
- their `sql` tag or runtime policy from the generated directory.
28
-
29
- Most applications use this package indirectly through `@typed-sql/cli`. Grammar and tooling authors
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-sql/schema",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0",
4
4
  "description": "Versioned typed-sql schema snapshots, deterministic generation, and drift checks.",
5
5
  "license": "MIT",
6
6
  "author": "Lojhan",