tokenizers breaking changes
tokenizers 0.23.2 (September 3, 2026) is its newest release with breaking changes. The first: Last v0 release; next release moves to v1 in tokenizers 0.23.2. Every breaking API change we have recorded in tokenizers on PyPI: 18 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.23.3, released October 9, 2026. Source repository
Its 0.23.1 release requires Python 3.10 or later. Python end of life dates.
tokenizers 0.23.2 breaking changes
- Behavior changed
This is the last v0 release and the project is moving to v1, with details still to come. Review the v1 changes when they are published. github.com
tokenizers 0.23.1 breaking changes
- Removed
The package now requires Python 3.10 or later; Python 3.9 users must stay on the 0.22.x line. github.com - Behavior changed
Methods that returned Any now return real types, so mypy --strict may report new errors; stub files moved from tokenizers/<sub>/__init__.pyi to tokenizers/<sub>.pyi. github.com - Behavior changed
On the 3.14t build, a poisoned lock now raises PyException instead of panicking. github.com - Behavior changed
add_tokens
Re-saved tokenizer.json files may differ in the added_tokens block; existing files still load unchanged. github.com - Signature changed
tokenizers.normalizers.NORMALIZERS
Was NORMALIZERS: Dict[str, Normalizer]; now NORMALIZERS. pypi.org
tokenizers 0.22.2 breaking changes
- Behavior changed
Immutable Python classes are now frozen, so code that modifies their attributes may fail. github.com - Signature changed
tokenizers.tools.Annotation.label
Was label: int; now label: str. pypi.org - Signature changed
tokenizers.tools.EncodingVisualizer.__call__
Was def __call__(self, text: str, annotations: AnnotationList = [], default_to_notebook: Optional[bool] = None) -> Optional[str]; now def __call__(self, text: str, annotations: Optional[List[Any]] = None, default_to_notebook... pypi.org
tokenizers 0.21.2 breaking changes
- Behavior changed
Training with special tokens now behaves differently, so code that trains tokenizers with special tokens may produce different results and should be checked. github.com - Signature changed
tokenizers.ByteLevelBPETokenizer.__init__
Was def __init__(self, vocab: Optional[Union[str, Dict[str, int]]] = None, merges: Optional[Union[str, Dict[Tuple[int, int], Tuple[int, int]]]] = None, add_prefix_space: bool = False, lowercase: bool = False, dropout: Optional[float] =... pypi.org - Signature changed
tokenizers.CharBPETokenizer.__init__
Was def __init__(self, vocab: Optional[Union[str, Dict[str, int]]] = None, merges: Optional[Union[str, Dict[Tuple[int, int], Tuple[int, int]]]] = None, unk_token: Union[str, AddedToken] = '<unk>', suffix: str = '</w>', dropout... pypi.org - Signature changed
tokenizers.SentencePieceBPETokenizer.__init__
Was def __init__(self, vocab: Optional[Union[str, Dict[str, int]]] = None, merges: Optional[Union[str, Dict[Tuple[int, int], Tuple[int, int]]]] = None, unk_token: Union[str, AddedToken] = '<unk>', replacement: str = '▁', add_prefix_space... pypi.org
tokenizers 0.21.1 breaking changes
- Removed
The package metadata no longer lists Python 3.7 and 3.8 as supported, so code running on those versions may not be supported. github.com
tokenizers 0.21.0 breaking changes
- Removed
The package no longer supports Python 3.7 or 3.8, matching transformers. Users on those versions must stay on an older release or upgrade Python. github.com
Older versions
3 older versions.
Show 3 older versions
tokenizers 0.20.3 breaking changes
- Behavior changed
encode_batch
Tuple inputs to encode_batch now behave differently, which the release notes call a breaking change. Code that passes tuples should be checked and updated. github.com
tokenizers 0.20.2 breaking changes
- Renamed
auth_token
The auth_token argument was renamed to token, so code passing auth_token by keyword must switch to token. github.com
tokenizers 0.20.0 breaking changes
- Behavior changed
Adding tokens no longer enforces the non-special check. Code that relied on that check failing may now behave differently. github.com
Related packages
- tokenizers on crates.io
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.