aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRyan M. Moore <rmm1047@gmail.com>2024-12-30 22:00:57 -0500
committerLouis Pilfold <louis@lpil.uk>2025-01-03 21:02:38 +0000
commit6f44f8382a7dad77c42d53193701ae8e49beb214 (patch)
tree013ef4d1e253a88ecfad21eaac82a22a77b871b9 /CHANGELOG.md
parentc5d0edeaf6edd3280883497d931bdae8aa88afa5 (diff)
downloadgleam_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.md2
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