Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## 1.0.0-alpha.1

### ⚠️ Breaking changes

- Remove support for Node <18 and safe-buffer dependency - by [@bjohansebas](https://github.com/bjohansebas), [@Phillip9587](https://github.com/Phillip9587) and [@TheThing](https://github.com/TheThing) in [#265](https://github.com/pillarjs/iconv-lite/pull/265) [#349](https://github.com/pillarjs/iconv-lite/pull/349)

Node.js versions prior to 18 are no longer supported. This allows us to remove the safe-buffer dependency and use native Buffer methods available in Node 18 and later.

- Use native TextDecoder for decoding - by [@JohnGu9](https://github.com/JohnGu9) and [@bjohansebas](https://github.com/bjohansebas) in [#316](https://github.com/pillarjs/iconv-lite/pull/316)

While this improves compatibility with web standards, some edge cases may behave differently because the implementation of TextDecoder in Node.js or other JavaScript runtimes has issues with the specification.

### 🚀 Improvements

- Introduce backend abstraction layer to support to Uint8Array buffer implementation - by [@ashtuchkin](https://github.com/ashtuchkin)

This paves the way for supporting environments without Node.js Buffer, such as browsers using Uint8Array.
This is a work in progress, so many parts still rely on Buffer internally, but the goal is to eventually have full support for a Uint8Array based implementation.

- Update of the GBK encoding table according to changes in the specification - by [@bjohansebas](https://github.com/bjohansebas) in [#371](https://github.com/pillarjs/iconv-lite/pull/371)

The GBK encoding table was updated to reflect the latest changes in the Encoding Standard:

* A6D9–A6DF: Assigned 7 vertical presentation punctuation characters (︐︒︑︓︔︕︖) that were previously unmapped
* A6EC–A6ED: Assigned 2 presentation characters (︗︘) that were previously unmapped
* A6F3: Assigned a punctuation character (︙) that was previously unmapped
* FE50: Inserted characters 龴, 龵, 龶, 龷, 龸, 龹 at specific positions in the sequence
* FE80: Inserted characters 龺, 龻 at specific positions in the sequence

## 0.7.1

### 🚀 Improvements
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iconv-lite",
"description": "Convert character encodings in pure javascript.",
"version": "0.7.1",
"version": "1.0.0-alpha.1",
"license": "MIT",
"keywords": [
"iconv",
Expand Down