Releases: benjamin-awd/monopoly
Releases · benjamin-awd/monopoly
v0.12.5
v0.12.4
Changelog
[0.12.4] - 2024-09-15
⛰️ Features
- (banks/dbs) Add support for dbs-posb consolidated
🚜 Refactor
- (statement/debit) Use regex to find header on each page
⚙️ Miscellaneous Tasks
- Add more specific error message for missing header
v0.12.3
Changelog
[0.12.3] - 2024-09-15
🛠️ Bug Fixes
- (banks/ocbc) Support statement date without 'TO'
- (banks/dbs) Use transaction_bound to exclude balances
🚜 Refactor
- Add ISO8601 to constants namespace
- Use ISO8601 for bank statement date patterns
- (banks) Shorten config variable names
- (banks) Declare name in bank instead of config
⚙️ Miscellaneous Tasks
- Remove redundant RELEASE_CHANGELOG.md
- Lower missing debit headers to debug log level
v0.12.2
Changelog
[0.12.2] - 2024-09-08
🛠️ Bug Fixes
- (banks/zkb) Add missing apostrophe in balance regex group
🚜 Refactor
- Allow safety check to be disabled for specific banks
⚙️ Miscellaneous Tasks
- Fix typo in safety check message
- Remove redundant has_no_withdrawal_deposit_columns
v0.12.1
Changelog
[0.12.1] - 2024-09-08
⛰️ Features
- (banks) Add support for zurcherkantonalbank
v0.12.0
Changelog
[0.12.0] - 2024-09-08
⛰️ Features
- (banks) Add support for UOB
🛠️ Bug Fixes
- (transaction) Avoid negative zero value
🚜 Refactor
- (banks) Remove pdfconfig for stan chart and uob
- (detector) Simplify matching logic
- (identifiers) Add caching for metadata identifier
- (detector) Split up functions within is_bank_identified
- (cli) Show number of files processed/errors as final action
⚙️ Miscellaneous Tasks
- (banks) Add type check for identifiers
- (base) Add boundary check for transactions
v0.11.1
Changelog
[0.11.1] - 2024-09-07
🚜 Refactor
- (pdf) Decouple unlock from PdfDocument init
v0.11.0
Changelog
[0.11.0] - 2024-09-05
⛰️ Features
- (banks/hsbc) Add support for non-OCR credit statements
🛠️ Bug Fixes
- (write) Incorrect 'base' statement type in final result
🚜 Refactor
- (pdf) Make PdfDocument a child class of fitz.Document
- (pdf) Use file_path as first arg to PdfDocument
- (pipeline) Move parser & handler creation logic to extract
- Pass PdfPages instead of parser
- (pipeline) Move bank detection logic to CLI
- (detector) Move detector to banks namespace
- Remove unnecessary usage of pydantic dataclasses
- (pdf) Add metadata identifier attr to PdfDocument
- (banks/base) Fix type hint for identifiers
- (pdf) Lazily import ocrmypdf
- (pdf) Perform ocr based on metadata identifiers
- (pipeline) Move parser instantiation logic to CLI
- (pipeline) Allow custom document to be passed
📚 Documentation
- Remove false version from changelog
- (README) Add note about OCR feature
⚙️ Miscellaneous Tasks
- (generic) Add GenericParserError
- Remove unused import
- (pdf) Remove old get_byte_stream function
- Remove old mock_document fixture
- (constants) Remove case insensitive modifier from formats with no words
- (pdf) Improve ocrmypdf performance
- (pipeline) Shorten create_handler function signature
- (generic) Move GenericBank to generic init
- (pipeline) Import Transaction from statements namespace
- Rename generic/generic_handler to generic/handler
- Import from pymupdf instead of fitz
- Linting for ocr changes
Build
- (deps) Bump the deps group with 7 updates
- (deps) Add ocrmypdf as a system dependency
- (deps) Move ocrmypdf to extras
v0.10.10
Changelog
[0.10.10] - 2024-08-26
🚜 Refactor
- (generic) Make most common tuples into set instead of list
- (generic) Create separate class for pattern matching
- (constants) Make enums into top level file
⚙️ Miscellaneous Tasks
- Make CLI banner more concise
- (generic) Remove redundant typehint for date_regex_patterns
- (generic) Remove redundant results var
- (generic) Use self.pages directly instead of passing self.pages
- (generic) Rename vars/functions to use "spans" instead of tuples
- (constants) Move enums in config to statement
v0.10.9
Changelog
[0.10.9] - 2024-08-21
⛰️ Features
- (constants) Add RegexEnum class to automatically compile patterns
🚜 Refactor
- Prevent redundant get_statement() call
- (constants) Add case insensitive flag directly to date groups
- (banks) Use single StatementConfig class
- (banks) Shift responsibility of regex pattern creation to config class
📚 Documentation
- Update PDF_PASSWORDS env var info
- Add docstring for DateFormats
⚙️ Miscellaneous Tasks
- Add check for missing OCR layer
- (ci) Disable too-few-public-methods