unicode-display_width breaking changes
unicode-display_width 3.0.0 (November 13, 2024) is its newest release with breaking changes, 7 of them. The first: unicode-display_width 3.0.0 requires Ruby 2.5 or later. Every breaking API change we have recorded in unicode-display_width on RubyGems: 19 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.3.0. Source repository
Its 3.0.0 release requires Ruby 2.5 or later. Ruby end of life dates.
- From 1.0.0 to 3.0.0: 11 breaking changes in 2 versions.
- From 0.2.0 to 3.0.0: 16 breaking changes in 4 versions.
unicode-display_width 3.0.0 breaking changes
- Removed
The gem now requires Ruby 2.5 or later, so older Ruby versions can no longer use it. github.com - Behavior changed
Emoji characters of width 1 followed by VS16 are now measured as full-width. github.com - Behavior changed
Emoji are only reduced to width 2 when they are detected as RGI Emoji, so other emoji may measure differently. github.com - Behavior changed
The line and paragraph separators are now measured as zero-width, which changes results for strings containing them. github.com - Behavior changed
Private-use characters are treated as ambiguous instead of width 1, so their measured width may change. github.com - Behavior changed
Unicode.DisplayWidth.of
Ambiguous width values other than 1 or 2 now raise ArgumentError instead of being accepted. github.com - Default changed
Unicode.DisplayWidth.of
Emoji adjustments now apply unless you pass emoji: false. Code that depended on the old default may get different widths. github.com
unicode-display_width 2.0.0.pre1 breaking changes
- Removed
String.display_size
The String#display_size alias was removed. Code calling it must use the remaining width method instead. github.com - Removed
String.display_width
The String#display_width alias was removed. Code calling it will no longer work. github.com - Behavior changed
The string extension is no longer loaded automatically. Require unicode/display_width/string_ext explicitly to keep using String methods. github.com - Behavior changed
Unicode.DisplayWidth
Unicode::DisplayWidth is now a class that holds configuration, so module-style usage must change to the new class-based API. github.com
unicode-display_width 1.0.0 breaking changes
- Removed
unicode.display_size
The require 'unicode/display_size' path is gone. Use require 'unicode/display_width' instead. github.com - Behavior changed
Most characters in the Mn, Me and Cf general categories now have width 0, so width results for them differ from 0.3.1. github.com - Behavior changed
The internal API and index format were changed heavily, so code that relies on internals may break. github.com - Configuration changed
The gem now requires Ruby 2.0 or later as its minimum runtime. github.com
unicode-display_width 0.3.0 breaking changes
- Behavior changed
The character width tables are updated to EastAsianWidth 8.0, so display widths of some characters may now differ from before. github.com
unicode-display_width 0.2.0 breaking changes
- Removed
The gem now includes only the generated index, not the EastAsianWidth.txt source file, so code that reads that file from the gem will no longer find it. github.com - Behavior changed
If the index table is not available, the gem no longer builds it on its own, so users must provide it before relying on width lookups. github.com - Behavior changed
Character display widths follow the new Unicode 7.0 EastAsianWidth data, so some characters may measure differently than before. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.