@typed-sql/config 1.0.0-rc.0 → 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 +32 -0
  2. package/README.md +6 -13
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @typed-sql/config
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
+ - Updated dependencies [eb16de7]
23
+ - Updated dependencies [b6389e4]
24
+ - Updated dependencies [eb16de7]
25
+ - Updated dependencies [b6389e4]
26
+ - Updated dependencies [eb16de7]
27
+ - Updated dependencies [1563a7a]
28
+ - Updated dependencies [9dd6bc4]
29
+ - Updated dependencies [7ca256b]
30
+ - Updated dependencies [16e2475]
31
+ - Updated dependencies [69c7d87]
32
+ - Updated dependencies [3e2c75c]
33
+ - @typed-sql/core@1.0.0
34
+
3
35
  ## 1.0.0-rc.0
4
36
 
5
37
  ### Patch Changes
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @typed-sql/config
2
2
 
3
- Grammar-neutral configuration discovery and executable TypeScript config loading for
3
+ Stable, grammar-neutral configuration discovery and executable TypeScript config loading for
4
4
  [typed-sql](https://github.com/Lojhan/typed-sql).
5
5
 
6
6
  ```sh
7
- pnpm add @typed-sql/config@next
7
+ pnpm add @typed-sql/config
8
8
  ```
9
9
 
10
10
  ```ts
@@ -15,17 +15,10 @@ const loaded = await loadConfig({ file });
15
15
  const schemaFile = fromConfig(loaded.directory, loaded.config.schema.file);
16
16
  ```
17
17
 
18
- Discovery walks upward for:
18
+ Discovery walks upward for `typed-sql.config.ts`, `.mts`, `.mjs`, or `.js`. Loaded configs must
19
+ default-export a valid dialect contract. Config modules are executable application build code; do
20
+ not load them from untrusted repositories outside an appropriate sandbox.
19
21
 
20
- - `typed-sql.config.ts`
21
- - `typed-sql.config.mts`
22
- - `typed-sql.config.mjs`
23
- - `typed-sql.config.js`
24
-
25
- Loaded configs must default-export a valid dialect contract. The CLI and language server use this
26
- package so neither tool needs a built-in PostgreSQL or MySQL dependency.
27
-
28
- Config modules are executable application build code and have the same authority as other local
29
- scripts. Do not load configs from untrusted repositories outside an appropriate sandbox.
22
+ Read the [configuration guide](https://github.com/Lojhan/typed-sql/blob/main/docs/getting-started/configuration.md).
30
23
 
31
24
  MIT © typed-sql contributors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-sql/config",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.0",
4
4
  "description": "Shared typed-sql config discovery and TypeScript config loading.",
5
5
  "license": "MIT",
6
6
  "author": "Lojhan",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "tsx": "4.23.12",
40
- "@typed-sql/core": "1.0.0-rc.0"
40
+ "@typed-sql/core": "1.0.0"
41
41
  },
42
42
  "scripts": {
43
43
  "test": "poku test --reporter=compact --enforce",