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

# presidio-analyzer breaking changes

presidio-analyzer 2.2.366 (October 27, 2026) is its newest release with breaking changes, 4 of them. The first: Removed hf_token_pipe. Every breaking API change we have recorded in presidio-analyzer on PyPI: 296 breaking changes in 12 versions. Below, its 12 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 requires [Python 3.11](https://since.dev/calendar/python/3.11.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.2.354](#v-2-2-354) to [2.2.366](#v-2-2-366): 291 breaking changes in 11 versions.

## presidio-analyzer 2.2.366 breaking changes

presidio-analyzer 2.2.366, released October 27, 2026: 4 breaking changes.

- **Removed** `hf_token_pipe`  

The analyzer no longer depends on spacy-huggingface-pipelines. Saved spaCy pipelines referencing hf_token_pipe no longer load; use presidio_hf_token_pipe. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)
- **Behavior changed** `GUNICORN_CMD_ARGS`  

Distroless images take gunicorn settings through GUNICORN_CMD_ARGS instead of PORT and WORKERS, and listen on port 3000. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)
- **Configuration changed**  

Python 3.10 is no longer supported; packages now require Python >=3.11,<3.15. Installs on Python 3.10 resolve to previous releases, so upgrade the interpreter. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)
- **Configuration changed** `HEALTHCHECK`  

The image HEALTHCHECK now probes /health with the Python standard library and ignores HTTP_PROXY. The docker-compose healthcheck overrides were removed. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.366)

## presidio-analyzer 2.2.365 breaking changes

presidio-analyzer 2.2.365, released October 25, 2026: 23 breaking changes.

- **Behavior changed**  

The CLI's --no-warnings handling, exit code, GitHub output and threshold config now behave differently, so scripts relying on the old exit codes or output may need updates. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Default changed** `deny_list_score`  

A YAML recognizer registry that omits deny_list_score now gets 1.0 instead of the previous value, which can change detection results. [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**  

The Pillow dependency floor is now 12.3.0, so environments with older Pillow must upgrade. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.365)
- **Signature changed** `presidio_analyzer.chunkers.base_chunker.BaseTextChunker.deduplicate_overlapping_entities`  

Was def deduplicate_overlapping_entities(self, predictions: List\[RecognizerResult\], overlap_threshold: float = 0.5) -> List\[RecognizerResult\]; now def deduplicate_overlapping_entities(self, predictions: List\[RecognizerResult\]... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)
- **Signature changed** `presidio_analyzer.chunkers.BaseTextChunker.deduplicate_overlapping_entities`  

Was def deduplicate_overlapping_entities(self, predictions: List\[RecognizerResult\], overlap_threshold: float = 0.5) -> List\[RecognizerResult\]; now def deduplicate_overlapping_entities(self, predictions: List\[RecognizerResult\]... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)
- **Signature changed** `presidio_analyzer.input_validation.CustomRecognizerConfig.deny_list_score`  

Was deny_list_score: Optional\[float\]; now deny_list_score: float. [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)
- **Signature changed** `presidio_analyzer.input_validation.RecognizerRegistryConfig.recognizers`  

