From 2bb7665beaa27b7f509933c4cce3bc31b9ac2982 Mon Sep 17 00:00:00 2001 From: Thanga Ganapathy Date: Sat, 18 Jul 2026 01:12:30 +0530 Subject: [PATCH] chore(release): @opentf/obj-diff@0.17.0 --- packages/obj-diff/CHANGELOG.md | 2 ++ packages/obj-diff/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/obj-diff/CHANGELOG.md b/packages/obj-diff/CHANGELOG.md index 63b11d0..da20ccf 100644 --- a/packages/obj-diff/CHANGELOG.md +++ b/packages/obj-diff/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.17.0] - 2026-07-17 + ### Added - `stringify(value)` / `parse(wire)` — a general-purpose, type-safe JSON codec for **any** JavaScript value (the counterpart to `serialize`/`deserialize`, which are diff-specific). Built on the same wire codec, so it preserves every supported native type (`Date`, `RegExp`, `Map`, `Set`, all `TypedArray`s, `ArrayBuffer`, `DataView`, `Error`, `URL`, boxed primitives, `BigInt`, `NaN`/`±Infinity`/`-0`, `undefined`, `Temporal`) plus circular references and shared identity among plain objects and arrays, nested to any depth. Symbols, functions, and class instances throw. - `serialize`/`deserialize` now support **circular references** and **shared identity** for plain objects and arrays. Any plain container reachable by more than one edge within an op is hoisted into the `$refs` table as an `obj`/`arr` entry and referenced by token, so cycles (`obj.self = obj`, mutually linked nodes, self-referential arrays) and objects shared in two places rebuild with the same identity on the far side. Single-use containers still serialize inline as readable JSON, so output for the common case is unchanged. Cycles that run through a `Map`/`Set`/`Error` still throw. diff --git a/packages/obj-diff/package.json b/packages/obj-diff/package.json index afeec5b..c305567 100644 --- a/packages/obj-diff/package.json +++ b/packages/obj-diff/package.json @@ -11,7 +11,7 @@ "json", "track" ], - "version": "0.16.0", + "version": "0.17.0", "author": { "name": "Thanga Ganapathy", "email": "ganapathy888@gmail.com",