CHANGELOG.md in unicode-display_width-2.6.0 vs CHANGELOG.md in unicode-display_width-3.0.0.pre
- old
+ new
@@ -1,7 +1,35 @@
# CHANGELOG
+## 3.0.0 (unreleased)
+
+**Rework Emoji support:**
+
+- Emoji widths are now enabled by default
+- Only reduce Emoji width to 2 when RGI Emoji detected (configurable)
+- VS16 turns Emoji characters of width 1 into full-width
+- Please note that Emoji parsing has a notable impact on performance.
+ You can use the `emoji: false` option to disable Emoji adjustments
+- Tries to detect terminal's Emoji support level automatically (from ENV vars)
+
+**Index fixes and updates:**
+
+- Private-use characters are considered ambiguous (were given width 1 before)
+- Fix that a few zero-width ignorable codepoints from recent Unicode were missing
+- Consider the following separators to be zero-width:
+ - U+2028 - LINE SEPARATOR - Zl
+ - U+2029 - PARAGRAPH SEPARATOR - Zp
+
+**Other:**
+
+- Add keyword arguments to `Unicode::DisplayWidth.of`. If you are using a hash
+ with overwrite values as third parameter, be sure to put it in curly braces.
+- Using third parameter or explicit hash as fourth parameter is deprecated,
+ please migrate to the keyword arguments API
+- Gem raises `ArgumentError` for ambiguous values other than 1 or 2
+- Performance optimizations
+
## 2.6.0
- Unicode 16
## 2.5.0
@@ -38,11 +66,29 @@
- Unicode 14.0
## 2.0.0
-- Release 2.0.0
-- Supports Ruby 3.0
+Add Support for Ruby 3.0
+
+### Breaking Changes
+
+Some features of this library were marked deprecated for a long time and have been removed with Version 2.0:
+
+- Aliases of display\_width (…\_size, …\_length) have been removed
+- Auto-loading of string core extension has been removed:
+
+If you are relying on the `String#display_width` string extension to be automatically loaded (old behavior), please load it explicitly now:
+
+```ruby
+require "unicode/display_width/string_ext"
+```
+
+You could also change your `Gemfile` line to achieve this:
+
+```ruby
+gem "unicode-display_width", require: "unicode/display_width/string_ext"
+```
## 2.0.0.pre2
- Update 2.0 branch to Unicode 13