Was recognizers: List\[Union\[HuggingFaceRecognizerConfig, PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]; now recognizers: List\[Union\[HuggingFaceRecognizerConfig, GLiNERRecognizerConfig, PredefinedRecognizerConfig... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)
- **Signature changed** `presidio_analyzer.input_validation.yaml_recognizer_models.CustomRecognizerConfig.deny_list_score`  

Was deny_list_score: Optional\[float\]; now deny_list_score: float. [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)
- **Signature changed** `presidio_analyzer.input_validation.yaml_recognizer_models.RecognizerRegistryConfig.recognizers`  

Was recognizers: List\[Union\[HuggingFaceRecognizerConfig, PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]; now recognizers: List\[Union\[HuggingFaceRecognizerConfig, GLiNERRecognizerConfig, PredefinedRecognizerConfig... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.365/)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## presidio-analyzer 2.2.364 breaking changes

presidio-analyzer 2.2.364, released July 22, 2026: 2 breaking changes.

- **Signature changed** `presidio_analyzer.entity_recognizer.EntityRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None, country_code: Optional\[str\] = None); now def \_\_init\_\_(self... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.364/)
- **Signature changed** `presidio_analyzer.EntityRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None, country_code: Optional\[str\] = None); now def \_\_init\_\_(self... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.364/)

## presidio-analyzer 2.2.363 breaking changes

presidio-analyzer 2.2.363, released June 28, 2026: 11 breaking changes.

- **Default changed** `PhoneRecognizer`  

The PhoneRecognizer default regions typo was corrected from FE to FR, so code relying on the default region now gets FR. Pass regions explicitly if you need different behavior. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.363)
- **Signature changed** `presidio_analyzer.entity_recognizer.EntityRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None); now def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.EntityRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None, supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None); now def \_\_init\_\_(self, supported_entities: List\[str\], name: str = None... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.input_validation.yaml_recognizer_models.RecognizerListLoader.get`  

Was @staticmethod def get(recognizers: Dict\[str, Any\], supported_languages: Iterable\[str\], global_regex_flags: int) -> Iterable\[EntityRecognizer\]; now @staticmethod def get(recognizers: Dict\[str, Any\], supported_languages: Iterable\[str\]... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.pattern_recognizer.PatternRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entity: str, name: str = None, supported_language: str = 'en', patterns: List\[Pattern\] = None, deny_list: List\[str\] = None, context: List\[str\] = None, deny_list_score: float = 1.0, global_regex_flags... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.PatternRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entity: str, name: str = None, supported_language: str = 'en', patterns: List\[Pattern\] = None, deny_list: List\[str\] = None, context: List\[str\] = None, deny_list_score: float = 1.0, global_regex_flags... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.predefined_recognizers.generic.phone_recognizer.PhoneRecognizer.__init__`  

Was def \_\_init\_\_(self, context: Optional\[List\[str\]\] = None, supported_language: str = 'en', supported_regions=DEFAULT_SUPPORTED_REGIONS, leniency: Optional\[int\] = 1, name: Optional\[str\] = None); now def \_\_init\_\_(self, context... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.predefined_recognizers.PhoneRecognizer.__init__`  

Was def \_\_init\_\_(self, context: Optional\[List\[str\]\] = None, supported_language: str = 'en', supported_regions=DEFAULT_SUPPORTED_REGIONS, leniency: Optional\[int\] = 1, name: Optional\[str\] = None); now def \_\_init\_\_(self, context... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.recognizer_registry.recognizer_registry.RecognizerRegistry.load_predefined_recognizers`  

Was def load_predefined_recognizers(self, languages: Optional\[List\[str\]\] = None, nlp_engine: NlpEngine = None) -> None; now def load_predefined_recognizers(self, languages: Optional\[List\[str\]\] = None, nlp_engine: NlpEngine = None... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)
- **Signature changed** `presidio_analyzer.recognizer_registry.recognizers_loader_utils.RecognizerListLoader.get`  

Was @staticmethod def get(recognizers: Dict\[str, Any\], supported_languages: Iterable\[str\], global_regex_flags: int) -> Iterable\[EntityRecognizer\]; now @staticmethod def get(recognizers: Dict\[str, Any\], supported_languages: Iterable\[str\]... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.363/)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## presidio-analyzer 2.2.362 breaking changes

presidio-analyzer 2.2.362, released March 15, 2026: 9 breaking changes.

- **Behavior changed**  

Regex matching now stops after 60 seconds by default. Code relying on slower patterns may need to configure a longer timeout. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.362)
- **Signature changed** `presidio_analyzer.analysis_explanation.AnalysisExplanation.__init__`  

Was def \_\_init\_\_(self, recognizer: str, original_score: float, pattern_name: str = None, pattern: str = None, validation_result: float = None, textual_explanation: str = None, regex_flags: int = None); now def \_\_init\_\_(self, recognizer... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.AnalysisExplanation.__init__`  

Was def \_\_init\_\_(self, recognizer: str, original_score: float, pattern_name: str = None, pattern: str = None, validation_result: float = None, textual_explanation: str = None, regex_flags: int = None); now def \_\_init\_\_(self, recognizer... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.context_aware_enhancers.lemma_context_aware_enhancer.LemmaContextAwareEnhancer.__init__`  

Was def \_\_init\_\_(self, context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0); now def \_\_init\_\_(self, context_similarity_factor: float = 0.35... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.input_validation.RecognizerRegistryConfig.recognizers`  

Was recognizers: List\[Union\[PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]; now recognizers: List\[Union\[HuggingFaceRecognizerConfig, PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]. [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.input_validation.yaml_recognizer_models.RecognizerRegistryConfig.recognizers`  

Was recognizers: List\[Union\[PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]; now recognizers: List\[Union\[HuggingFaceRecognizerConfig, PredefinedRecognizerConfig, CustomRecognizerConfig, str\]\]. [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.LemmaContextAwareEnhancer.__init__`  

Was def \_\_init\_\_(self, context_similarity_factor: float = 0.35, min_score_with_context_similarity: float = 0.4, context_prefix_count: int = 5, context_suffix_count: int = 0); now def \_\_init\_\_(self, context_similarity_factor: float = 0.35... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.predefined_recognizers.GLiNERRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: Optional\[List\[str\]\] = None, name: str = 'GLiNERRecognizer', supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None, entity_mapping: Optional\[Dict\[str, str\]\] =... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)
- **Signature changed** `presidio_analyzer.predefined_recognizers.ner.gliner_recognizer.GLiNERRecognizer.__init__`  

Was def \_\_init\_\_(self, supported_entities: Optional\[List\[str\]\] = None, name: str = 'GLiNERRecognizer', supported_language: str = 'en', version: str = '0.0.1', context: Optional\[List\[str\]\] = None, entity_mapping: Optional\[Dict\[str, str\]\] =... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.362/)

## presidio-analyzer 2.2.361 breaking changes

presidio-analyzer 2.2.361, released February 12, 2026: 107 breaking changes.

- **Removed**  

Python 3.9 is no longer supported, so users on Python 3.9 must upgrade their Python version before using this release. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.361)
- **Removed** `presidio_analyzer.nlp_engine.ner_model_configuration.NerModelConfiguration.__init__`  

NerModelConfiguration() was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.ner_model_configuration.NerModelConfiguration.__post_init__`  

NerModelConfiguration.\_\_post_init\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.ner_model_configuration.NerModelConfiguration.__repr__`  

NerModelConfiguration.\_\_repr\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.ner_model_configuration.NerModelConfiguration.__str__`  

NerModelConfiguration.\_\_str\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.NerModelConfiguration.__init__`  

NerModelConfiguration() was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.NerModelConfiguration.__post_init__`  

NerModelConfiguration.\_\_post_init\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.NerModelConfiguration.__repr__`  

NerModelConfiguration.\_\_repr\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Removed** `presidio_analyzer.nlp_engine.NerModelConfiguration.__str__`  

NerModelConfiguration.\_\_str\_\_ was removed in presidio-analyzer 2.2.361 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.361/)
- **Behavior changed**  

The Korean language code is now 'ko' instead of 'kr', so code that passes 'kr' must switch to 'ko'. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.361)

And 97 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

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

### presidio-analyzer 2.2.360 breaking changes

presidio-analyzer 2.2.360, released September 9, 2025: 45 breaking changes.

- **Removed** `presidio_analyzer.predefined_recognizers.aba_routing_recognizer`  

presidio_analyzer.predefined_recognizers.aba_routing_recognizer was removed in presidio-analyzer 2.2.360 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.360/)
- **Removed** `presidio_analyzer.predefined_recognizers.au_abn_recognizer`  

presidio_analyzer.predefined_recognizers.au_abn_recognizer was removed in presidio-analyzer 2.2.360 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.360/)

And 43 more in this version.

### presidio-analyzer 2.2.359 breaking changes

presidio-analyzer 2.2.359, released July 13, 2025: 18 breaking changes.

- **Removed** `presidio_analyzer.nlp_engine.ner_model_configuration.LABELS_TO_IGNORE`  

presidio_analyzer.nlp_engine.ner_model_configuration.LABELS_TO_IGNORE was removed in presidio-analyzer 2.2.359 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.359/)
- **Removed** `recognition_metadata`  

The recognition_metadata attribute is no longer included in the REST Analyze Response. Stop reading it from responses. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.359)

And 16 more in this version.

### presidio-analyzer 2.2.358 breaking changes

presidio-analyzer 2.2.358, released March 18, 2025: 15 breaking changes.

- **Removed** `blake2b`  

The blake2b option was removed in this release. Code that relies on it must switch to another option. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.358)
- **Removed** `presidio_analyzer.analyzer_utils`  

