@shivaedev/errors 0.1.2 → 0.1.3

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 +33 -0
  2. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ ## 0.1.3 - 2026-10-31
4
+
5
+ ### Fixed
6
+
7
+ - Include `CHANGELOG.md` in published package contents so release notes are available in `node_modules`.
8
+ - Release checks reject published package `files` lists that omit `CHANGELOG.md`, naming the package and how to include it.
9
+
10
+ ## 0.1.2 - 2026-10-30
11
+
12
+ ### Fixed
13
+
14
+ - Report failures and defects masked by `rpcBoundary` through Effect's error reporters at Error severity with diagnostic redaction before returning the rejection.
15
+ - Log boundary-masked RPC failures once at ERROR with their redacted stack; keep declared rejections at INFO.
16
+
17
+ ## 0.1.1 - 2026-10-30
18
+
19
+ ### Changed
20
+
21
+ - Require Effect 4.0.6 and align the Effect companion package peers and generated starter catalog to the same exact release. Install the 4.0.6 Effect stack together.
22
+
23
+ ### Fixed
24
+
25
+ - Register hosted RPC cache-control handling through Effect 4.0.6's request-scoped pre-response API so responses keep `private, no-store`.
26
+ - Accept native RPC's `application/x-ndjson` media type while preserving `application/ndjson` callers at the transport guard.
27
+ - Keep subscriptions open after their HTTP request body completes; closing the socket still cancels them.
28
+
29
+ ## 0.1.0 - 2026-10-27
30
+
31
+ ### Added
32
+
33
+ - First release of `@shivaedev/errors`: the shared expected failures (`taxonomy.ts`), `rejectedField` and the secret-masking policy (`sensitive.ts`, `redact.ts`, `redactCause.ts`) that every Effect boundary uses, and `rpcBoundary` (`boundary.ts`), which keeps declared failures and maps every other failure to one declared fallback. Every module is browser-safe and depends only on `effect`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/errors",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Typed expected failures and secret-safe failure reporting for Effect applications",
5
5
  "keywords": [
6
6
  "effect"
@@ -41,11 +41,12 @@
41
41
  "!src/**/*.spec.ts",
42
42
  "!src/**/*.spec.tsx",
43
43
  "!src/**/test-support",
44
+ "CHANGELOG.md",
44
45
  "README.md"
45
46
  ],
46
47
  "devDependencies": {
47
- "@shivaedev/quality": "0.46.0",
48
- "@shivaedev/test": "0.11.0",
48
+ "@shivaedev/quality": "0.48.1",
49
+ "@shivaedev/test": "0.12.0",
49
50
  "@types/node": "24.19.2",
50
51
  "effect": "4.0.6",
51
52
  "typescript": "7.0.2",