@actuarial-ts/interchange 0.7.0 → 0.7.1

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/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  Typed TypeScript implementation of actuarial-interchange: portable, integrity-stamped documents shared by actuarial-ts, chainladder-python, and R ChainLadder.
4
4
 
5
5
  ```bash
6
- npm install @actuarial-ts/interchange@0.7.0 @actuarial-ts/core@0.7.0
6
+ npm install @actuarial-ts/interchange@0.7.1 @actuarial-ts/core@0.7.1
7
7
  ```
8
8
 
9
- Node 20+, ESM. Version 0.6 writes wire `1.1.0` and reads compatible major-version-1 documents.
9
+ Node 20+, ESM. SDK 0.7 continues to write interchange wire `1.1.0` and read compatible major-version-1 documents. SDK package versions and interchange wire versions are independent.
10
10
 
11
11
  ## Document kinds
12
12
 
@@ -34,11 +34,20 @@ Bundles may carry typed diagnostic definition documents under `interchange.diagn
34
34
 
35
35
  The three shores share RFC 8785 vectors, frozen reserving fixtures, and generalized casualty definitions with six formulas and 22 bound instances. Python and R independently recompute definition identities and replay every formula and all five review-rule kinds across the calendar and ordered-axis aggregate-cell corpus, including missingness, tolerance boundaries, and overflow. The replay contract does not claim to reproduce arbitrary raw-data ingestion or selection in those languages.
36
36
 
37
+ The compact `diagnostic-replay/1` stream introduced in SDK 0.7.0 belongs to
38
+ `@actuarial-ts/compliance`. It is not an interchange document kind, cannot be
39
+ passed to `parseDocument`, and is not the three-shore aggregate-cell replay
40
+ contract described above. Use compliance's dedicated stream reader with its
41
+ required resource policy. A stream's engine-version identities also require
42
+ retaining the producing SDK versions; same interchange or stream wire versions
43
+ do not promise cross-SDK-version verification. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/migrations/0.7-compact-diagnostics.md)
44
+ and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/reference/diagnostic-replay-stream.md).
45
+
37
46
  `crosscheck` compares two method-result documents under explicit convention profiles. Outcomes are `agree`, `disagree`, `not-comparable`, or `verified-by-value`; the referee never hides convention differences or treats mutual agreement as proof of correctness.
38
47
 
39
48
  Integrity tags detect accidental drift and support deterministic linking. FNV-1a is unkeyed and is not tamper resistance, authentication, or a security boundary.
40
49
 
41
- The normative format is [actuarial-interchange rev 2.4](https://github.com/yerromnitsuj/actng/blob/v0.7.0/docs/spec/actuarial-interchange.md). See the generated [diagnostic formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.7.0/docs/reference/diagnostic-formulas.md) and [0.6 migration guide](https://github.com/yerromnitsuj/actng/blob/v0.7.0/docs/migrations/0.6-generalized-diagnostics.md).
50
+ The normative format is [actuarial-interchange rev 2.4](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/spec/actuarial-interchange.md). See the generated [diagnostic formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/reference/diagnostic-formulas.md) and [0.6 migration guide](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/migrations/0.6-generalized-diagnostics.md).
42
51
 
43
52
  ## License
44
53
 
@@ -32,7 +32,7 @@ export declare const INTERCHANGE_SPEC_MAJOR = 1;
32
32
  * This package's version, stamped into `generator` by default. A sync test
33
33
  * asserts it matches package.json so it cannot silently drift.
34
34
  */
35
- export declare const INTERCHANGE_PACKAGE_VERSION = "0.7.0";
35
+ export declare const INTERCHANGE_PACKAGE_VERSION = "0.7.1";
36
36
  export interface GeneratorStamp {
37
37
  name: string;
38
38
  version: string;
package/dist/envelope.js CHANGED
@@ -34,7 +34,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
34
34
  * This package's version, stamped into `generator` by default. A sync test
35
35
  * asserts it matches package.json so it cannot silently drift.
36
36
  */
37
- export const INTERCHANGE_PACKAGE_VERSION = "0.7.0";
37
+ export const INTERCHANGE_PACKAGE_VERSION = "0.7.1";
38
38
  /** Default `generator` stamp for documents authored by this package. */
39
39
  export const DEFAULT_GENERATOR = Object.freeze({
40
40
  name: "@actuarial-ts/interchange",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actuarial-ts/interchange",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Language-neutral actuarial-interchange documents for triangles, selections, results, studies, bundles, crosschecks, and portable diagnostic definitions across TypeScript, Python, and R.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -54,7 +54,7 @@
54
54
  "emit-schema": "npm run build && node --experimental-strip-types scripts/emit-schema.ts"
55
55
  },
56
56
  "dependencies": {
57
- "@actuarial-ts/core": "^0.7.0",
57
+ "@actuarial-ts/core": "^0.7.1",
58
58
  "zod": "^3.25.76"
59
59
  },
60
60
  "devDependencies": {
package/src/envelope.ts CHANGED
@@ -43,7 +43,7 @@ export const INTERCHANGE_SPEC_MAJOR = 1;
43
43
  * This package's version, stamped into `generator` by default. A sync test
44
44
  * asserts it matches package.json so it cannot silently drift.
45
45
  */
46
- export const INTERCHANGE_PACKAGE_VERSION = "0.7.0";
46
+ export const INTERCHANGE_PACKAGE_VERSION = "0.7.1";
47
47
 
48
48
  export interface GeneratorStamp {
49
49
  name: string;