diff options
author | Francesco Rodríguez <frodsan@me.com> | 2018-10-18 21:51:21 +0200 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2018-10-18 14:10:30 -0700 |
commit | b0f3070209499474d139ad46336eda9c57c16e88 (patch) | |
tree | c339f2b74bccead55a222127dd1b1dc422cad937 /activesupport/CHANGELOG.md | |
parent | 885ab065b50ee42f9054b853adeb8c2a8c445680 (diff) | |
download | rails-b0f3070209499474d139ad46336eda9c57c16e88.tar.gz rails-b0f3070209499474d139ad46336eda9c57c16e88.tar.bz2 rails-b0f3070209499474d139ad46336eda9c57c16e88.zip |
Deprecate Unicode's #pack_graphemes and #unpack_graphemes methods
in favor of `array.flatten.pack("U*")` and `string.scan(/\X/).map(&:codepoints)`, respectively.
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 88dfc64ed1..a53e4eb5a2 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,8 @@ +* Deprecate `ActiveSupport::Multibyte::Unicode#pack_graphemes(array)` and `ActiveSuppport::Multibyte::Unicode#unpack_graphemes(string)` + in favor of `array.flatten.pack("U*")` and `string.scan(/\X/).map(&:codepoints)`, respectively. + + *Francesco Rodríguez* + * Deprecate `ActiveSupport::Multibyte::Chars.consumes?` in favor of `String#is_utf8?`. *Francesco Rodríguez* |