From dd5a95548f43097e1aea624fc1e1576f4140f897 Mon Sep 17 00:00:00 2001 From: inoas Date: Tue, 7 Jun 2022 18:14:47 +0000 Subject: JavaScript: fix string_builder.reverse, cleanup (#300) --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 106b4e5..6d2ca82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ - The `float` module gains the `divide` function. - The `int` module gains the `divide`, `power`, and `square_root` functions. - The `string` module gains the `first`, `last`, `capitalise` and `inspect` functions. -- The `string` module gains the `first`, `last`, and `capitalise` functions. +- Fixed a bug where `string_builder.reverse` would break utf8 strings on target JavaScript. - Fixed a bug where `string.reverse` would break utf8 strings on target JavaScript. - Fixed a bug where `string.slice` would break utf8 strings on target JavaScript. +- The `string_builder` module loses the `from_float` function. Use `float.to_string` instead. - Fixed the `int.power` and `float.power` functions by properly handling error cases. - The grapheme iterator used by `string.graphemes` is now locale independent on target JavaScript. -- cgit v1.2.3