|
1 | | -# This is the revision history of @msgpack/msgpack |
| 1 | +# This is the revision history of algorand-msgpack |
2 | 2 |
|
3 | | -## 3.0.0-beta2 |
| 3 | +## 1.0.0 2024-03-12 |
4 | 4 |
|
5 | | -https://github.com/msgpack/msgpack-javascript/compare/v3.0.0-beta1...v3.0.0-beta2 |
| 5 | +https://github.com/msgpack/msgpack-javascript/compare/1fc7622...algorand:msgpack-javascript:algorand-v1.0.0 |
6 | 6 |
|
7 | | -* Upgrade TypeScript compiler to v5.0 |
8 | | - |
9 | | -## 3.0.0-beta1 |
10 | | - |
11 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.8.0...v3.0.0-beta1 |
12 | | - |
13 | | -* Add an option `useBigInt64` to map JavaScript's BigInt to MessagePack's int64 and uint64 ([#223](https://github.com/msgpack/msgpack-javascript/pull/223)) |
14 | | -* Drop IE11 support ([#221](https://github.com/msgpack/msgpack-javascript/pull/221)) |
15 | | - * It also fixes [feature request: option to disable TEXT_ENCODING env check #219](https://github.com/msgpack/msgpack-javascript/issues/219) |
16 | | -* Change the interfaces of `Encoder` and `Decoder`, and describe the interfaces in README.md ([#224](https://github.com/msgpack/msgpack-javascript/pull/224)): |
17 | | - * `new Encoder(options: EncoderOptions)`: it takes the same named-options as `encode()` |
18 | | - * `new Decoder(options: DecoderOptions)`: it takes the same named-options as `decode()` |
19 | | - |
20 | | -## 2.8.0 2022-09-02 |
21 | | - |
22 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.7.2...v2.8.0 |
23 | | - |
24 | | -* Let `Encoder#encode()` return a copy of the internal buffer, instead of the reference of the buffer (fix #212). |
25 | | - * Introducing `Encoder#encodeSharedRef()` to return the shared reference to the internal buffer. |
26 | | - |
27 | | -## 2.7.2 2022/02/08 |
28 | | - |
29 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.7.1...v2.7.2 |
30 | | - |
31 | | -* Fix a build problem in Nuxt3 projects [#200](https://github.com/msgpack/msgpack-javascript/pull/200) reported by (reported as #199 in @masaha03) |
32 | | - |
33 | | -## 2.7.1 2021/09/01 |
34 | | - |
35 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.7.0...v2.7.1 |
36 | | - |
37 | | -* No code changes |
38 | | -* Build with TypeScript 4.4 |
39 | | - |
40 | | -## 2.7.0 2021/05/20 |
41 | | - |
42 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.6.3...v2.7.0 |
43 | | - |
44 | | -* Made sure timestamp decoder to raise DecodeError in errors |
45 | | - * This was found by fuzzing tests using [jsfuzz](https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz) |
46 | | -* Tiny optimizations and refactoring |
47 | | - |
48 | | -## 2.6.3 2021/05/04 |
49 | | - |
50 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.6.2...v2.6.3 |
51 | | - |
52 | | -* Added `mod.ts` for Deno support |
53 | | - |
54 | | -## 2.6.2 2021/05/04 |
55 | | - |
56 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.6.1...v2.6.2 |
57 | | - |
58 | | -* Improve Deno support (see example/deno-*.ts for details) |
59 | | - |
60 | | -## 2.6.1 2021/05/04 |
61 | | - |
62 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.6.0...v2.6.1 |
63 | | - |
64 | | -* Recover Decoder instance states after `DecodeError` (mitigating [#160](https://github.com/msgpack/msgpack-javascript/issues/160)) |
65 | | - |
66 | | -## 2.6.0 2021/04/21 |
67 | | - |
68 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.5.1...v2.6.0 |
69 | | - |
70 | | -* Revert use of `tslib` (added in 2.5.0) to fix [#169](https://github.com/msgpack/msgpack-javascript/issues/169) |
71 | | - |
72 | | -## v2.5.1 2021/03/21 |
73 | | - |
74 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.5.0...v2.5.1 |
75 | | - |
76 | | -* Fixed the ESM package's dependencies |
77 | | -## v2.5.0 2021/03/21 |
78 | | - |
79 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.4.1...v2.5.0 |
80 | | - |
81 | | -* Throws `DecodeError` in decoding errors |
82 | | -* Rejects `__proto__` as a map key, throwing `DecodeError` |
83 | | - * Thank you to Ninevra Leanne Walden for reporting this issue |
84 | | -* Added `tslib` as a dependency |
85 | | - |
86 | | -## v2.4.1 2021/03/01 |
87 | | - |
88 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.4.0...v2.4.1 |
89 | | - |
90 | | -* Fixed a performance regression that `TextEncoder` and `TextDecoder` were never used even if available ([reported as #157 by @ChALkeR](https://github.com/msgpack/msgpack-javascript/issues/157)) |
91 | | - |
92 | | -## v2.4.0 2021/02/15 |
93 | | - |
94 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.3.1...v2.4.0 |
95 | | - |
96 | | -* Renamed `decodeStream()` to `decodeMultiStream()` |
97 | | - * `decodeStream()` is kept as a deprecated function but will be removed in a future |
98 | | -* Added `decodeMulti()`, a synchronous variant for `decodeMultiStream()` (thanks to @Bilge for the request in [#152](https://github.com/msgpack/msgpack-javascript/issues/152)) |
99 | | -* Improved `decodeAsync()` and its family to accept `BufferSource` (thanks to @rajaybasu for the suggestion in [#152-issuecomment-778712021)](https://github.com/msgpack/msgpack-javascript/issues/152#issuecomment-778712021)) |
100 | | - |
101 | | -## v2.3.1 2021/02/13 |
102 | | - |
103 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.3.0...v2.3.1 |
104 | | - |
105 | | -* Fixed a lot of typos |
106 | | -* Update dev environment: |
107 | | - * Migration to GitHub Actions |
108 | | - * Upgrade Webpack from v4 to v5 |
109 | | - * Enable `noImplicitReturns` and `noUncheckedIndexedAccess` in tsconfig |
110 | | - |
111 | | -## v2.3.0 2020/10/17 |
112 | | - |
113 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.2.1...v2.3.0 |
114 | | - |
115 | | -* Change the extension of ESM files from `.js` to `.mjs` [#144](https://github.com/msgpack/msgpack-javascript/pull/144) |
116 | | -* Make the package work with `strictNullChecks: false` [#139](https://github.com/msgpack/msgpack-javascript/pull/139) by @bananaumai |
117 | | - |
118 | | -## v2.2.1 2020/10/11 |
119 | | - |
120 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.2.0...v2.2.1 |
121 | | - |
122 | | -* Fix `package.json` for webpack to use `module` field |
123 | | - |
124 | | -## v2.2.0 2020/10/04 |
125 | | - |
126 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.1.1...v2.2.0 |
127 | | - |
128 | | -* Now `package.json` has a `module` field to support ES modules |
129 | | - |
130 | | -## v2.1.1 2020/10/04 |
131 | | - |
132 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.1.0...v2.1.1 |
133 | | - |
134 | | -* Fixed typos |
135 | | -* Refactored the codebase |
136 | | - |
137 | | -## v2.1.0 2020/09/21 |
138 | | - |
139 | | -https://github.com/msgpack/msgpack-javascript/compare/v2.0.0...v2.1.0 |
140 | | - |
141 | | -* Added `forceIntegerToFloat` option to `EncodeOptions` by @carbotaniuman ([#123](https://github.com/msgpack/msgpack-javascript/pull/123)) |
142 | | - |
143 | | -## v2.0.0 2020/09/06 |
144 | | - |
145 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.12.2...v2.0.0 |
146 | | - |
147 | | -* Officially introduce direct use of `Encoder` and `Decoder` for better performance |
148 | | - * The major version was bumped because it changed the interface to `Encoder` and `Decoder` |
149 | | -* Build with TypeScript 4.0 |
150 | | - |
151 | | -## v1.12.2 2020/05/14 |
152 | | - |
153 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.12.1...v1.12.2 |
154 | | - |
155 | | -* Build with TypeScript 3.9 |
156 | | - |
157 | | -## v1.12.1 2020/04/08 |
158 | | - |
159 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.12.0...v1.12.1 |
160 | | - |
161 | | -* Build with TypeScript 3.8 |
162 | | - |
163 | | -## v1.12.0 2020/03/03 |
164 | | - |
165 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.11.1...v1.12.0 |
166 | | - |
167 | | -* Add `EncodeOptions#ignoreUndefined` [#107](https://github.com/msgpack/msgpack-javascript/pull/107) |
168 | | - * Like `JSON.stringify()`, less payload size, but taking more time to encode |
169 | | - |
170 | | -## v1.11.1 2020/02/26 |
171 | | - |
172 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.11.0...v1.11.1 |
173 | | - |
174 | | -* Fix use of `process.env` for browsers (#104) |
175 | | - |
176 | | -## v1.11.0 2020/01/15 |
177 | | - |
178 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.10.1...v1.11.0 |
179 | | - |
180 | | -* Added support for custom context for keeping track of objects ([#101](https://github.com/msgpack/msgpack-javascript/pull/101) by @grantila) |
181 | | -* Export ``EncodeOptions` and `DecodeOptions` ([#100](https://github.com/msgpack/msgpack-javascript/pull/100)) |
182 | | - |
183 | | -## v1.10.1 2020/01/11 |
184 | | - |
185 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.10.0...v1.10.1 |
186 | | - |
187 | | -* Re-package it with the latest Webpack and Terser |
188 | | - |
189 | | -## v1.10.0 2019/12/27 |
190 | | - |
191 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.9.3...v1.10.0 |
192 | | - |
193 | | -* Remove WebAssembly implementation, which introduced complexity rather than performance ([#95](https://github.com/msgpack/msgpack-javascript/pull/95)) |
194 | | - |
195 | | -## v1.9.3 2019/10/30 |
196 | | - |
197 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.9.2...v1.9.3 |
198 | | - |
199 | | -* Fix a possible crash in decoding long strings (amending #88): [#90](https://github.com/msgpack/msgpack-javascript/pull/90) by @chrisnojima |
200 | | - |
201 | | - |
202 | | -## v1.9.2 2019/10/30 |
203 | | - |
204 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.9.1...v1.9.2 |
205 | | - |
206 | | -* Fix a possible crash in decoding long strings: [#88](https://github.com/msgpack/msgpack-javascript/pull/88) by @chrisnojima |
207 | | - |
208 | | -## v1.9.1 2019/09/20 |
209 | | - |
210 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.9.0...v1.9.1 |
211 | | - |
212 | | -* No code changes from 1.9.0 |
213 | | -* Upgrade dev dependencies |
214 | | - |
215 | | -## v1.9.0 2019/08/31 |
216 | | - |
217 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.8.0...v1.9.0 |
218 | | - |
219 | | -* [Make cachedKeyDecoder configurable by sergeyzenchenko · Pull Request \#85](https://github.com/msgpack/msgpack-javascript/pull/85) |
220 | | -* [Add support for numbers as map keys by sergeyzenchenko · Pull Request \#84](https://github.com/msgpack/msgpack-javascript/pull/84) |
221 | | -* Build with TypeScript 3.6 |
222 | | - |
223 | | -## v1.8.0 2019/08/07 |
224 | | - |
225 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.7.0...v1.8.0 |
226 | | - |
227 | | -* Adjust internal cache size according to benchmark results [bc5e681](https://github.com/msgpack/msgpack-javascript/commit/bc5e681e781881ed27efaf97ba4156b484dc7648) |
228 | | -* Internal refactoring [#82](https://github.com/msgpack/msgpack-javascript7/pull/82) |
229 | | - |
230 | | -## v1.7.0 2019/08/2 |
231 | | - |
232 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.6.0...v1.7.0 |
233 | | - |
234 | | -* Introduce cache for map keys, which improves decoding in 1.5x faster for the benchmark (@sergeyzenchenko) [#54](https://github.com/msgpack/msgpack-javascript/pull/54) |
235 | | - * |
236 | | - |
237 | | -## v1.6.0 2019/07/19 |
238 | | - |
239 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.5.0...v1.6.0 |
240 | | - |
241 | | -* Add `EncodeOptions.forceFloat32` to encode non-integer numbers in float32 (default to float64) [#79](https://github.com/msgpack/msgpack-javascript/pull/79) |
242 | | - |
243 | | -## v1.5.0 2019/07/17 |
244 | | - |
245 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.4.6...v1.5.0 |
246 | | - |
247 | | -* Improve `decode()` to handle `ArrayBuffer` [#78](https://github.com/msgpack/msgpack-javascript/pull/78) |
248 | | - |
249 | | -## v1.4.6 2019/07/09 |
250 | | - |
251 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.4.5...v1.4.6 |
252 | | - |
253 | | -* use `TextEncoder` to encode string in UTF-8 for performance [#68](https://github.com/msgpack/msgpack-javascript/pull/68) |
254 | | - |
255 | | -## v1.4.5 2019/06/24 |
256 | | - |
257 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.4.4...v1.4.5 |
258 | | - |
259 | | -* Fix an encoding result of -128 from int16 to int8 [#73](https://github.com/msgpack/msgpack-javascript/pull/73) |
260 | | - |
261 | | -## v1.4.4 2019/06/22 |
262 | | - |
263 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.4.1...v1.4.4 |
264 | | - |
265 | | -* Fix the UMD build setting to correctly setup `MessagePack` module in the global object |
266 | | - |
267 | | -## v1.4.3, v1.4.2 |
268 | | - |
269 | | -Mispackaged. |
270 | | - |
271 | | -## v1.4.1 2019/06/22 |
272 | | - |
273 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.4.0...v1.4.1 |
274 | | - |
275 | | -* Improved entrypoints for browsers: |
276 | | - * Build as UMD |
277 | | - * Minidifed by default |
278 | | - |
279 | | -## v1.4.0 2019/06/12 |
280 | | - |
281 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.3.2...v1.4.0 |
282 | | - |
283 | | -* Added `sortKeys: boolean` option to `encode()` for canonical encoding [#64](https://github.com/msgpack/msgpack-javascript/pull/64) |
284 | | -* Fixed `RangeError` in encoding BLOB [#66](https://github.com/msgpack/msgpack-javascript/pull/66) |
285 | | - |
286 | | -## v1.3.2 2019/06/04 |
287 | | - |
288 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.3.1...v1.3.2 |
289 | | - |
290 | | -* Fix typings for older TypeScript [#55](https://github.com/msgpack/msgpack-javascript/pull/55) |
291 | | - |
292 | | -## v1.3.1 2019/06/01 |
293 | | - |
294 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.3.0...v1.3.1 |
295 | | - |
296 | | -* Fix missing exports of `decodeStream()` |
297 | | - |
298 | | -## v1.3.0 2019/05/29 |
299 | | - |
300 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.2.3...v1.3.0 |
301 | | - |
302 | | -* Add `decodeArrayStream()` to decode an array and returns `AsyncIterable<unknown>` [#42](https://github.com/msgpack/msgpack-javascript/pull/42) |
303 | | -* Add `decodeStream()` to decode an unlimited data stream [#46](https://github.com/msgpack/msgpack-javascript/pull/46) |
304 | | -* Let `decodeAsync()` and `decodeArrayStream()` to take `ReadalbeStream<Uint8Array | ArrayLike<number>>` (whatwg-streams) [#43](https://github.com/msgpack/msgpack-javascript/pull/46) |
305 | | - |
306 | | -## v1.2.3 2019/05/29 |
307 | | - |
308 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.2.2...v1.2.3 |
309 | | - |
310 | | -* More optimizations for string decoding performance |
311 | | - |
312 | | -## v1.2.2 2019/05/29 |
313 | | - |
314 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.2.1...v1.2.2 |
315 | | - |
316 | | -* Improved array decoding performance ([#32](https://github.com/msgpack/msgpack-javascript/pull/32) by @sergeyzenchenko) |
317 | | -* Improved string decoding performance with TextDecoder ([#34](https://github.com/msgpack/msgpack-javascript/pull/34) by @sergeyzenchenko) |
318 | | - |
319 | | -## v1.2.1 2019/05/26 |
320 | | - |
321 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.2.0...v1.2.1 |
322 | | - |
323 | | -* Reduced object allocations in `encode()` |
324 | | - |
325 | | -## v1.2.0 2019/05/25 |
326 | | - |
327 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.1.0...v1.2.0 |
328 | | - |
329 | | -* Shipped with WebAssembly ([#26](https://github.com/msgpack/msgpack-javascript/pull/26)) |
330 | | -* Fix handling strings to keep lone surrogates |
331 | | -* Fix issues in decoding very large string, which caused RangeError |
332 | | - |
333 | | -## v1.1.0 2019/05/19 |
334 | | - |
335 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.0.0...v1.1.0 |
336 | | - |
337 | | -* Add options to `decode()` and `decodeAsync()`: |
338 | | - `maxStrLength`, `maxBinLength`, `maxArrayLength`, `maxMapLength`, and `maxExtLength` to limit max length of each item |
339 | | - |
340 | | -## v1.0.1 2019/05/12 |
341 | | - |
342 | | -https://github.com/msgpack/msgpack-javascript/compare/v1.0.0...v1.0.1 |
343 | | - |
344 | | -* Fix IE11 incompatibility |
345 | | - |
346 | | -## v1.0.0 2019/05/11 |
347 | | - |
348 | | -* Initial stable release |
| 7 | +- Initial release of library. This fork is based on @msgpack/msgpack commit 1fc7622. |
0 commit comments