Skip to content

Releases

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:44
c2f96d6

3.1.0 (2026-11-19)

Features

  • cms: add AES algorithm identifiers (c5583d9)

Bug Fixes

  • schema: preserve precision when serializing integers (#190) (622ebcd)
  • x509-attr: omit IssuerSerial.issuerUID when not set (#196) (f6e5e6d), closes #194. IssuerSerial.issuerUID is now typed as UniqueIdentifier | undefined and reads as undefined when absent. With strictNullChecks, check for undefined before accessing the value.
  • x509-attr: use explicit tags for GeneralName in RoleSyntax and Target (#195) (4f7148e), closes #193

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 11:14
879a6ee

3.0.0 (2026-10-26)

⚠ BREAKING CHANGES

  • All @peculiar/asn1-* packages are ESM-only and require Node.js ^20.19.0 || >=22.12.0 (was >=14). CommonJS code can still require() them on those versions; Node.js 22.0-22.11 cannot. build/cjs, build/es2015 and build/types are replaced by build/.js and build/.d.ts, and deep imports are blocked by exports. TypeScript projects compiling to CommonJS need "module": "node20" or "nodenext" (node16 fails with TS1479). @peculiar/asn1-schema ^3 and asn1js ^4 are now peer dependencies, and asn1js 3 objects fail the instanceof checks. tslib is no longer a dependency, and @peculiar/utils moves to ^4.1.0. The public API is unchanged. Migration notes: the "Breaking Changes In v3" section of https://github.com/PeculiarVentures/asn1-schema#breaking-changes-in-v3

Build System

  • ship ESM-only output for Node.js ^20.19.0 || >=22.12.0 (f1d2f99)

v2.11.1

Choose a tag to compare

@github-actions github-actions released this 25 Oct 12:07

v2.11.1

npm publish status

All intended npm packages were published successfully.

What's Changed

Full Changelog: v2.11.0...v2.11.1

v2.11.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 18:25

v2.11.0

npm publish status

All intended npm packages were published successfully.

What's Changed

  • fix(schema): don't apply fromBER limits when serializing ANY values by @hacdias in #156
  • fix(mtc): backport uint24 proof framing and assigned OIDs to v2 by @microshine in #175
  • chore(deps): update development toolchain by @microshine in #176

Full Changelog: v2.10.0...v2.11.0

v2.10.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 11:58

v2.10.0

npm publish status

All intended npm packages were published successfully.

What's Changed

  • fix: remove exports field for 2.x compatibility with 2.6 by @microshine in #161

Full Changelog: v2.9.5...v2.10.0

v2.9.5

Choose a tag to compare

@github-actions github-actions released this 20 Sep 18:16

v2.9.5

npm publish status

All intended npm packages were published successfully.

What's Changed

  • chore(deps-dev): bump postcss-selector-parser from 7.1.1 to 7.1.5 by @dependabot[bot] in #155
  • chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 by @dependabot[bot] in #157
  • fix(ocsp): tag singleRequestExtensions with [0] EXPLICIT by @microshine in #158

Full Changelog: v2.9.4...v2.9.5

v2.9.4

Choose a tag to compare

@github-actions github-actions released this 20 Aug 11:20

v2.9.4

npm publish status

All intended npm packages were published successfully.

What's Changed

  • fix(schema): use root @peculiar/utils imports by @microshine in #153
  • chore(packages): add node engine requirement to all packages by @microshine in #154

Full Changelog: v2.9.3...v2.9.4

v2.9.3

Choose a tag to compare

@github-actions github-actions released this 18 Aug 12:14

v2.9.3

npm publish status

All intended npm packages were published successfully.

Full Changelog: v2.9.2...v2.9.3

v2.9.2

Choose a tag to compare

@github-actions github-actions released this 18 Aug 11:43

v2.9.2

npm publish status

This release was partially published to npm.

  • Successfully published: 30
  • First manual publish required: 0
  • Failed automatic publish: 2

Packages that failed automatic publishing

  • @peculiar/asn1-mtc@2.9.2
    • Tarball: .release/tarballs/peculiar-asn1-mtc-2.9.2.tgz
    • Reason: npm publish failed.
  • @peculiar/asn1-tls@2.9.2
    • Tarball: .release/tarballs/peculiar-asn1-tls-2.9.2.tgz
    • Reason: npm publish failed.

Manual recovery

Download the release-artifacts artifact from this GitHub Actions run, extract it locally, and publish the relevant tarball manually:

npm publish .release/tarballs/<package-file>.tgz --access public

For first-time package publication, Trusted Publisher / provenance setup may need to be configured before automated publishing can work.

What's Changed

  • ci(release): add option to force-publish all packages by @microshine in #152

Full Changelog: v2.9.1...v2.9.2

v2.9.1

Choose a tag to compare

@github-actions github-actions released this 18 Aug 09:09

v2.9.1

npm publish status

All intended npm packages were published successfully.

What's Changed

New Contributors

Full Changelog: v2.9.0...v2.9.1