2.2.362

firecrawl/pdf-inspector2.2.362Mar 18, 2026by github-actions[bot]

AI Summary

This release brings significant performance and flexibility improvements, including GPU device control, new ONNX Runtime support, and direct HuggingFace model inference capabilities. It also expands the set of supported document types with recognizers for UK postcodes, US NPIs, and Nigerian IDs.

Key Highlights

  • Added GPU Device Control via Environment Variable
  • Added HuggingFaceNerRecognizer for direct NER inference
  • Added ONNX Runtime backend support to GLiNERRecognizer
  • Added UK Postcode (UK_POSTCODE) recognizer
  • Added US NPI (National Provider Identifier) recognizer

New Features

  • GPU Device Control
  • HuggingFaceNerRecognizer
  • ONNX Runtime backend support
  • UK Postcode recognizer
  • US NPI recognizer
  • Nigeria recognizers
  • UK Passport and vehicle registration recognizers
  • Transformer-based MedicalNERRecognizer
  • Presidio meta-package

Full Release Notes

## What's Changed
* Feature - GPU Device Control via Environment Variable by @RonShakutai in https://github.com/microsoft/presidio/pull/1844
* feat: Add HuggingFaceNerRecognizer for direct NER model inference by @ultramancode in https://github.com/microsoft/presidio/pull/1834
* Fix Broken Links by @andyjessen in https://github.com/microsoft/presidio/pull/1856
* Pin dependencies to mitigate supply chain attacks by @Copilot in https://github.com/microsoft/presidio/pull/1861
* Fixing CVE-2024-47874 and CVE-2025-54121 by @SharonHart in https://github.com/microsoft/presidio/pull/1860
* Fixing CVE-2025-2953 and CVE-2025-3730 by @SharonHart in https://github.com/microsoft/presidio/pull/1859
* fix: Fixed context enhancement substring matching bug  by @ravi-jindal in https://github.com/microsoft/presidio/pull/1827
* Fix _process_names unconditionally treating all metadata as PHI by @Mr-Neutr0n in https://github.com/microsoft/presidio/pull/1855
* feat: Add UK Postcode (UK_POSTCODE) recognizer by @tee-jagz in https://github.com/microsoft/presidio/pull/1858
* Pin ruff and build pip installs by hash for OSSF scorecard compliance by @Copilot in https://github.com/microsoft/presidio/pull/1864
* Add US NPI (National Provider Identifier) recognizer by @stevenelliottjr in https://github.com/microsoft/presidio/pull/1847
* Add transformer-based MedicalNERRecognizer for clinical entity detection by @stevenelliottjr in https://github.com/microsoft/presidio/pull/1853
* feat: Add Nigeria recognizers (National Identity Number and Vehicle Registration) by @tee-jagz in https://github.com/microsoft/presidio/pull/1863
* fix validation_result type in api docs and type hint by @akios-ai in https://github.com/microsoft/presidio/pull/1869
* Bump actions/setup-python from 6.0.0 to 6.2.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1879
* Bump github/codeql-action from 3.32.3 to 4.32.4 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1878
* Bump actions/dependency-review-action from 3.1.5 to 4.8.3 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1877
* Bump microsoft/security-devops-action from 1.11.0 to 1.12.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1876
* Bump actions/github-script from 7.0.1 to 8.0.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1875
* Bump azure/login from 2.1.1 to 2.3.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1874
* Bump docker/setup-buildx-action from 3.7.1 to 3.12.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1873
* Bump actions/cache from 4.2.0 to 5.0.3 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1872
* Bump actions/checkout from 4.2.2 to 6.0.2 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1871
* Bump actions/setup-dotnet from 4.0.1 to 5.1.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1870
* Bump python from `9e01bf1` to `f3fa41d` in /presidio-analyzer by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1887
* Bump python from `3de9a8d` to `f50f56f` in /presidio-anonymizer by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1886
* feat: Add UK passport and vehicle registration recognizers by @tee-jagz in https://github.com/microsoft/presidio/pull/1862
* Add presidio meta-package: bundles analyzer + anonymizer by @Copilot in https://github.com/microsoft/presidio/pull/1889
* Bump python from `3de9a8d` to `f50f56f` in /presidio-image-redactor by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1885
* Add ONNX Runtime backend support to GLiNERRecognizer with extensible parameter passing by @Copilot in https://github.com/microsoft/presidio/pull/1884
* fix: replace 1 bare except clauses with except Exception by @haosenwang1018 in https://github.com/microsoft/presidio/pull/1881
* fix(analyzer): remove erroneous anchor in Italian driver license regex by @Br1an67 in https://github.com/microsoft/presidio/pull/1899
* build(deps): bump actions/dependency-review-action from 4.8.3 to 4.9.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1898
* build(deps): bump docker/setup-buildx-action from 3.12.0 to 4.0.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1897
* build(deps): bump actions/setup-dotnet from 5.1.0 to 5.2.0 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1896
* build(deps): bump github/codeql-action from 4.32.4 to 4.32.6 by @dependabot[bot] in https://github.com/microsoft/presidio/pull/1895
* docs: clarify Presidio's no-auth-by-design stance in README by @Copilot in https://github.com/microsoft/presidio/pull/1903
* Add configurable timeouts to regex execution (default 60 seconds) by @Copilot in https://github.com/microsoft/presidio/pull/1904
* Release 2.2.362 / 0.0.58 by @Copilot in https://github.com/microsoft/presidio/pull/1907
* Add clarity cookie consent to docs site by @SharonHart in https://github.com/microsoft/presidio/pull/1908

## New Contributors
* @ultramancode made their first contribution in https://github.com/microsoft/presidio/pull/1834
* @ravi-jindal made their first contribution in https://github.com/microsoft/presidio/pull/1827
* @Mr-Neutr0n made their first contribution in https://github.com/microsoft/presidio/pull/1855
* @tee-jagz made their first contribution in https://github.com/microsoft/presidio/pull/1858
* @stevenelliottjr made their first contribution in https://github.com/microsoft/presidio/pull/1847
* @akios-ai made their first contribution in https://github.com/microsoft/presidio/pull/1869
* @haosenwang1018 made their first contribution in https://github.com/microsoft/presidio/pull/1881
* @Br1an67 made their first contribution in https://github.com/microsoft/presidio/pull/1899

**Full Changelog**: https://github.com/microsoft/presidio/compare/2.2.361...2.2.362