wcwidth breaking changes
Updated December 4, 2026
On this page
Latest version 0.9.6, released December 3, 2026. Source repository
Its 0.2.14 release drops Python 2.7 and 3.5. Python end of life dates.
wcwidth 0.9.5 breaking changes
- Behavior changed
wrap
wrap() now breaks lines using UAX #14 line breaking rules, so the line break positions it produces can differ from earlier versions. Check code that depends on exact wrap output. github.com - Signature changed
wcwidth.textwrap.SequenceTextWrapper.__init__
Was def __init__(self, width: int = 70, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, ambiguous_width: int = 1, term_program: bool | str = False, **kwargs: Any) -> None; now def __init__(self, width... pypi.org - Signature changed
wcwidth.textwrap.wrap
Was def wrap(text: str, width: int = 70, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, expand_tabs: bool = True, replace_whitespace: bool = True, ambiguous_width: int = 1, term_program: bool | str =... pypi.org - Signature changed
wcwidth.wrap
Was def wrap(text: str, width: int = 70, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, expand_tabs: bool = True, replace_whitespace: bool = True, ambiguous_width: int = 1, term_program: bool | str =... pypi.org
wcwidth 0.9.3 breaking changes
- Behavior changed
Hyperlink parameter sequences that contain trailing content are now rejected instead of accepted. Code that passes such sequences must fix them. github.com
wcwidth 0.8.5 breaking changes
- Behavior changed
Line breaks at hyphens are now computed from display width, so wrapped output for wide characters may differ from earlier versions. Check any code that depends on hyphen break positions. github.com
wcwidth 0.8.4 breaking changes
- Signature changed
wcwidth.clip
Was def clip(text: str, start: int, end: int, *, fillchar: str = ' ', tabsize: int = 8, ambiguous_width: int = 1, propagate_sgr: bool = True, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', overtyping: Optional[bool] = None... pypi.org
wcwidth 0.8.3 breaking changes
- Behavior changed
clip
clip() output changes so it matches propagate_sgr(). Code that relied on the previous clip() output may need to be checked. github.com
wcwidth 0.8.0 breaking changes
- Behavior changed
Grapheme clusters are now measured at most 2 columns wide, so width results for some clusters can differ from earlier versions. github.com - Behavior changed
Some Virama width calculations now follow the ghostty/uucode behavior, so widths for affected Indic and Southeast Asian text can change. github.com - Default changed
wcstwidth
wcstwidth now auto-detects the terminal by default. Pass term_program=False to keep the previous widths. github.com - Signature changed
wcwidth.center
Was def center(text: str, dest_width: int, fillchar: str = ' ', *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', ambiguous_width: int = 1) -> str; now def center(text: str, dest_width: int, fillchar: str = ' ', *... pypi.org - Signature changed
wcwidth.clip
Was def clip(text: str, start: int, end: int, *, fillchar: str = ' ', tabsize: int = 8, ambiguous_width: int = 1, propagate_sgr: bool = True, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', overtyping: Optional[bool] = None)... pypi.org - Signature changed
wcwidth.iter_graphemes
Was def iter_graphemes(unistr: str, start: int = 0, end: Optional[int] = None) -> Iterator[str]; now iter_graphemes. pypi.org - Signature changed
wcwidth.ljust
Was def ljust(text: str, dest_width: int, fillchar: str = ' ', *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', ambiguous_width: int = 1) -> str; now def ljust(text: str, dest_width: int, fillchar: str = ' ', *... pypi.org - Signature changed
wcwidth.rjust
Was def rjust(text: str, dest_width: int, fillchar: str = ' ', *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', ambiguous_width: int = 1) -> str; now def rjust(text: str, dest_width: int, fillchar: str = ' ', *... pypi.org - Signature changed
wcwidth.textwrap.SequenceTextWrapper.__init__
Was def __init__(self, width: int = 70, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, ambiguous_width: int = 1, **kwargs: Any) -> None; now def __init__(self, width: int = 70, *, control_codes... pypi.org - Signature changed
wcwidth.textwrap.wcwidth_width
Was def width(text: str, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, ambiguous_width: int = 1) -> int; now def width(text: str, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse'... pypi.org
And 2 more in this version. Sign up to see every change
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
wcwidth 0.7.0 breaking changes
- Behavior changed
clip
With control_codes='strict', clip() now raises ValueError for more control sequences than before. Code that passes such values must handle the exception. github.com - Behavior changed
width
Cursor-left (cub) or backspace now overwrites existing text when measuring or clipping, so results can differ from 0.6.0. Check code that relies on the old width or clipped output. github.com
And 1 more in this version.
wcwidth 0.6.0 breaking changes
- Signature changed
wcwidth.wrap
Was def wrap(text: str, width: int = 70, *, control_codes: Literal['parse', 'strict', 'ignore'] = 'parse', tabsize: int = 8, ambiguous_width: int = 1, initial_indent: str = '', subsequent_indent: str = '', break_long_words: bool = True... pypi.org
wcwidth 0.5.2 breaking changes
- Behavior changed
The specs and zero-width tables were updated regarding Mc characters, which can change width results for those characters. github.com
wcwidth 0.5.1 breaking changes
- Removed
The generated zero and wide code tables were regenerated to length 1, completing the previously announced removal of the historical tables. Code that relied on those tables must stop using them. github.com
wcwidth 0.5.0 breaking changes
- Removed
Only the latest Unicode version (17.0.0) is shipped now. Code relying on older Unicode version tables no longer gets them. github.com - Behavior changed
list_versions
list_versions() always returns a tuple containing only the one supported Unicode version. github.com
And 3 more in this version.
wcwidth 0.3.2 breaking changes
- Removed
wcwidth.wcwidth.CURSOR_LEFT_SEQUENCE
wcwidth.wcwidth.CURSOR_LEFT_SEQUENCE was removed in wcwidth 0.3.2 pypi.org - Removed
wcwidth.wcwidth.CURSOR_RIGHT_SEQUENCE
wcwidth.wcwidth.CURSOR_RIGHT_SEQUENCE was removed in wcwidth 0.3.2 pypi.org
And 9 more in this version.
wcwidth 0.3.0 breaking changes
- Removed
wcwidth.table_vs15
wcwidth.table_vs15 was removed in wcwidth 0.3.0 pypi.org - Behavior changed
Characters with the Default_Ignorable_Code_Point property now have display width 0 instead of their previous width. Code that sums widths for text containing these characters will get different results. github.com
And 2 more in this version.
wcwidth 0.2.14 breaking changes
- Removed
Python 2.7 and 3.5 are no longer supported; code running on those interpreters must stay on wcwidth 0.2.13 or use a newer Python. github.com
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.