---
title: "presidio-anonymizer 2.2.366 Breaking Changes on PyPI"
description: "What each presidio-anonymizer release removed, renamed or changed: 37 breaking changes in 10 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/presidio-anonymizer
last_updated: 2026-12-04
---

# presidio-anonymizer breaking changes

presidio-anonymizer 2.2.366 (October 27, 2026) is its newest release with breaking changes, 3 of them. The first: Container images no longer ship curl in presidio-anonymizer 2.2.366. Every breaking API change we have recorded in presidio-anonymizer on PyPI: 37 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.366`, released October 27, 2026. [Source repository](https://github.com/data-privacy-stack/presidio)

Its 2.2.366 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.2.353](#v-2-2-353) to [2.2.366](#v-2-2-366): 25 breaking changes in 9 versions.

## presidio-anonymizer 2.2.366 breaking changes

presidio-anonymizer 2.2.366, released October 27, 2026: 3 breaking changes.

- **Removed**  

The image HEALTHCHECK now probes /health with the Python standard library, and the docker-compose healthcheck overrides were removed. Scripts that call curl inside the container must change. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)
- **Removed**  

All packages now require Python 3.11 or later, so installs on Python 3.10 resolve to the previous releases. Move to Python 3.11 or newer. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)
- **Removed**  

The final anonymizer container image no longer ships pip, setuptools or wheel. Code that installs packages inside that image must change. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)

## presidio-anonymizer 2.2.365 breaking changes

presidio-anonymizer 2.2.365, released October 25, 2026: 6 breaking changes.

- **Default changed** `deny_list_score`  

Recognizers in a YAML registry that omit deny_list_score now get a score of 1.0; configs relying on a different implicit value should set it explicitly. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Configuration changed**  

The package now requires Pillow 12.3.0 or later, so environments pinned to older Pillow must upgrade. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Configuration changed**  

The cryptography dependency is now required at 50.0.0 or later, so older pinned versions must be upgraded. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Configuration changed**  

A non-language code and a duplicate entry were removed from default_recognizers.yaml, so configs depending on them may change behavior. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Signature changed** `presidio_anonymizer.entities.engine.result.operator_result.OperatorResult.__init__`  

Was def \_\_init\_\_(self, start: int, end: int, entity_type: str, text: str = None, operator: str = None); now def \_\_init\_\_(self, start: int, end: int, entity_type: str, text: str = None, operator: str = None, score: Optional\[float\] = None). [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.365/)
- **Signature changed** `presidio_anonymizer.OperatorResult.__init__`  

Was def \_\_init\_\_(self, start: int, end: int, entity_type: str, text: str = None, operator: str = None); now def \_\_init\_\_(self, start: int, end: int, entity_type: str, text: str = None, operator: str = None, score: Optional\[float\] = None). [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.365/)

## presidio-anonymizer 2.2.363 breaking changes

presidio-anonymizer 2.2.363, released June 28, 2026: 3 breaking changes.

- **Default changed** `PhoneRecognizer`  

The default regions of PhoneRecognizer now use FR instead of the mistyped FE. Code relying on the old default region may detect different phone numbers and should set regions explicitly. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.363)
- **Signature changed** `presidio_anonymizer.anonymizer_engine.AnonymizerEngine.anonymize`  

Was def anonymize(self, text: str, analyzer_results: List\[RecognizerResult\], operators: Optional\[Dict\[str, OperatorConfig\]\] = None, conflict_resolution: ConflictResolutionStrategy = ConflictResolutionStrategy.MERGE_SIMILAR_OR_CONTAINED) ->... [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.363/)
- **Signature changed** `presidio_anonymizer.AnonymizerEngine.anonymize`  

Was def anonymize(self, text: str, analyzer_results: List\[RecognizerResult\], operators: Optional\[Dict\[str, OperatorConfig\]\] = None, conflict_resolution: ConflictResolutionStrategy = ConflictResolutionStrategy.MERGE_SIMILAR_OR_CONTAINED) ->... [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.363/)

## presidio-anonymizer 2.2.362 breaking changes

presidio-anonymizer 2.2.362, released March 15, 2026: 1 breaking change.

- **Behavior changed**  

Regex execution now times out after 60 seconds by default, which can make slow patterns fail where they previously ran to completion. Configure the timeout if longer runs are needed. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.362)

## presidio-anonymizer 2.2.361 breaking changes

presidio-anonymizer 2.2.361, released February 12, 2026: 3 breaking changes.

- **Removed**  

Python 3.9 reached end of life and is no longer supported. Users on Python 3.9 must upgrade their Python version. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.361)
- **Configuration changed**  

The analyzer now uses 'ko' as the Korean language code instead of 'kr'. Code that passes 'kr' must switch to 'ko'. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.361)
- **Signature changed**  

Recognizer constructors no longer take arbitrary keyword arguments. Code passing extra keyword arguments to recognizer \_\_init\_\_ methods must remove them. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.361)

## presidio-anonymizer 2.2.358 breaking changes

presidio-anonymizer 2.2.358, released March 18, 2025: 5 breaking changes.

- **Removed** `blake2b`  

The blake2b option is no longer available, so code that selects it will stop working and must switch to another option. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.358)
- **Removed** `presidio_anonymizer.operators.hash.Hash.MD5`  

presidio_anonymizer.operators.hash.Hash.MD5 was removed in presidio-anonymizer 2.2.358 [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.358/)
- **Removed** `presidio_anonymizer.operators.Hash.MD5`  

presidio_anonymizer.operators.Hash.MD5 was removed in presidio-anonymizer 2.2.358 [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.358/)
- **Behavior changed** `MD5`  

MD5 hashing is replaced by Blake2, so hashed output will differ from earlier releases. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.358)
- **Behavior changed** `URL recogniser`  

The URL recogniser now excludes a closing single or double quote from detected URLs, so matched text will differ. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.358)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### presidio-anonymizer 2.2.356 breaking changes

presidio-anonymizer 2.2.356, released December 15, 2024: 1 breaking change.

- **Removed**  

Python 3.8 is no longer supported, which is end of life. Users on Python 3.8 must move to a newer Python version. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.356)

### presidio-anonymizer 2.2.355 breaking changes

presidio-anonymizer 2.2.355, released July 22, 2024: 2 breaking changes.

- **Renamed** `presidio_anonymizer.InvalidParamException`  

Use presidio_anonymizer.InvalidParamError instead. [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.355/)
- **Configuration changed**  

The release changed where the package's configuration files are located. Code or deployments that depend on the old conf file path may need to be updated to the new location. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.355)

### presidio-anonymizer 2.2.354 breaking changes

presidio-anonymizer 2.2.354, released March 29, 2024: 1 breaking change.

- **Default changed** `aggregation_strategy`  

The default aggregation_strategy is now max instead of its previous default. Code that relies on the old default may return different results and should set aggregation_strategy explicitly. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.354)

### presidio-anonymizer 2.2.353 breaking changes

presidio-anonymizer 2.2.353, released February 12, 2024: 12 breaking changes.

- **Removed** `presidio_anonymizer.anonymizer_engine.OperatorConfig.logger`  

OperatorConfig.logger was removed in presidio-anonymizer 2.2.353 [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.353/)
- **Removed** `presidio_anonymizer.entities.engine.operator_config.OperatorConfig.logger`  

OperatorConfig.logger was removed in presidio-anonymizer 2.2.353 [pypi.org](https://pypi.org/project/presidio-anonymizer/2.2.353/)

And 10 more in this version.

## Related packages

- [presidio-analyzer](https://since.dev/packages/pypi/presidio-analyzer.md)

## 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.
