Releases: ExodusOSS/bytes
Releases · ExodusOSS/bytes
v1.9.0
- Implement strict multi-byte encoders, except for
iso-2022-jpfor now - Add
/encoding-browser.jsto load only native lightweight TextDecoder/TextEncoder in browser bundles - Add
/index.jsexport with usage warning, mostly for IDEs - Switch
/base58check.jspeer dep (used on non-Node.js platforms) to@noble/hashesdirectly (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
What's Changed
- feat: support
iso-8859-1,iso-8859-9,iso-8859-11encodings insingle-byte.js - feat:
latin1fromString,latin1toString - feat: types for
encoding.jsby @ajaymathur in #12 - feat: types for
encoding-lite.js - perf improvements for encodings
New Contributors
- @ajaymathur made their first contribution in #12
Full Changelog: v1.7.0...v1.8.0
v1.7.0
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/fromBech32mon non-Hermes barebone engines
Node.js, browsers, other non-barebones and Hermes / React Native were not affected - Passing detached
ArrayBufferinstances toTextDecodershould return empty strings, not throw
Full Changelog: v1.6.0...v1.7.0
v1.6.0
TextDecoder performance improvements for non-Unicode encodings.
Full Changelog: v1.5.0...v1.6.0
v1.5.0
- Support cross-context
Uint8Arrayinstances innew TextEncoder().encodeInto(...) - Faster legacy multi-byte decoders
Full Changelog: v1.4.0...v1.5.0
v1.4.0
- Add support for cross-context
ArrayBufferin TextDecoder /wif.jsnow does not need@exodus/cryptopeer dependency when used on Node.js
Full Changelog: v1.3.0...v1.4.0
v1.3.0
-
Add
labelToName(label)in/encoding.jsand/encoding-lite.js -
/base58check.jsnow does not need@exodus/cryptopeer dependency when used on Node.js
Full Changelog: v1.2.0...v1.3.0
v1.2.0
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
Full Changelog: v1.0.0...v1.1.0