https://github.com/msgpack/msgpack-javascript/compare/v3.0.0-beta1...v3.0.0-beta2
- Upgrade TypeScript compiler to v5.0
https://github.com/msgpack/msgpack-javascript/compare/v2.8.0...v3.0.0-beta1
- Add an option
useBigInt64
to map JavaScript's BigInt to MessagePack's int64 and uint64 (#223) - Drop IE11 support (#221)
- Change the interfaces of
Encoder
andDecoder
, and describe the interfaces in README.md (#224):new Encoder(options: EncoderOptions)
: it takes the same named-options asencode()
new Decoder(options: DecoderOptions)
: it takes the same named-options asdecode()
https://github.com/msgpack/msgpack-javascript/compare/v2.7.2...v2.8.0
- Let
Encoder#encode()
return a copy of the internal buffer, instead of the reference of the buffer (fix #212).- Introducing
Encoder#encodeSharedRef()
to return the shared reference to the internal buffer.
- Introducing
https://github.com/msgpack/msgpack-javascript/compare/v2.7.1...v2.7.2
- Fix a build problem in Nuxt3 projects #200 reported by (reported as #199 in @masaha03)
https://github.com/msgpack/msgpack-javascript/compare/v2.7.0...v2.7.1
- No code changes
- Build with TypeScript 4.4
https://github.com/msgpack/msgpack-javascript/compare/v2.6.3...v2.7.0
- Made sure timestamp decoder to raise DecodeError in errors
- This was found by fuzzing tests using jsfuzz
- Tiny optimizations and refactoring
https://github.com/msgpack/msgpack-javascript/compare/v2.6.2...v2.6.3
- Added
mod.ts
for Deno support
https://github.com/msgpack/msgpack-javascript/compare/v2.6.1...v2.6.2
- Improve Deno support (see example/deno-*.ts for details)
https://github.com/msgpack/msgpack-javascript/compare/v2.6.0...v2.6.1
- Recover Decoder instance states after
DecodeError
(mitigating #160)
https://github.com/msgpack/msgpack-javascript/compare/v2.5.1...v2.6.0
- Revert use of
tslib
(added in 2.5.0) to fix #169
https://github.com/msgpack/msgpack-javascript/compare/v2.5.0...v2.5.1
- Fixed the ESM package's dependencies
https://github.com/msgpack/msgpack-javascript/compare/v2.4.1...v2.5.0
- Throws
DecodeError
in decoding errors - Rejects
__proto__
as a map key, throwingDecodeError
- Thank you to Ninevra Leanne Walden for reporting this issue
- Added
tslib
as a dependency
https://github.com/msgpack/msgpack-javascript/compare/v2.4.0...v2.4.1
- Fixed a performance regression that
TextEncoder
andTextDecoder
were never used even if available (reported as #157 by @ChALkeR)
https://github.com/msgpack/msgpack-javascript/compare/v2.3.1...v2.4.0
- Renamed
decodeStream()
todecodeMultiStream()
decodeStream()
is kept as a deprecated function but will be removed in a future
- Added
decodeMulti()
, a synchronous variant fordecodeMultiStream()
(thanks to @Bilge for the request in #152) - Improved
decodeAsync()
and its family to acceptBufferSource
(thanks to @rajaybasu for the suggestion in #152-issuecomment-778712021))
https://github.com/msgpack/msgpack-javascript/compare/v2.3.0...v2.3.1
- Fixed a lot of typos
- Update dev environment:
- Migration to GitHub Actions
- Upgrade Webpack from v4 to v5
- Enable
noImplicitReturns
andnoUncheckedIndexedAccess
in tsconfig
https://github.com/msgpack/msgpack-javascript/compare/v2.2.1...v2.3.0
- Change the extension of ESM files from
.js
to.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.json
for webpack to usemodule
field
https://github.com/msgpack/msgpack-javascript/compare/v2.1.1...v2.2.0
- Now
package.json
has amodule
field 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
forceIntegerToFloat
option toEncodeOptions
by @carbotaniuman (#123)
https://github.com/msgpack/msgpack-javascript/compare/v1.12.2...v2.0.0
- Officially introduce direct use of
Encoder
andDecoder
for better performance- The major version was bumped because it changed the interface to
Encoder
andDecoder
- 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.env
for 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
and
DecodeOptions` (#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.forceFloat32
to 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
TextEncoder
to 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
MessagePack
module 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: boolean
option toencode()
for canonical encoding #64 - Fixed
RangeError
in 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
, andmaxExtLength
to 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