diff options
author | Ryan M. Moore <rmm1047@gmail.com> | 2024-12-30 22:00:57 -0500 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2025-01-03 21:02:38 +0000 |
commit | 6f44f8382a7dad77c42d53193701ae8e49beb214 (patch) | |
tree | 013ef4d1e253a88ecfad21eaac82a22a77b871b9 /CHANGELOG.md | |
parent | c5d0edeaf6edd3280883497d931bdae8aa88afa5 (diff) | |
download | gleam_stdlib-6f44f8382a7dad77c42d53193701ae8e49beb214.tar.gz gleam_stdlib-6f44f8382a7dad77c42d53193701ae8e49beb214.zip |
Fix non-character handling in `string.utf_codepoint`
Treats `U+FFFE` and `U+FFFF` as valid Unicode codepoints rather than errors. See #778.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 60b92de..6945343 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - The deprecated `function.compose`, `function.constant`, `function.apply*`, `function.curry*`, `result.nil_error`, `list.concat`, `bool.compare`, and `bool.to_int` functions have been removed. +- Fixed a bug where `string.utf_codepoint` would treat valid Unicode codepoints + `U+FFFE` and `U+FFFF` as invalid. ## v0.51.0 - 2024-12-22 |