Skip to content

Releases: ExodusOSS/bytes

v1.9.0

18 Jan 13:42
c5ff201

Choose a tag to compare

  • Implement strict multi-byte encoders, except for iso-2022-jp for now
  • Add /encoding-browser.js to load only native lightweight TextDecoder/TextEncoder in browser bundles
  • Add /index.js export with usage warning, mostly for IDEs
  • Switch /base58check.js peer dep (used on non-Node.js platforms) to @noble/hashes directly (previously @exodus/crypto)
  • Fix legacyHookDecode() behavior on non-even UTF-16 length
  • Fix utf16toString(uint16arr) on Big-Endian Node.js
  • Performance improvements in encoders and decoders

Full Changelog: v1.8.0...v1.9.0

v1.8.0

02 Jan 00:34
f22e886

Choose a tag to compare

What's Changed

  • feat: support iso-8859-1, iso-8859-9, iso-8859-11 encodings in single-byte.js
  • feat: latin1fromString, latin1toString
  • feat: types for encoding.js by @ajaymathur in #12
  • feat: types for encoding-lite.js
  • perf improvements for encodings

New Contributors


Full Changelog: v1.7.0...v1.8.0

v1.7.0

28 Dec 20:21
bfc362e

Choose a tag to compare

What's Changed

Features:

  • Implement TextDecoderStream / TextEncoderStream
    Requires Streams to be either supported by the platform or polyfilled
  • Implement createSinglebyteEncoder (only fatal mode for now)

Fixes:

  • Fix a missing check for non-Latin1 chars in fromBech32 / fromBech32m on non-Hermes barebone engines
    Node.js, browsers, other non-barebones and Hermes / React Native were not affected
  • Passing detached ArrayBuffer instances to TextDecoder should return empty strings, not throw

Full Changelog: v1.6.0...v1.7.0

v1.6.0

25 Dec 22:56
a0fe9fb

Choose a tag to compare

TextDecoder performance improvements for non-Unicode encodings.

Full Changelog: v1.5.0...v1.6.0

v1.5.0

24 Dec 19:45
97459ad

Choose a tag to compare

  1. Support cross-context Uint8Array instances in new TextEncoder().encodeInto(...)
  2. Faster legacy multi-byte decoders

Full Changelog: v1.4.0...v1.5.0

v1.4.0

24 Dec 08:57
0e5b9a2

Choose a tag to compare

  1. Add support for cross-context ArrayBuffer in TextDecoder
  2. /wif.js now does not need @exodus/crypto peer dependency when used on Node.js

Full Changelog: v1.3.0...v1.4.0

v1.3.0

23 Dec 11:35
b23bea6

Choose a tag to compare

  1. Add labelToName(label) in /encoding.js and /encoding-lite.js

  2. /base58check.js now does not need @exodus/crypto peer dependency when used on Node.js

Full Changelog: v1.2.0...v1.3.0

v1.2.0

22 Dec 14:09
62d6c16

Choose a tag to compare

Add support for Node.js builds without ICU in /utf-8.js and TextDecoder implementation.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

22 Dec 12:40
78e9cd8

Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

v1.0.0

21 Dec 07:06
ff4bff7

Choose a tag to compare

v1.0.0