2.2.358

data-privacy-stack/presidio2.2.358Mar 18, 2025by cseilbot

AI Summary

Migrates the project to Poetry 2.0 and PEP 621, replaces pycryptodome with cryptography, and adds multiprocessing parameters for better performance.

Key Highlights

  • Migrated to Poetry 2.0 and PEP 621.
  • Replaced `pycryptodome` with `cryptography` for security.
  • Added multiprocessing parameters.
  • Updated Dockerfiles and dependencies.

New Features

  • Poetry 2.0 migration
  • Multiprocessing parameters
  • Blake2B support
  • MD5 replacement

Full Release Notes



## Changes:

* 04920aafbb2958b7359183bf5a72af627cdb2808 Version 2.2.358 (#1553)
* dcf1ae0359269e049c7cbe9825bdeff14698a68d drop blake2b (#1552)
* a0484ddc2c27b9a7ff4b214dfd64ed335108f64f Replace MD5 with Blake2 (#1550)
* e9df3beba53f51ec3fe181811756a46cd73daacd Exclude closing single or double quote from URL in URL recogniser (#1532)
* cf75c5a0ee25c00bad1d9afc301d2b1e26bb766d Updated the Evaluating DICOM Redaction documentation to reflect changes in verify_dicom_instance() within the DicomImagePiiVerifyEngine class. (#1549)
* 6b10fd595c224190f09c0fe9a2d9d3f154a0dee2 Updated the return type annotation of  in  function from  to . (#1547)
* bacf23fa39bcecde7d40bf20c2315c2ce677469d Add multiprocessing parameters (#1521)
* 08564790dcea6e7b459e6d81b6b63cca116545bb Migrate to poetry 2.0 (and PEP 621) (#1539)
* 8b288fae61b898ff85e86302e425c8cc628ad702 docs: Add environment setup and notebook execution guides for Presidio + Spark in Fabric (#1529)
* 5881d7530848c7177276902bfc8c56e0a3ef7990 Update defender-for-devops.yml (#1544)
<details><summary><b>See More</b></summary>

* eb72ae0838c6065104ff77ff3075e6df106fe456 Update CodeQL and defender-for-devops workflows (#1540)
* 515280566c00fa69bbfede900aa844bec0316f1a Replace pycryptodome with cryptography (#1537)
* 5fea5af6af88ae2fadd4f7dbb93e90a889bad272 Upgrade codeql (#1536)
* 26f2e92e52e8ba0560e8b9e0b013f7f701e855d3 Fix python 3.9 Builds (#1534)
* 65eabd447b8794a2144577ef13f06bc169941d43 add spacy_stanza into stanza_nlp_engine as it is no longer maintained (#1522)
* 35ab8ae06fbe88443a6695294da9f9b398c775e1 Move sanitize_value to be common, Fix InPassportRecognizer  (#1519)
* 6f840ea9c1f09e5ca81bbf7f86cf393809a94b7f remove azure-core (#1517)

This list of changes was [auto generated](https://dev.azure.com/csedevil/Presidio/_build/results?buildId=16937&view=logs).</details>