@vivero/stoma-core 0.1.0-rc.3 → 0.1.0-rc.4

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/CHANGELOG.md +48 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # @vivero/stoma-core
2
2
 
3
+ ## 0.1.0-rc.4
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [`cd6bd3a`](https://github.com/vivero-dev/stoma/commit/cd6bd3a619bc30c3369cd9e5546c6ceed537ceaa) Thanks [@JonathanBennett](https://github.com/JonathanBennett)! - ### @vivero/stoma
9
+
10
+ **Exports & TypeDoc**
11
+
12
+ - Export missing config types from the barrel: `MockConfig`, `ProxyPolicyConfig`, `ApiKeyAuthConfig`, `BasicAuthConfig`, `CorsConfig`, `RegexPatternRule`, `ValidationResult`, `ExtractClientIpOptions`, and `RequiredKeys`
13
+ - Export `ValidationResult` interface from the `request-validation` policy (was internal-only)
14
+ - Export `RequiredKeys` utility type from the SDK (marked `@internal`)
15
+ - Add `tsdoc.json` so TypeDoc recognises `@security` and `@module` block tags without warnings
16
+ - Fix broken `{@link Response}` reference in `errorToResponse` JSDoc (changed to inline code)
17
+ - Fix `{@link noopDebugLogger}` reference in `policyDebug` JSDoc (changed to prose)
18
+ - Update `README.md` architecture link from local `ARCHITECTURE.md` to the docs site
19
+
20
+ **Examples**
21
+
22
+ - Fix all upstream targets to use the correct origin (`https://stoma.vivero.dev`) with explicit `rewritePath` functions — previously some examples pointed at a non-existent `/demo-api` path on the upstream
23
+ - Rework `basic/gateway.ts` to use a catch-all `/*` route with better inline documentation and playground-friendly paths
24
+ - Fix `route-scopes` example: rename `/projects/*` to `/products/*` to match the demo API
25
+ - Fix `shadow-release` example: add `rewritePath` for the primary upstream
26
+ - Fix `cache-resilience` and `webhook-firewall` examples with correct path rewrites
27
+ - Add biome suppression comments for legitimate `any` usage in the `cloudflare-worker` browser rendering example (no DOM lib available in the Workers TS config)
28
+
29
+ **Lint & Types**
30
+
31
+ - Suppress `noBannedTypes` lint warning on the `RequiredKeys` utility type (`{}` is intentional for optional-key detection)
32
+ - Suppress `noExplicitAny` in the merge config test (stub adapter in test)
33
+ - Bump wrangler dev dependency from `^4.65.0` to `^4.68.0`
34
+
35
+ ### @vivero/stoma-cli
36
+
37
+ - Reformat test assertions in `resolve-security.test.ts` and `wrap.test.ts` for consistency
38
+
39
+ ### Docs site
40
+
41
+ - Add `llms.txt` support with four endpoints: `/llms.txt` (index with section links), `/llms-full.txt` (complete docs), `/llms-small.txt` (abridged, no API reference), and `/llms/{section}.txt` (10 per-section pages)
42
+ - Add `robots.txt` with sitemap reference
43
+ - Restore the Node.js deployment guide (`deploy/node/index.mdx`) that went missing
44
+ - Fix OG image meta tags to use absolute URLs instead of relative paths
45
+ - Add `og:image:type` meta tag
46
+ - Fill in `site.webmanifest` name fields (`Stoma — Declarative API Gateway`)
47
+ - Move Monaco editor TS compiler config to `beforeMount` so diagnostics are correct on first load
48
+ - Suppress top-level await false-positive diagnostics (TS 1375 & 1378) in the playground editor
49
+ - Register `@security` as a custom TypeDoc block tag in `astro.config.mjs`
50
+
3
51
  ## 0.1.0-rc.3
4
52
  ### Patch Changes
5
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivero/stoma-core",
3
- "version": "0.1.0-rc.3",
3
+ "version": "0.1.0-rc.4",
4
4
  "description": "Shared utilities for Stoma packages — debug logging, timing helpers, and common type guards.",
5
5
  "type": "module",
6
6
  "repository": {