aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-06-07 18:14:47 +0000
committerGitHub <noreply@github.com>2022-06-07 18:14:47 +0000
commitdd5a95548f43097e1aea624fc1e1576f4140f897 (patch)
treebe11e36ec7d6154f1b8b389c142b06ecea40f358 /CHANGELOG.md
parenteeceba29e9d27fe1820bf2d806d4699a37a0469c (diff)
downloadgleam_stdlib-dd5a95548f43097e1aea624fc1e1576f4140f897.tar.gz
gleam_stdlib-dd5a95548f43097e1aea624fc1e1576f4140f897.zip
JavaScript: fix string_builder.reverse, cleanup (#300)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 2 insertions, 1 deletions
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.