From b106faaf15bb1bc66b20bdb81aa687415f54a7d4 Mon Sep 17 00:00:00 2001 From: Alexander Shtuchkin Date: Sun, 7 Jun 2020 05:06:15 -0400 Subject: [PATCH] Release 0.6.0: Support Electron environment (#204); Remove extendNodeEncodings; Update gb18030 to :2005 edition. --- Changelog.md | 14 ++++++++++++++ package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 1aa72c2..4280012 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,17 @@ +## 0.6.0 / 2020-06-08 + * Updated 'gb18030' encoding to :2005 edition (see https://github.com/whatwg/encoding/issues/22). + * Removed `iconv.extendNodeEncodings()` mechanism. It was deprecated 5 years ago and didn't work + in recent Node versions. + * Reworked Streaming API behavior in browser environments to fix #204. Streaming API will be + excluded by default in browser packs, saving ~100Kb bundle size, unless enabled explicitly using + `iconv.enableStreamingAPI(require('stream'))`. + * Updates to development environment & tests: + * Added ./test/webpack private package to test complex new use cases that need custom environment. + It's tested as a separate job in Travis CI. + * Updated generation code for the new EUC-KR index file format from Encoding Standard. + * Removed Buffer() constructor in tests (#197 by @gabrielschulhof). + + ## 0.5.2 / 2020-06-08 * Added `iconv.getEncoder()` and `iconv.getDecoder()` methods to typescript definitions (#229). * Fixed semver version to 6.1.2 to support Node 8.x (by @tanandara). diff --git a/package.json b/package.json index c56f901..df422fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "iconv-lite", "description": "Convert character encodings in pure javascript.", - "version": "0.6.0-pre", + "version": "0.6.0", "license": "MIT", "keywords": [ "iconv",