From c4f3401d92a54899dafb065e566f6904cfa57ded Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Wed, 7 Dec 2022 16:17:38 -0500 Subject: [PATCH] fix(NODE-4771): serializeFunctions breaks function names outside of basic latin --- docs/upgrade-to-v5.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/upgrade-to-v5.md b/docs/upgrade-to-v5.md index 9cf7a701..292f8bbb 100644 --- a/docs/upgrade-to-v5.md +++ b/docs/upgrade-to-v5.md @@ -76,9 +76,7 @@ We have set our typescript compilation target to `es2020` which aligns with our ### serializeFunctions bug fix -> **TL;DR**: TODO - -TODO(NODE-4771): serializeFunctions bug fix makes function names outside the ascii range get serialized correctly +If serializeFunctions was enabled and the functions being serialized had a name that is outside of [Controls and Basic Latin](https://en.wikibooks.org/wiki/Unicode/Character_reference/0000-0FFF) character ranges (a.k.a utf8 bytes: 0x00-0x7F) they would be incorrectly serialized. ### Remove `Map` export