diff --git a/CHANGELOG.md b/CHANGELOG.md index 47d0cc6..1fd17fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ Releases before this file was added are documented in the ## [Unreleased] +Nothing yet. + +## [2.0.0] - 2026-09-29 + Typed encoding and decoding. `decode()` used to return `unknown` and `encode()` used to accept `unknown`, so callers wrote their own interfaces and cast. The types are now derived from the schema, three ways: from an inline `SchemaNode` @@ -104,3 +108,6 @@ and the emitted JavaScript is unchanged. documented a `{ name: value }` shape the codecs stopped producing, with a hex string that threw when decoded. They now show `{ key, value }` with working hex. + +[Unreleased]: https://github.com/sysdevrun/asn1-per-ts/compare/v2.0.0...HEAD +[2.0.0]: https://github.com/sysdevrun/asn1-per-ts/compare/v1.4.0...v2.0.0 diff --git a/package-lock.json b/package-lock.json index 85c829c..bccafbf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "asn1-per-ts", - "version": "1.4.0", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "asn1-per-ts", - "version": "1.4.0", + "version": "2.0.0", "license": "MIT", "dependencies": { "peggy": "^5.0.6" diff --git a/package.json b/package.json index 09861de..278d4b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "asn1-per-ts", - "version": "1.4.0", + "version": "2.0.0", "description": "PER (Packed Encoding Rules) unaligned encoder/decoder for ASN.1 types in TypeScript", "type": "module", "exports": {