From 6f44f8382a7dad77c42d53193701ae8e49beb214 Mon Sep 17 00:00:00 2001 From: "Ryan M. Moore" Date: Mon, 30 Dec 2024 22:00:57 -0500 Subject: Fix non-character handling in `string.utf_codepoint` Treats `U+FFFE` and `U+FFFF` as valid Unicode codepoints rather than errors. See #778. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') 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 -- cgit v1.2.3