@astroway/sdk 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0 — 2026-05-11
4
+
5
+ **Production guarantee.** Public API stable, SemVer commitment. Same code as `0.1.0` — every export, namespace, error class, helper, option ships unchanged. The major bump reflects engine drop and contractual commitment, not surface change.
6
+
7
+ ### Changed
8
+
9
+ - **Node 22 minimum.** Dropped Node 20 — Node 22 has been LTS since 2024-10-29, the v20 LTS line entered maintenance mode 2025-10-21. CI matrix drops 20.
10
+ - If you still need Node 20: pin to `@astroway/sdk@^0.1.0` (the `0.1.x` line will receive critical security patches).
11
+ - **SemVer commitment in README** — removing or narrowing public exports requires `2.0.0`.
12
+
13
+ ### Locked (same as 0.1.0, now contractual)
14
+
15
+ 103 typed namespaces / 623 methods. 12-class error hierarchy. Constructor + `CallOptions` shapes. Cache (`MemoryStore`, `LocalStorageStore`). Streaming (`aw.streamSSE()`). Mock (`MockAstroway` from `/testing`). Helpers (`BirthDateTime` from `/helpers`). Connection pooling (`dispatcher`).
16
+
17
+ ### Migration from 0.1.x
18
+
19
+ `npm install @astroway/sdk@1.0.0` is a drop-in upgrade **if you're on Node 22+**. No code changes needed.
20
+
21
+ ### Verification
22
+
23
+ 141 vitest tests pass (same suite as 0.1.0).
24
+
3
25
  ## 0.1.0 — 2026-05-11
4
26
 
5
27
  **Stable surface commitment.** Public API frozen — every export shipped across alphas / betas / RCs is now part of the `0.1.x` contract. No code changes vs `0.1.0-rc.2` — same `Astroway` constructor, same 103 namespaces / 623 methods, same error hierarchy, same helpers / cache / streaming / mock / dispatcher / timeout surface. Ready to be depended on.
package/README.md CHANGED
@@ -214,9 +214,13 @@ Neither carries a session ID, machine fingerprint, or anything personal.
214
214
 
215
215
  ## Stability
216
216
 
217
+ Since **`1.0.0` (2026-05-11)** this package follows strict SemVer:
218
+
219
+ - **Public exports won't be removed or narrowed in `1.x`.** Doing so requires a `2.0.0` major bump with a deprecation period covering at least one minor.
217
220
  - **Tool identifiers stable inside a major version.** Any path that ships under `1.x` won't be renamed or removed without a deprecation note in `CHANGELOG.md` and a one-minor parallel-availability window.
218
221
  - **Input shape stable inside a minor version.** Tightening (regex, range, enum) ships in patches; adding a required field requires a minor bump.
219
- - **API version vs SDK version are independent.** SDK `0.x` follows its own semver; the API itself sits at `/v1/`. Across `v1` → `v2` API any breaking change is announced.
222
+ - **API version vs SDK version are independent.** SDK `1.x` follows its own semver; the API itself sits at `/v1/`. Across `v1` → `v2` API any breaking change is announced.
223
+ - **Node 22+ required** since `1.0.0`. Need Node 20? Stay on `0.1.x` (will receive critical security patches).
220
224
 
221
225
  ### Migration from `0.1.0-alpha.x` / `0.1.0-beta.x` / `0.1.0-rc.x` to `0.1.0`
222
226
 
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Auto-injected from package.json at build time. Update via npm version <bump>. */
2
- export declare const SDK_VERSION = "0.1.0";
2
+ export declare const SDK_VERSION = "1.0.0";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Auto-injected from package.json at build time. Update via npm version <bump>. */
2
- export const SDK_VERSION = '0.1.0';
2
+ export const SDK_VERSION = '1.0.0';
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astroway/sdk",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Official TypeScript SDK for the AstroWay API — natal, synastry, transits, Vedic, Human Design, Tarot, Numerology, AI horoscopes. Type-safe, retry-aware, OpenAPI 3.1 generated.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "homepage": "https://api.astroway.info/docs/",
74
74
  "engines": {
75
- "node": ">=20"
75
+ "node": ">=22"
76
76
  },
77
77
  "publishConfig": {
78
78
  "access": "public",