- β¨ add support for crop operation for V2
- β¨ add support for split operation for V2
- β¬οΈ bump dependencies
- π fix quality defaulting to 4.17 (300/72) instead of 1 when extracting cropped zones
- π fix split extraction not allowing for image files
- π fix naming in extracted PDFs
- β tslib is never imported, remove from dependencies
- β¨ add to job information
- π fix for printing crop results
- π proper init of webhook payload
- π always use the provided result URL
- β»οΈ rename client options directory (internal)
- β¬οΈ bump dev dependencies to fix vulnerabilities
- π₯ β¨ move PDF and image libraries to optional dependencies (resolves #388)
- β»οΈ π₯ rework of directory structure and exports (resolves #276)
- π₯ drop support for node.js 18
- π₯ β»οΈ separate polling options
- β°οΈ remove support for API builder (no longer maintained, use v2)
- β°οΈ remove support for v1 products available in v2
- β°οΈ remove support for unused products
- β¨ add support for all utility products
- β¨ add V2 CLI
- β¨ add Job to inference responses
- β¨ handle abort signal stream inputs
- β»οΈ use undici (compatible with v6 or v7) for HTTP requests and mocking
- β¨ add the ability for a user to specify their own undici
Dispatcherinstance - β»οΈ migrate to ES modules
- β¨ add Job to inference responses
- π fix for bin scripts
- π₯ drop support for node.js 18
- π₯ β»οΈ separate polling options
- β»οΈ use node test methods
- β»οΈ v1 ocr word should be a class
- β»οΈ make v2 products top level
- π fix for optional node-poppler
- β¬οΈ update file-type
- β»οΈ migrate to ES modules (node18)
- β°οΈ remove support for obsolete/unused products:
- API builder (no longer maintained, use v2)
- β°οΈ remove support for unused products available in v2:
- nutrition facts
- business card
- US healthcare cards
- bill of lading
- β°οΈ remove support for unused products:
- delivery note
- payslip_fra_v2_async
- idcard_fr_v1
- ind_passport_v1_async
- us_mail_v3_async
- energy_bill_fra_v1_async
- french_healthcard_v1_async
- payslip_fra_v3_async
- β»οΈ use undici for HTTP requests and mocking
- β¨ add ability for a user to specify their own undici
Dispatcherinstance - β¨ add basic V2 CLI
- β»οΈ π₯ rework of directory structure
- β»οΈ π₯ rework input source errors
- β¨ handle abort signal stream inputs
- β¨ add support for all utility products
- π₯ β¨ move PDF and image libraries to optional dependencies
- π fix streams not loading properly
- ποΈ deprecate docFromXxx methods
- π extracted images should take rotation into account
- β»οΈ fix minor issues with param syntaxes
- β¨ add support for dataschema param
- β¨ add multi-receipt custom file saving formats
- π fix image extractor dropping quality of extracted PDFs
- β¨ add support for text context
- π add error code to v2 exceptions
- β¨ add more details to V2 errors
- β¨ add RAG metadata in V2 results
- β¨ add getting page count of a local source
- π make sure input sources are only initialized once
- β¨ allow comparing V2 field confidence
- β°οΈ remove obsolete US Mail V2
- β¨ add support for inference options
- β»οΈ refactor rst display to match other SDKs
- β»οΈ π₯ update raw text output from server
- β¨ add typed accessors for fields, list, object
- β¨ add typed value accessors
- β¨ add geometry methods to polygon class
- π Polygon and BoundingBox should be a real classes
- β»οΈ rework local and input sources
- β»οΈ allow direct import of input sources
- β¨ add support for page count & mime type + fix syntaxes
- β»οΈ update internal field syntaxes to match other SDKs
- β»οΈ upgrade toString() display for most fields
- β»οΈ fix internals & upgrade tests
- β¨ add support for URL input source
- β¬οΈ bump dependencies to cover vulnerabilities
- β»οΈ harmonize with other client libraries
- β¨ add support for V2 client
- β»οΈ tweak CI & testing
- β»οΈ deprecate
cutPdf()in favor ofapplyPageOperations()inLocalInputSource - β»οΈ refactor some internals to account for new changes
- π fix bug where polling parameters could ignore validation checks on V1
- β¨ add support for address fields
- β¨ add support for Financial Document V1.12
- β¨ add support for Invoices V4.10
- β¨ add support for US Healthcare Cards V1.2
- π fix default-encrypted & XFA pdfs not opening
- π fix workflow polling not working when ran with ts-node
- π add example script for workflow polling
- β¨ add support for RAG polling
- β¨ add extras accessor from inference
- π fix improper deserialization of extras in some instances
- β¨ add support for rag param in workflow executions
- β¨ add support for Financial Document V1.12
- β¨ add support for Invoices V4.10
- β¨ add support for US Healthcare Cards V1.2
- β¬οΈ upgrade mocha dependency
- π fix null objects being return in extras
- β¨ update structure for InvoiceSplitterV1
- β¨ update FR EnegryBillV1 to V1.2
- β¨ update US HealthcareCardV1 to V1.1
- β°οΈ remove support for EU Driver License
- β°οΈ remove support for License Plates
- β°οΈ remove support for ReceiptV4
- β°οΈ remove support for Proof of Address
- β°οΈ remove support for US Driver License
- β°οΈ remove support for US W9V1
- π fix invalid indexes of some products
- β»οΈ update CLI structure
- β»οΈ remove superfluous canvas dependency
- π update doc
- β¨ add support for image & PDF compression
- π add missing 'failed' value to jobs
- β¨ add support for US Mail V3
- β»οΈ increase async retry timers
- β¨ allow local downloading of remote sources
- β°οΈ remove support for (FR) Carte Vitale V1 in favor of French Health Card V1
- π fix broken loading from bytes
- β¨ add support for French Health Card V1
- β¨ add support for Driver License V1
- β¨ add support for Payslip FR V3
- β°οΈ remove support for international ID V1
- β¨ add support for workflows
- β¨ add configurable http request timeout
- π fix http errors improperly showing as 500 in rare instances
- π fix composed API server response not properly filling full_text_ocr in pages
- β¬οΈ bump dependencies
- β¨ add support for business cards V1
- β¨ add support for delivery note V1.1
- β¨ add support for indian passport V1
- β¨ add support for resume V1.1
- β»οΈ adjust default values for async delays
- β»οΈ remove unused dependencies
- π fix invalid handling of boolean fields & fix accidental coercion into numbers in
GeneratedObjectFieldfields - π fix
GeneratedObjectFieldfields being inaccessible in typescript without going through the main object
- β¨ add support for Financial Document v1.10
- β¨ add support for Invoice v4.8
- β¨ add support for US Mail V2
- β¨ add support for Bill of Lading V1
- β¨ add support for FR Energy Bill V1
- β¨ add support for FR Payslips V1
- β¨ add support for Nutrition Facts Label V1
- β»οΈ refactor internals to accommodate for new changes
- π fix float numbers not containing more 3 decimals in some instances
- π fix boolean field display issues
- π fix values being extracted as
undefinedinstead ofnull, as is present in the initial prediction.
- β¨ add support for full text OCR extraction
- π§ add stricter linting rules
- β»οΈ add integration tests
- π fix page operations not taking minimum threshold into account.
- π add classification detail to guide documentation
- β¬οΈ update dependencies
- π fix broken documentation URLs
- β»οΈ generate missing accessors for products
- β»οΈ add missing async code samples
- β¨ add support for Healthcare Card V1
- β¨ add support for Invoice V4.7
- β¨ add support for Financial Document V1.9
- β»οΈ update display for registration field
- β»οΈ refactored image extraction module to allow for more generic manipulations
- β»οΈ add tests for multipage receipts extraction
- β¨ add support for local response loading
- β¨ add support for HMAC validation for webhooks
- β¨ add support for US Mail V2
- β¨ add support for boolean fields
- β»οΈ fixed Locale display
- β¨ update receipt to 5.2 and financial document to 1.7 (#270)
- β¨ update invoice to 4.6 & financial document to 1.6 (#269)
- β¨ update Invoice to v4.5 (#264)
- π fix error management not following intended flow (#267)
- β»οΈ deprecated old error handler (#266)
- β»οΈ update error handling to account for future evolutions
- β»οΈ expose the input, geometry & imageOperations modules in internals for better fine-tuning
- β»οΈ fix inconsistencies with naming conventions
- π add missing reference documentation
- β¨ add support for resume V1
- β¨ add support for International ID v2
- β¨ add support for EU Driver License V1
π misc doc fixes
- β»οΈ increased update time for async retries
- π fixed improper float parsing for Generated list objects
- π typescript should now allow the use of default values for enqueueAndParse() async options
- π fixed invalid code samples for generated & async generic APIs
- π fix corresponding docs
- β¨ add support for Generated APIs
- β¨ add custom GeneratedList & GeneratedObject classes linked to Generated APIs
- β¬οΈ update test lib to add testing samples for Generated APIs
- β¬οΈ upgraded dependencies & lockfile version
- β»οΈ add new generated namespace & associated documentation
- π§ add unit tests for generated APIs
- π§ add code samples for generated APIs
- β»οΈ add CLI entry for generated APIs
- π add documentation entry for generated APIs
- β»οΈ expose a bit more of our internals for easier use (#247)
- π fix invoice v4 md doc
- β¬οΈ update invoices to 4.4
- β¨ add rawValue to string fields.
- β»οΈ tweak async delays & retry
- β»οΈ tweak default async sample delays & retry
- π update md doc & fix typos
- β¨ add invoice-splitter auto-splitting feature
- π add examples to illustrate auto-splitting feature
- β»οΈ add unit tests for auto-splitting feature
- β»οΈ rename
exemplefolder toexample - β¬οΈ update testing library
- β¨ add Multi-Receipts auto-extraction feature
- π¨ add example file to illustrate multi-receipt image extraction feature
- β»οΈ add new imageOperations namespace
- β»οΈ fix loose typing issues for inputsources
- β¨ add support for Carte Grise V1
- β¨ add page nubmer attribute to doc
- β¬οΈ update product tests & doc
- π fix broken
page_idattribute for newer custom builds
- β»οΈ update invoice splitter
- π fix display issues when products didn't have pages
- π fix doc typos
- β¬οΈ dependency upgrade
- β»οΈ minor refactoring
- π take line height tolerance into account when evaluating fields
- β¨ add line items reconstruction for API builder
- β¨ add support for W9 V1
- β¨ add support for Barcode Reader V11
- β¨ add support for Multi Receipt Detector V1
- β¨ add support for FR Id Card V2
- β¨ add support for OTS Cropper V1
- π update documentation
- π fix missing position field display issues
- π fix issues with asynchronous timeouts crashing in some instances
- β»οΈ tweaked timer management in async
- π fix ocr option not being generated as an Ocr object
- π₯ remove support for node versions <16
- β¨ add support for auto-polling in asynchronous calls
- β¨ update HTTP error management system
- β¨ add possibility to access raw server response
- β¬οΈ add support for node 20
- π§ expose more internal tools
- π add better technical documentation
- β»οΈ remove deprecated examples
- β»οΈ update linting rules
- β¬οΈ update testing library
- π fix miscellaneous bugs related to http parsing issues
- β»οΈ updated technical documentation
- π fix url source document not being sent properly
- π fixed pre-commit dependency script blocking installs
- π¨ π₯ harmonize response types with other libraries
- π¨ π₯ change endpoint management & syntax
- π¨ π₯ move products to
productmodule
- β¨ add full support for page-specific attributes
- β¨ add support for FR Id Card
- β¨ add support for US Driver License
- β¨ add auto-generated md documentation
- β¨ add text reconstruction when using the
allWordsparameter (full OCR) - β»οΈ updated CLI to accommodate for newest changes
- β°οΈ remove InvoiceV3
- β°οΈ remove ReceiptV3
- β»οΈ update tests to accommodate for newest changes
- β»οΈ re-organized parsing module (common/standard/custom)
- π better logging of JSON errors
- β¬οΈ update dependencies
- βοΈ added missing entry in changelog
- β¨ add support for FR Bank Account Details V2
- β»οΈ update printing syntax & unit test for Receipt v5
- β°οΈ removed support for Shipping Container
- β¨ support for financial document v1.1
- β»οΈ change http status code handling for async requests
- π fix typing in PaymentDetails
- π locale value should always be set
- π add missing class properties on new line items
- β¨ add support for receipt v5
- β¨ print taxes in table layout
- β minor improvements to tests
- π fix for options not being passed properly in the CLI tool
- β¬οΈ upgrade to TypeScript 5.0.3
- π¦Ί ban-ts-comment should be an error
- β Add docs with code samples and use them for testing
- π export DocumentClient class for easier 3rd party integration
- π only display the job info when CLI parse-queued is processing
- π make sure all documents are exported properly
- β¨ add support for asynchronous predictions
- β¨ add experimental support for line items in custom documents
- π¨ harmonize bbox and bounding box terminology
- β¬οΈ update test files, minor updates to string output
- π·οΈ classification fields are always strings
- π fix error message for missing API key, document type may be undefined
- β¨ Add support for the mindee_vision API (for internal testing)
- β¨ support Proof of Address V1
- β¨ Add support for: financial document v1
- β¬οΈ update jsdoc
The FinancialDocumentV1 class now uses an actual API call to the new route financial_document.
Previously, determining whether a document is an invoice or a receipt was done internally by this library.
The API call way is much better, however some fields have been renamed compared to the internal handling.
This was done so field names now match exactly Invoice and Receipt classes.
As such, we encourage users to migrate to the new field structure.
If this is problematic, it's possible to use the deprecated way.
Simply pass FinancialDocumentV0 to the parse method.
Usage is otherwise identical.
- π updates to class documentation
- β¨ Add invoice splitter support (beta)
- π fix for CLI command option description
- π·οΈ Added typing information, get rid of
anytype in various places - β»οΈ Use a specific
TextFieldclass for fields we know are textual - β¬οΈ update dependencies
- π Expose various class and type definitions to improve developer experience
- β¨ Support Receipt V4.1
- β¨ Support Invoice V4.1
- β¨ Add Invoice V4 with line items
- β¨ An env variable can be used to change the Mindee base API url
- β¨ Add support for shipping container API V1
- β¨ Add support for EU license plate V1
- π Fix page removal in CLI
- β¨ Add support for Carte Vitale V1
- β¨ Add support for FR Bank Account Details V1
- π Export and add comments for method parameters.
- β¨ Add support for US Bank Check V1
- π fix proper import and documentation of region-specific documents
- β¨ Add support for French ID cards.
- β¨ add buffer input source
- π Fix for
supplierproperty name inReceiptV4document.
- β¨ New PDF cut system, which allows specifying exactly which pages to keep or remove.
- β»οΈ PDF documents are no longer cut by default, use the
pageOptionsparameter in theparsemethod. - β¨ Document (endpoints) are now versioned, providing better backward-compatible support.
- β»οΈ Pass the document class instead of the response class to the
parsemethod. - β»οΈ Some methods and parameters renamed for better clarity.
- β¨ New URL input source,
docFromUrl. - β¨ Add support for expense receipts V4
- π fix for sending base64 documents.
- β¨ add cropper support to predict requests
- β¨ add stand-alone cropper support
- π Fix for packaging and documentation related to commonJS imports
This is a complete rewrite in TypeScript!
It's not backwards compatible with previous versions.
- β¨ Add Passport API support
- β¨ Add custom document support (API builder)
- β¨ Add basic geometry functions
- π·οΈ everything is typed, in particular response objects. Allows for much easier auto-completion in your IDE.
- β¬οΈ all major dependencies updated
- β¨ Add TIFF and HEIC support
- β fully test PDF cut function
- π cut/merge pages of an encrypted PDF leads to unexpected results
- π logger not activating in some cases
- π align PDF cut/merge with other client libs
- π reject errors instead of printing them only to the console
- π use PDF length instead of cut PDF size limit
- π forward api error to stderr instead of stdout
- β¨ allow sending the filename for streams and base64
- π not able to specify MIME type
- π change license to MIT
- β add node18 to tests
- various package updates
- π Get
wordsvalues whenincludeWordsparameter istrue
- β¨ New Mindee Invoice API V3 support
- β¨ Add new supplier and customer fields
- π Fix returned probability value
- π Fix returned bbox value
- β¨ New Mindee API V2 support
- β‘ Server side invoice reconstruction from multi-page pdfs
- β¨ Added OS in User-Agent headers
- π handle attribute of type array when merging pages
- π add .DS_Store to ignore file
- π fix cutPDF for ReadableStream + add it for base64 file string
- π Updated api Input initialization to specifically declare parameters
- π prevent error when the mime type isn't detectable
- π raise proper error when the APi doesn't return a valid JSON
- β¨ Added pdf page number parameter for multi-pages pdfs with file
- β¬οΈ upgrade path-parse dependency
- β¬οΈ upgrade browserslist dependency
- β¬οΈ upgrade lodash dependency
- β¬οΈ upgrade y18n dependency
- β¨ β‘ Add a parameter
filenameand a default filename for streams - β‘ Change parse function to use an object instead of multiples parameters
- π _request parameters
- π
pageNumberdefault value - π reconstruction method set fields to probability
- β‘ Better coverage for total tax
- π
includeWordsis now working
- π First release