@naturali/sdk 0.27.0 → 0.27.2

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 (2) hide show
  1. package/README.md +13 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -92,12 +92,16 @@ The only hand-written source is `src/naturaliClient.ts`.
92
92
 
93
93
  ## Versioning
94
94
 
95
- Releases are automatic, and the version tracks the API rather than a hand-picked
96
- schedule. Any change to `api/openapi/v1/*.yaml` regenerates this package and
97
- publishes it, because the specs are what it is generated *from* so a new
98
- version can mean the API gained a resource, not that the hand-written client
99
- changed.
100
-
101
- `fix:`/`chore:` changes release a patch, `feat:` a minor, and a breaking change
102
- is held for human approval before it reaches npm. See the repository
103
- [README](../../README.md#releasing).
95
+ Releases are automatic, and the version is **shared with the API and with
96
+ `@naturali/cli`** one number, one git tag, three packages. `@naturali/sdk@0.28.0`
97
+ is the client for API 0.28.0, so the version you installed names the contract you
98
+ are holding.
99
+
100
+ Any change to `api/openapi/v1/*.yaml` regenerates this package and publishes it,
101
+ because the specs are what it is generated *from* — so a new version can mean the
102
+ API gained a resource, not that the hand-written client changed.
103
+
104
+ `fix:`/`chore:` changes release a patch and `feat:` a minor, inferred from the
105
+ squashed commit subject. Every case publishes on merge, breaking changes
106
+ included. See the repository [README](../../README.md#releasing) and
107
+ [`CHANGELOG.md`](../../CHANGELOG.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.27.0",
3
+ "version": "0.27.2",
4
4
  "description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "tsx": "^4.23.1",
38
38
  "typescript": "~6.0.3",
39
39
  "vitest": "^4.1.10",
40
- "@naturali/api": "0.27.0"
40
+ "@naturali/api": "0.27.2"
41
41
  },
42
42
  "scripts": {
43
43
  "generate": "tsx scripts/generate.ts",