Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading