Skip to content

v3.0.0

Latest

Choose a tag to compare

@ianardee ianardee released this 19 Jun 08:24
· 3 commits to main since this release
57ec68c

¡Breaking Changes!

  • 💥 ♻️ update V1 & V2 syntaxes to match other SDKs
    • ♻️ move V1 client to V1 module
    • ♻️ move V2 client to V2 module
    • ♻️ move legacy products to 'V1' module
    • ♻️ add parsing and extraction to V1 module
    • ♻️ move V1 Http to V1 namespace
    • ♻️ move V2 Http to V2 namespace
    • ♻️ move data schema to extraction parameters namespace
  • 💥 ♻️ remove /v1 and /v2 from base URLs to match other SDKs
  • 💥 ♻️ Remove V2 Inference in favor of extraction
  • 💥 ♻️ Change webhooksIds parameter to webhookIds
  • 💥 ♻️ Move PDF & Image operations to their respective namespaces and remove Extraction namespace
  • 💥 ♻️ Harmonize all acronyms as proper camelCase & PascalCase
  • 💥 ♻️ Add full support for strict typing
  • 💥 ♻️ remove sourceFrom initializers in favor of direct InputSource initialization
  • 💥 remove support for the following V1 products:
    • ⚰️ Bill of Lading
    • ⚰️ Delivery Note
    • ⚰️ (FR) Energy Bill
    • ⚰️ (FR) Healthcare Card
    • ⚰️ (IND) Passport
    • ⚰️ Nutrition Facts
    • ⚰️ (FR) Payslip
    • ⚰️ (US) Healthcare Card
    • ⚰️ (US) Mail
  • 💥 ♻️ move page count to attribute

Changes

  • ✨ add support for model search from the V2 client
  • ✨ add support for full types
  • ✨ add crop and split extractors from product classes
  • ✨ add support for V2 CLI
  • ♻️ change Pagination class to PaginationMetadata
  • 🔧 add support for better tooling
    • 🔧 add PHPStan
    • 🔧 add Whisky
    • 🔧 add Rector
    • 🔧 ⚰️ remove support for PHP Code Sniffer
  • 🔧 enforce stricter rules for coding

Fixes

  • 🐛 fix mismanagement of some input sources
  • 🐛 fix many typing errors
  • 🐛 fix PDF operations attempt to open files when not supported
  • 🐛 fix missing API key error not being properly raised in some instances

Full Changelog: v3.0.0-rc1...v3.0.0