Skip to content

Releases: benjamin-awd/monopoly

v0.10.8

17 Aug 16:12
Compare
Choose a tag to compare

Changelog

[0.10.8] - 2024-08-17

🚜 Refactor

  • (banks) Remove EncryptionIdentifier
  • Use header patterns to identify statement type
  • Use default factory instead of frozen for DateOrder
  • Move PdfPasswords to pdf module
  • Reduce type hint verbosity by using BaseStatement

v0.10.7

11 Aug 07:08
Compare
Choose a tag to compare

Changelog

[0.10.7] - 2024-08-11

🚜 Refactor

  • (banks) Remove encryption identifier

⚙️ Miscellaneous Tasks

  • (banks/sc) Add text identifier

v0.10.6

11 Aug 04:53
Compare
Choose a tag to compare

Changelog

[0.10.6] - 2024-08-11

🚜 Refactor

  • Simplify bank detection function

📚 Documentation

  • (README) Update information on PDF_PASSWORDS env var

Build

  • (deps) Bump the deps group with 7 updates

v0.10.5

03 Aug 15:56
Compare
Choose a tag to compare

Changelog

[0.10.5] - 2024-08-03

⚙️ Miscellaneous Tasks

  • Use simpler identifier for example bank

v0.10.4

03 Aug 15:36
Compare
Choose a tag to compare

Changelog

[0.10.4] - 2024-08-03

🛠️ Bug Fixes

  • (publish) Trigger on push of tags or manual workflow

🚜 Refactor

  • (handler) Add more descriptive error for missing credit config
  • (write) Generate hash based on transactions

v0.10.3

14 Jul 10:36
Compare
Choose a tag to compare

Changelog

[0.10.3] - 2024-07-14

🛠️ Bug Fixes

  • (cd/publish) Set release_to_pypi to true on push
  • (banks/maybank) Add missing encryption identifier for credit statements
  • (detector) Ensure pdf_property_identifiers are not bypassed
  • (banks) Add identifiers for decrypted PDFs without encrypt dict

v0.10.2

14 Jul 08:45
Compare
Choose a tag to compare

Changelog

[0.10.2] - 2024-07-14

⛰️ Features

  • (cli) Add verbose output for error messages

🛠️ Bug Fixes

  • (pipeline) Explicitly call get_transactions() in extract

🚜 Refactor

  • (statements/debit) Recalculate debit header for each page
  • (statements/debit) Create separate has_debit_header property
  • (statements/debit) Remove redundant typehint for match
  • Store raw_text property in PdfDocument
  • (statement) Move regex from func to init
  • Move identifiers to separate file
  • Split up constants across multiple files
  • Use RunConfig class to hold run arguments
  • (detector) Cache metadata_items()

v0.10.1

10 Jul 14:58
Compare
Choose a tag to compare

Changelog

[0.10.1] - 2024-07-10

🛠️ Bug Fixes

  • Banks with only text identifiers

🧪 Testing

  • Remove redundant @skip_if_encrypted from test_auto_detect_bank

⚙️ Miscellaneous Tasks

  • (examples) Add text identifier example

v0.10.0

05 Jul 16:18
Compare
Choose a tag to compare

Changelog

[0.10.0] - 2024-07-05

⛰️ Features

  • Detect bank based on file text

🛠️ Bug Fixes

  • (ci) Continue even if unlock step fails
  • (ci) Use && operator instead of &
  • if multiple identifiers are given, all should match

🚜 Refactor

  • (statements) Cache safety check function
  • (banks,config) Use global password array
  • (banks) Allow multiple sets of identifiers per bank
  • (pdf) Split opening/unlocking logic to PdfDocument class
  • (banks/identifier) Add more functions & remove cartesian product
  • Rename MetadataAnalyzer to BankDetector

🧪 Testing

  • Remove unused file_path var
  • Add tests for pipeline with bank arg

⚙️ Miscellaneous Tasks

  • (statements) Add more detailed docstring for safety check error
  • (examples) Update single_statement with example bank arg
  • (cli) Rename unused kwargs to _
  • (handler) Use repr() instead of __repr__
  • (handler) Disable broad-exeception-caught for catchall
  • (identifiers) Use parent class for type
  • (banks/base) Remove unnecessary if condition from validate_config
  • (constants) Disable too-many-attrs for DateRegexPatterns

Build

  • (deps) Bump the deps group with 9 updates

v0.9.6

23 Jun 14:21
Compare
Choose a tag to compare

Changelog

[0.9.6] - 2024-06-23

📚 Documentation

  • (CHANGELOG) Only include latest changes in release