---
title: "tokenizers 0.23.2 Breaking Changes on PyPI | Since.dev"
description: "What each tokenizers release removed, renamed or changed: 18 breaking changes in 9 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/tokenizers
last_updated: 2026-12-04
---

# 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

Latest version `0.23.3`, released October 9, 2026. [Source repository](https://github.com/huggingface/tokenizers)

Its 0.23.1 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.20.0](#v-0-20-0) to [0.23.2](#v-0-23-2): 17 breaking changes in 8 versions.

## tokenizers 0.23.2 breaking changes

tokenizers 0.23.2, released September 3, 2026: 1 breaking change.

- **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](https://github.com/huggingface/tokenizers/releases/tag/v0.23.2)

## tokenizers 0.23.1 breaking changes

tokenizers 0.23.1, released April 27, 2026: 5 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](https://github.com/huggingface/tokenizers/releases/tag/v0.23.1)
- **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](https://github.com/huggingface/tokenizers/releases/tag/v0.23.1)
- **Behavior changed**  

On the 3.14t build, a poisoned lock now raises PyException instead of panicking. [github.com](https://github.com/huggingface/tokenizers/releases/tag/v0.23.1)
- **Behavior changed** `add_tokens`  

Re-saved tokenizer.json files may differ in the added_tokens block; existing files still load unchanged. [github.com](https://github.com/huggingface/tokenizers/releases/tag/v0.23.1)
- **Signature changed** `tokenizers.normalizers.NORMALIZERS`  

Was NORMALIZERS: Dict\[str, Normalizer\]; now NORMALIZERS. [pypi.org](https://pypi.org/project/tokenizers/0.23.1/)

## tokenizers 0.22.2 breaking changes

tokenizers 0.22.2, released January 5, 2026: 3 breaking changes.

- **Behavior changed**  

Immutable Python classes are now frozen, so code that modifies their attributes may fail. [github.com](https://github.com/huggingface/tokenizers/releases/tag/v0.22.2)
- **Signature changed** `tokenizers.tools.Annotation.label`  

Was label: int; now label: str. [pypi.org](https://pypi.org/project/tokenizers/0.22.2/)
- **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](https://pypi.org/project/tokenizers/0.22.2/)

## tokenizers 0.21.2 breaking changes

tokenizers 0.21.2, released June 24, 2025: 4 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](https://github.com/huggingface/tokenizers/releases/tag/v0.21.2)
- **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](https://pypi.org/project/tokenizers/0.21.2/)
- **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](https://pypi.org/project/tokenizers/0.21.2/)
- **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](https://pypi.org/project/tokenizers/0.21.2/)

## tokenizers 0.21.1 breaking changes

tokenizers 0.21.1, released March 13, 2025: 1 breaking change.

- **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](https://github.com/huggingface/tokenizers/releases/tag/v0.21.1)

## tokenizers 0.21.0 breaking changes

tokenizers 0.21.0, released November 27, 2024: 1 breaking change.

- **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](https://github.com/huggingface/tokenizers/releases/tag/v0.21.0)

## Older versions

3 older versions.

### tokenizers 0.20.3 breaking changes

tokenizers 0.20.3, released November 5, 2024: 1 breaking change.

- **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](https://github.com/huggingface/tokenizers/releases/tag/v0.20.3)

### tokenizers 0.20.2 breaking changes

tokenizers 0.20.2, released November 4, 2024: 1 breaking change.

- **Renamed** `auth_token`  

The auth_token argument was renamed to token, so code passing auth_token by keyword must switch to token. [github.com](https://github.com/huggingface/tokenizers/releases/tag/v0.20.2)

### tokenizers 0.20.0 breaking changes

tokenizers 0.20.0, released August 8, 2024: 1 breaking change.

- **Behavior changed**  

Adding tokens no longer enforces the non-special check. Code that relied on that check failing may now behave differently. [github.com](https://github.com/huggingface/tokenizers/releases/tag/v0.20.0)

## Related packages

- [tokenizers](https://since.dev/packages/crates/tokenizers.md):  on crates.io

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