presidio_analyzer.analyzer_utils was removed in presidio-analyzer 2.2.358 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.358/)

And 13 more in this version.

### presidio-analyzer 2.2.356 breaking changes

presidio-analyzer 2.2.356, released December 15, 2024: 9 breaking changes.

- **Removed**  

Python 3.8 support was removed because it reached end of life, and Python 3.12 was added. Users on Python 3.8 must upgrade their Python version before using this release. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.356)
- **Signature changed** `presidio_analyzer.analyzer_engine_provider.NlpEngine.process_batch`  

Was def process_batch(self, texts: Iterable\[str\], language: str, \*\*kwargs) -> Iterator\[Tuple\[str, NlpArtifacts\]\]; now def process_batch(self, texts: Iterable\[str\], language: str, batch_size: Optional\[int\] = None, \*\*kwargs) ->... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.356/)

And 7 more in this version.

### presidio-analyzer 2.2.355 breaking changes

presidio-analyzer 2.2.355, released July 22, 2024: 48 breaking changes.

- **Removed** `presidio_analyzer.recognizer_registry.AuAbnRecognizer`  

presidio_analyzer.recognizer_registry.AuAbnRecognizer was removed in presidio-analyzer 2.2.355 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.355/)
- **Removed** `presidio_analyzer.recognizer_registry.AuAcnRecognizer`  

presidio_analyzer.recognizer_registry.AuAcnRecognizer was removed in presidio-analyzer 2.2.355 [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.355/)

And 46 more in this version.

### presidio-analyzer 2.2.354 breaking changes

presidio-analyzer 2.2.354, released March 29, 2024: 5 breaking changes.

- **Default changed** `aggregation_strategy`  

The default aggregation_strategy is now max instead of its previous default. Code that relies on the old default should set aggregation_strategy explicitly. [github.com](https://github.com/data-privacy-stack/presidio/releases/tag/2.2.354)
- **Signature changed** `presidio_analyzer.nlp_engine.ner_model_configuration.NerModelConfiguration.__init__`  

Was def \_\_init\_\_(self, labels_to_ignore: Optional\[Collection\[str\]\] = None, aggregation_strategy: Optional\[str\] = 'simple', stride: Optional\[int\] = 14, alignment_mode: Optional\[str\] = 'expand', default_score: Optional\[float\] = 0.85... [pypi.org](https://pypi.org/project/presidio-analyzer/2.2.354/)

And 3 more in this version.

## Related packages

- [presidio-anonymizer](https://since.dev/packages/pypi/presidio-anonymizer.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.
