Skip to content

Releases: AokiApp/tlv

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 13 Dec 04:16

Patch Changes

  • Improve TLV safety and align SET OF behavior between builder and parser.
    • Tighten BIT STRING validation: reject encodings where unusedBits is outside 0..7, or where unused bits in the last byte are not zero.
    • Make long-form length parsing use safe arithmetic and throw on overflow instead of wrapping, so absurd lengths are rejected instead of producing empty values.
    • Treat empty SET OF as a valid empty array on the parser side, matching the builder which already encodes empty arrays as empty SETs (3100).

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 10:19

Minor Changes

  • 3e7ad3d: Expand public API: expose parser schema types to consumers.

    Changes:

    • Add public exports for parser schema types to support direct typing in user code.
    • Update tests to use package-level path aliases resolved by Vite plugin and tests/tsconfig.json.
    • Enhance test runner script to compile declarations for tests before running Vitest.
    • Update Vitest config for path alias resolution and coverage improvements; remove 'dist' from coverage exclude.

    No runtime behavior changes; semver-minor due to expanded public API surface.

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 11:20

Patch Changes