@typed-sql/ast 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 +23 -0
  2. package/README.md +7 -14
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @typed-sql/ast
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
+ - 16e2475: Prove npm trusted publishing and provenance after the initial registry bootstrap.
19
+
20
+ ## 1.0.0-rc.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Publish the coherent 1.0.0-rc.0 release-candidate train.
25
+
3
26
  ## 1.0.0-beta.2
4
27
 
5
28
  ### Patch Changes
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @typed-sql/ast
2
2
 
3
- The bounded SQL tokenizer, parser, AST, and source-range package used by
3
+ The stable, bounded SQL tokenizer, parser, AST, and source-range package used by
4
4
  [typed-sql](https://github.com/Lojhan/typed-sql).
5
5
 
6
6
  ```sh
7
- pnpm add @typed-sql/ast@next
7
+ pnpm add @typed-sql/ast
8
8
  ```
9
9
 
10
10
  ```ts
@@ -15,18 +15,11 @@ const statement = parseStatement("SELECT account.id FROM accounts AS account");
15
15
  ```
16
16
 
17
17
  The parser supports PostgreSQL and MySQL syntax modes and preserves ranges for diagnostics, hover,
18
- definitions, and quick fixes. It is deliberately resource-bounded:
18
+ definitions, and quick fixes. Input length, token count, and parse nesting are resource-bounded.
19
+ Failures expose structured `SqlTokenizeError` or `SqlParseError` values with source ranges.
19
20
 
20
- - maximum SQL length: 1,000,000 characters;
21
- - maximum token count: 100,000;
22
- - maximum parse nesting: 128 levels;
23
- - structured `SqlTokenizeError` and `SqlParseError` failures with source ranges.
24
-
25
- This is a compiler/tooling package; application code normally imports `sql` from
26
- `@typed-sql/postgres` or `@typed-sql/mysql` instead. Unsupported syntax fails safely rather than
27
- creating an optimistic type.
28
-
29
- See the [supported SQL matrices](https://github.com/Lojhan/typed-sql#supported-sql) and
30
- [diagnostic contract](https://github.com/Lojhan/typed-sql/tree/main/packages/core#diagnostics).
21
+ Application code normally imports `sql` from `@typed-sql/postgres` or `@typed-sql/mysql` instead.
22
+ See [Inference and safety](https://github.com/Lojhan/typed-sql/blob/main/docs/concepts/type-safety.md)
23
+ and the [diagnostic reference](https://github.com/Lojhan/typed-sql/blob/main/docs/reference/diagnostics.md).
31
24
 
32
25
  MIT © typed-sql contributors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-sql/ast",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0",
4
4
  "description": "PostgreSQL-oriented SQL tokenizer, AST, parser, and source ranges for typed-sql.",
5
5
  "license": "MIT",
6
6
  "author": "Lojhan",