|
1 | 1 | ## 0.6.0 / not released yet
|
2 |
| - * Removed `extendNodeEncodings()` mechanism. It didn't work in Node v4+ and was deprecated 5 years ago in v0.4.12. |
3 |
| - * Reworked Streaming API behavior in browser environments to fix #204. Streaming API will be excluded by default in |
4 |
| - browser packs to save ~100Kb bundle size, unless enabled explicitly using `iconv.enableStreamingAPI(require('stream'));`. |
5 |
| - * Added a test for this behavior as a separate package in ./test/webpack folder and added a job for it to Travis CI. |
6 |
| - * Minor updates to README. |
7 |
| - * Switch from instanbul to c8 for code coverage. |
8 |
| - * Added getEncoder/getDecoder to typescript definitions (#229). |
| 2 | + * Updated 'gb18030' encoding to :2005 edition (see https://github.com/whatwg/encoding/issues/22). |
| 3 | + * Added `iconv.getEncoder()` and `iconv.getDecoder()` methods to typescript definitions (#229). |
| 4 | + * Added `iconv.preloadCodecsAndData()` method to help rare cases where the filesystem is unmounted/ |
| 5 | + chrooted after initial import, making lazy loading impossible (see #118). This function will |
| 6 | + eagerly load and cache all required modules and data files. It also works for older versions of |
| 7 | + iconv-lite deeper in the package tree (provide target module as argument). |
| 8 | + * Removed `iconv.extendNodeEncodings()` mechanism. It was deprecated 5 years ago and didn't work |
| 9 | + in recent Node versions. |
| 10 | + * Reworked Streaming API behavior in browser environments to fix #204. Streaming API will be |
| 11 | + excluded by default in browser packs, saving ~100Kb bundle size, unless enabled explicitly using |
| 12 | + `iconv.enableStreamingAPI(require('stream'))`. |
| 13 | + * Switched Streaming API to lazy loading to save import time and memory for projects that don't need it. |
| 14 | + * Updates to development environment & tests: |
| 15 | + * Added ./test/webpack and ./test/preload internal packages to test complex new use cases that need |
| 16 | + custom environment. They are tested as separate jobs in Travis CI. |
| 17 | + * Added 'benchmarks' folder with simple benchmarks for performance and load time. |
| 18 | + * Updated generation code for the new EUC-KR index file format from Encoding Standard. |
| 19 | + * Fixed semver version to 6.1.2 to support Node 8.x (by @tanandara). |
| 20 | + * Capped iconv version to 2.x as 3.x has dropped support for older Node versions. |
| 21 | + * Removed Buffer() constructor in tests (#197 by @gabrielschulhof). |
| 22 | + * Switched from instanbul to c8 for code coverage. |
| 23 | + |
9 | 24 |
|
10 | 25 | ## 0.5.1 / 2020-01-18
|
11 | 26 |
|
|
0 commit comments