This is the revision history of @msgpack/msgpack
https://github.com/msgpack/msgpack-javascript/compare/v2.2.1...v2.3.0
- Change the extension of ESM files from
.jsto.mjs#144 - Make the package work with
strictNullChecks: false#139 by @bananaumai
https://github.com/msgpack/msgpack-javascript/compare/v2.2.0...v2.2.1
- Fix
package.jsonfor webpack to usemodulefield
https://github.com/msgpack/msgpack-javascript/compare/v2.1.1...v2.2.0
- Now
package.jsonhas amodulefield to support ES modules
https://github.com/msgpack/msgpack-javascript/compare/v2.1.0...v2.1.1
- Fixed typos
- Refactored the codebase
https://github.com/msgpack/msgpack-javascript/compare/v2.0.0...v2.1.0
- Added
forceIntegerToFloatoption toEncodeOptionsby @carbotaniuman (#123)
https://github.com/msgpack/msgpack-javascript/compare/v1.12.2...v2.0.0
- Officially introduce direct use of
EncoderandDecoderfor better performance- The major version was bumped because it changed the interface to
EncoderandDecoder
- The major version was bumped because it changed the interface to
- Build with TypeScript 4.0
https://github.com/msgpack/msgpack-javascript/compare/v1.12.1...v1.12.2
- Build with TypeScript 3.9
https://github.com/msgpack/msgpack-javascript/compare/v1.12.0...v1.12.1
- Build with TypeScript 3.8
https://github.com/msgpack/msgpack-javascript/compare/v1.11.1...v1.12.0
- Add
EncodeOptions#ignoreUndefined#107- Like
JSON.stringify(), less payload size, but taking more time to encode
- Like
https://github.com/msgpack/msgpack-javascript/compare/v1.11.0...v1.11.1
- Fix use of
process.envfor browsers (#104)
https://github.com/msgpack/msgpack-javascript/compare/v1.10.1...v1.11.0
- Added support for custom context for keeping track of objects (#101 by @grantila)
- Export ``EncodeOptions
andDecodeOptions` (#100)
https://github.com/msgpack/msgpack-javascript/compare/v1.10.0...v1.10.1
- Re-package it with the latest Webpack and Terser
https://github.com/msgpack/msgpack-javascript/compare/v1.9.3...v1.10.0
- Remove WebAssembly implementation, which introduced complexity rather than performance (#95)
https://github.com/msgpack/msgpack-javascript/compare/v1.9.2...v1.9.3
- Fix a possible crash in decoding long strings (amending #88): #90 by @chrisnojima
https://github.com/msgpack/msgpack-javascript/compare/v1.9.1...v1.9.2
- Fix a possible crash in decoding long strings: #88 by @chrisnojima
https://github.com/msgpack/msgpack-javascript/compare/v1.9.0...v1.9.1
- No code changes from 1.9.0
- Upgrade dev dependencies
https://github.com/msgpack/msgpack-javascript/compare/v1.8.0...v1.9.0
- Make cachedKeyDecoder configurable by sergeyzenchenko · Pull Request #85
- Add support for numbers as map keys by sergeyzenchenko · Pull Request #84
- Build with TypeScript 3.6
https://github.com/msgpack/msgpack-javascript/compare/v1.7.0...v1.8.0
https://github.com/msgpack/msgpack-javascript/compare/v1.6.0...v1.7.0
- Introduce cache for map keys, which improves decoding in 1.5x faster for the benchmark (@sergeyzenchenko) #54 *
https://github.com/msgpack/msgpack-javascript/compare/v1.5.0...v1.6.0
- Add
EncodeOptions.forceFloat32to encode non-integer numbers in float32 (default to float64) #79
https://github.com/msgpack/msgpack-javascript/compare/v1.4.6...v1.5.0
- Improve
decode()to handleArrayBuffer#78
https://github.com/msgpack/msgpack-javascript/compare/v1.4.5...v1.4.6
- use
TextEncoderto encode string in UTF-8 for performance #68
https://github.com/msgpack/msgpack-javascript/compare/v1.4.4...v1.4.5
- Fix an encoding result of -128 from int16 to int8 #73
https://github.com/msgpack/msgpack-javascript/compare/v1.4.1...v1.4.4
- Fix the UMD build setting to correctly setup
MessagePackmodule in the global object
Mispackaged.
https://github.com/msgpack/msgpack-javascript/compare/v1.4.0...v1.4.1
- Improved entrypoints for browsers:
- Build as UMD
- Minidifed by default
https://github.com/msgpack/msgpack-javascript/compare/v1.3.2...v1.4.0
- Added
sortKeys: booleanoption toencode()for canonical encoding #64 - Fixed
RangeErrorin encoding BLOB #66
https://github.com/msgpack/msgpack-javascript/compare/v1.3.1...v1.3.2
- Fix typings for older TypeScript #55
https://github.com/msgpack/msgpack-javascript/compare/v1.3.0...v1.3.1
- Fix missing exports of
decodeStream()
https://github.com/msgpack/msgpack-javascript/compare/v1.2.3...v1.3.0
- Add
decodeArrayStream()to decode an array and returnsAsyncIterable<unknown>#42 - Add
decodeStream()to decode an unlimited data stream #46 - Let
decodeAsync()anddecodeArrayStream()to takeReadalbeStream<Uint8Array | ArrayLike<number>>(whatwg-streams) #43
https://github.com/msgpack/msgpack-javascript/compare/v1.2.2...v1.2.3
- More optimizations for string decoding performance
https://github.com/msgpack/msgpack-javascript/compare/v1.2.1...v1.2.2
- Improved array decoding performance (#32 by @sergeyzenchenko)
- Improved string decoding performance with TextDecoder (#34 by @sergeyzenchenko)
https://github.com/msgpack/msgpack-javascript/compare/v1.2.0...v1.2.1
- Reduced object allocations in
encode()
https://github.com/msgpack/msgpack-javascript/compare/v1.1.0...v1.2.0
- Shipped with WebAssembly (#26)
- Fix handling strings to keep lone surrogates
- Fix issues in decoding very large string, which caused RangeError
https://github.com/msgpack/msgpack-javascript/compare/v1.0.0...v1.1.0
- Add options to
decode()anddecodeAsync():maxStrLength,maxBinLength,maxArrayLength,maxMapLength, andmaxExtLengthto limit max length of each item
https://github.com/msgpack/msgpack-javascript/compare/v1.0.0...v1.0.1
- Fix IE11 incompatibility
- Initial stable release