Skip to content

Releases: benjamin-awd/monopoly

v0.9.5

23 Jun 09:07
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[0.9.5] - 2024-06-23

⛰️ Features

  • Provide support for python 3.10

🛠️ Bug Fixes

  • (build) Remove mypy from main dependencies

🚜 Refactor

  • (build) Allow poetry action to skip install
  • (build) Allow poetry action to install in system env

📚 Documentation

  • Update old emojis in changelog
  • Simplify install instructions & add dev setup
  • (README) Add brew install alternative
  • (logo) Support dark mode

⚙️ Miscellaneous Tasks

  • Add brewfile dev lock file to gitignore
  • Remove brewfile.dev
  • Remove makefile version pin on python 3.11
  • (build) Add runner os to poetry cache key

Build

  • (dev-deps) Add git cliff

[0.9.4] - 2024-06-13

⛰️ Features

  • (generic/constants) Add dd_mm_yy pattern
  • (generic/constants) Add support for dd_mm_yy pattern
  • (banks) Add Maybank debit and credit support
  • (statements) Attempt to calculate total sum using subtotals

🛠️ Bug Fixes

  • (generic) Use better default types for most_common_pattern/tuples
  • (config/typing) Add has_withdraw_deposit_column to base statement

🚜 Refactor

  • (generic/constants) Add DRY pattern for YYYY
  • (generic/constants) Add spaces in delimiter for all dd_mm_ patterns
  • (statements) Remove outdated re-parsing of document with pymupdf
  • (generic/constants) Add \b suffix for yy/yyyy patterns
  • (generic) Add tolerance for misaligned dates across pages
  • (statement/debit) Only try to get debit suffix if withdraw/deposit cols exist
  • (constants) Add support for + or - in suffix
  • (banks) Allow loose metadata field matching

📚 Documentation

  • Move web demo gif to monopoly-streamlit
  • Use emoji instead of : syntax

⚙️ Miscellaneous Tasks

  • (generic/constants) Change all patterns to raw string
  • (release) Change features emoji to ⛰️
  • Use 🛠️ as bug fix emoji

[0.9.3] - 2024-06-09

⛰️ Features

  • (ci) Add publish workflow

🛠️ Bug Fixes

  • (ci) Update step name to setup-python
  • (ci) Run poetry tasks one at a time
  • (cli) Allow safety_check to be passed to concurrent executor

🚜 Refactor

  • (ci) Run git-crypt unlock without temp file
  • (statement/debit) Add better handling for suffixes
  • (metadata) Use consistent return statement
  • (generic) Conform to snake_case naming pattern

📚 Documentation

  • Add POSB to supported banks
  • Add CHANGELOG using git cliff

🧪 Testing

  • Add newline to .gc_check file

⚙️ Miscellaneous Tasks

  • Add CODEOWNERS file
  • (ci) Bump poetry to 1.8.3
  • Update ruff syntax
  • (ci) Re-add flake8
  • (cli) Add kwargs to run function

[0.9.1] - 2024-06-09

⛰️ Features

  • (pipeline) Support file_bytes and passwords args

Build

  • (deps) Support python 3.12 and pipx install

[0.9.0] - 2024-06-09

⛰️ Features

  • (ci) Add caching for pdftotext
  • (ci) Add parallelism for pylint
  • (cli) Add verbose flag

🚜 Refactor

  • (cli) Use kwargs in monopoly()
  • (pipeline) Improve logging
  • (ci) Replace pylint pre-commit with ruff
  • (ci) Use pytest -n auto precommit hook
  • Use COMMA_FORMAT variable for shared amount patterns
  • (generic) Use double curly braces instead of string template
  • Shift regex compilation to base statement
  • (generic) Use same patterns for generic and bank-specific parser
  • (generic) Add caching for properties and transaction getter
  • (load) Partition by statement_date
  • (pipeline) Make transform() less verbose by only passing statement

📚 Documentation

  • Update README for generic handler
  • Update license badge

🧪 Testing

  • Remove unused fixtures and args
  • Use @pytest.mark.usefixtures instead of unused arg

⚙️ Miscellaneous Tasks

  • Rename monopoly-sg to monopoly-core
  • (generic) Add better logging in handler functions
  • Add better logging for PdfParser
  • Add more logging during metadata identification
  • Fix type hints for identifiers
  • (brew) Split dev dependencies into separate brewfile
  • Bump to 0.9.1

Build

  • (deps) Bump the deps group with 5 updates

[0.8.2] - 2024-06-09

⛰️ Features

  • [breaking] Add Pipeline and GenericStatementHandler classes
  • (cli) Allow safety check to be disabled

🛠️ Bug Fixes

  • Standard chartered transaction pattern
  • Ocbc debit statement date pattern

🚜 Refactor

  • Remove redundant AMOUNT_WITH_CASHBACK pattern
  • Make shared patterns slightly more DRY
  • Create helper function to get filtered transaction lines
  • Use more precise regex pattern for amounts
  • Remove dbs specific logic for multiline descriptions
  • Separate logic for blank line and next line check
  • (transaction) Shorten transaction_date to transaction

⚙️ Miscellaneous Tasks

  • Re-add python-xdist to dev deps
  • Rename ExampleBankProcessor to ExampleBank
  • Re-add flake8
  • Bump to 0.9.0

[0.8.1] - 2024-06-09

🚜 Refactor

  • (cli) Tweak delay to 0.2
  • Rename StatementFields to Columns
  • Rename AccountType to EntryType
  • Rename transaction_date to date on CSV

⚙️ Miscellaneous Tasks

  • Bump to 0.8.1

[0.8.0] - 2024-06-09

⛰️ Features

  • (cli) Enable single threaded mode with -s flag

🚜 Refactor

  • Use helper class to store date order settings
  • (cli) Move handler import inside processing function
  • Remove unnecessary pandas and numpy dependency
  • (load) Store file formats in dictionary
  • Remove unnecessary pdf2john dependency

🧪 Testing

  • Add test for generate_name()
  • Add test for cli pprint function

[0.7.10] - 2024-06-09

🚜 Refactor

  • (ci) Use git crypt action with caching
  • (processor) Move class variables type hints to base
  • Rename StatementProcessor to StatementHandler
  • Move example bank to example folder
  • [breaking] Rename processors to banks
  • [breaking] Decouple banks from statements and parser

[0.7.9] - 2024-06-09

🚜 Refactor

  • Use dateparser instead of custom date patterns
  • Remove dependency on bank files for generic tests
  • (config) Default date order to DMY

⚙️ Miscellaneous Tasks

  • Switch to AGPLv3 license
  • Update gitignore

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump tqdm from 4.66.2 to 4.66.3

[0.7.8] - 2024-06-09

📚 Documentation

  • Add streamlit demo

[0.7.7] - 2024-06-09

🛠️ Bug Fixes

  • Use correct date format for standard chartered

[0.7.6] - 2024-06-09

⛰️ Features

  • (pdf) Allow files to be passed as a byte stream

🚜 Refactor

  • (load) Generate hash based on pdf metadata

⚙️ Miscellaneous Tasks

  • Bump to 0.7.7

[0.7.5] - 2024-06-09

⚙️ Miscellaneous Tasks

  • Add png logo
  • Add new logo

[0.7.4] - 2024-06-09

⛰️ Features

  • (parser) Raise proper exceptions during password handling
  • (parser) Add specific exception for unsupported banks

⚙️ Miscellaneous Tasks

  • Bump to 0.7.5

[0.7.3] - 2024-06-09

⛰️ Features

  • Add passwords as kwarg to detect_processor

[0.7.2] - 2024-06-09

🛠️ Bug Fixes

  • Date config for example bank

Build

  • (deps-dev) Bump idna from 3.6 to 3.7

[0.7.1] - 2024-06-09

🛠️ Bug Fixes

  • (processor) Handle leap year dates

⚙️ Miscellaneous Tasks

  • Update black formatting

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump the deps group with 5 updates

[0.7.0] - 2024-06-09

🛠️ Bug Fixes

  • (processor) Improve handling for multi-year statements

Build

  • (deps) Bump the deps group with 6 updates
  • (deps-dev) Bump cryptography from 41.0.6 to 42.0.0

[0.6.7] - 2024-06-09

🚜 Refactor

  • (statements) Raise exception if safety check fails

[0.6.6] - 2024-06-09

⛰️ Features

  • (statements/credit) Support multiple prev balances

🛠️ Bug Fixes

  • (statements/debit) Ralign header pos instead of lalign

🚜 Refactor

  • (cli) Broaden error catching

📚 Documentation

  • Note for dbs debit statement

[0.6.5] - 2024-06-09

⛰️ Features

  • (cli) Add --version flag
  • Add support for cloud run secrets via env var

🚜 Refactor

  • (tests/cli) Add cli_runner flag
  • (config) Use secret string to obscure passwords

⚙️ Miscellaneous Tasks

  • Bump to 0.6.6

[0.6.4] - 2024-06-09

🚜 Refactor

  • (statement) Use re.search to catch hsbc second date

[0.6.3] - 2024-06-09

🛠️ Bug Fixes

  • Handling for cross-year transactions

Build

  • (deps) Bump the deps group with 9 updates

[0.6.2] - 2024-06-09

🛠️ Bug Fixes

  • (dbs) Statements may sometimes have transactions on the last page
  • (pdf) Attempt to proceed without garbage collection on first pass

[0.6.1] - 2024-06-09

⛰️ Features

  • (statements/base) Include statement name in safety warning message

🛠️ Bug Fixes

  • (statements/debit) Mitigate error caused by False == False -> True logic
  • (ocbc) Only use one method to get text from pdf
  • (ocbc) Remove redundant page filter

🚜 Refactor

  • (tests) Create DRY fixture for statement setup

⚙️ Miscellaneous Tasks

  • Bump to 0.6.2

[0.6.0] - 2024-06-09

🛠️ Bug Fixes

  • (write) Use variable instead of string

[0.5.0] - 2024-06-09

🛠️ Bug Fixes

  • Regex pattern for example statement

🚜 Refactor

  • Use separate config class for debit and credit
  • Create separate processing for debit and credit
  • Always run safety check
  • (statement) Split safety check logic for debit & credit
  • (processor) Split debit and credit statement processing
  • (statement) Allow debit_config to be undeclared in bank processor subclasses
  • (base-processor) Remove redundant class attributes
  • (processor-base) Migrate statement creation logic to base
  • (statements) Group statement classes within directory + create base class
  • (statements) Rename debit_account_identifier to debit_statement_identifier

📚 Documentation

  • (README) Remove reference to apt
  • (processor) Add function docstrings

⚙️ Miscellaneous Tasks

  • Update example statement
  • Bump to 0.6.0

[0...

Read more

v0.9.4

13 Jun 14:09
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[0.9.4] - 2024-06-13

⛰️ Features

  • (generic/constants) Add dd_mm_yy pattern
  • (generic/constants) Add support for dd_mm_yy pattern
  • (banks) Add Maybank debit and credit support
  • (statements) Attempt to calculate total sum using subtotals

🛠️ Bug Fixes

  • (generic) Use better default types for most_common_pattern/tuples
  • (config/typing) Add has_withdraw_deposit_column to base statement

🚜 Refactor

  • (generic/constants) Add DRY pattern for YYYY
  • (generic/constants) Add spaces in delimiter for all dd_mm_ patterns
  • (statements) Remove outdated re-parsing of document with pymupdf
  • (generic/constants) Add \b suffix for yy/yyyy patterns
  • (generic) Add tolerance for misaligned dates across pages
  • (statement/debit) Only try to get debit suffix if withdraw/deposit cols exist
  • (constants) Add support for + or - in suffix
  • (banks) Allow loose metadata field matching

📚 Documentation

  • Move web demo gif to monopoly-streamlit
  • Use emoji instead of : syntax

⚙️ Miscellaneous Tasks

  • (generic/constants) Change all patterns to raw string
  • (release) Change features emoji to ⛰️
  • Use 🛠️ as bug fix emoji

[0.9.3] - 2024-06-09

🚀 Features

  • (ci) Add publish workflow

🐛 Bug Fixes

  • (ci) Update step name to setup-python
  • (ci) Run poetry tasks one at a time
  • (cli) Allow safety_check to be passed to concurrent executor

🚜 Refactor

  • (ci) Run git-crypt unlock without temp file
  • (statement/debit) Add better handling for suffixes
  • (metadata) Use consistent return statement
  • (generic) Conform to snake_case naming pattern

📚 Documentation

  • Add POSB to supported banks
  • Add CHANGELOG using git cliff

🧪 Testing

  • Add newline to .gc_check file

⚙️ Miscellaneous Tasks

  • Add CODEOWNERS file
  • (ci) Bump poetry to 1.8.3
  • Update ruff syntax
  • (ci) Re-add flake8
  • (cli) Add kwargs to run function

[0.9.1] - 2024-06-09

🚀 Features

  • (pipeline) Support file_bytes and passwords args

Build

  • (deps) Support python 3.12 and pipx install

[0.9.0] - 2024-06-09

🚀 Features

  • (ci) Add caching for pdftotext
  • (ci) Add parallelism for pylint
  • (cli) Add verbose flag

🚜 Refactor

  • (cli) Use kwargs in monopoly()
  • (pipeline) Improve logging
  • (ci) Replace pylint pre-commit with ruff
  • (ci) Use pytest -n auto precommit hook
  • Use COMMA_FORMAT variable for shared amount patterns
  • (generic) Use double curly braces instead of string template
  • Shift regex compilation to base statement
  • (generic) Use same patterns for generic and bank-specific parser
  • (generic) Add caching for properties and transaction getter
  • (load) Partition by statement_date
  • (pipeline) Make transform() less verbose by only passing statement

📚 Documentation

  • Update README for generic handler
  • Update license badge

🧪 Testing

  • Remove unused fixtures and args
  • Use @pytest.mark.usefixtures instead of unused arg

⚙️ Miscellaneous Tasks

  • Rename monopoly-sg to monopoly-core
  • (generic) Add better logging in handler functions
  • Add better logging for PdfParser
  • Add more logging during metadata identification
  • Fix type hints for identifiers
  • (brew) Split dev dependencies into separate brewfile
  • Bump to 0.9.1

Build

  • (deps) Bump the deps group with 5 updates

[0.8.2] - 2024-06-09

🚀 Features

  • [breaking] Add Pipeline and GenericStatementHandler classes
  • (cli) Allow safety check to be disabled

🐛 Bug Fixes

  • Standard chartered transaction pattern
  • Ocbc debit statement date pattern

🚜 Refactor

  • Remove redundant AMOUNT_WITH_CASHBACK pattern
  • Make shared patterns slightly more DRY
  • Create helper function to get filtered transaction lines
  • Use more precise regex pattern for amounts
  • Remove dbs specific logic for multiline descriptions
  • Separate logic for blank line and next line check
  • (transaction) Shorten transaction_date to transaction

⚙️ Miscellaneous Tasks

  • Re-add python-xdist to dev deps
  • Rename ExampleBankProcessor to ExampleBank
  • Re-add flake8
  • Bump to 0.9.0

[0.8.1] - 2024-06-09

🚜 Refactor

  • (cli) Tweak delay to 0.2
  • Rename StatementFields to Columns
  • Rename AccountType to EntryType
  • Rename transaction_date to date on CSV

⚙️ Miscellaneous Tasks

  • Bump to 0.8.1

[0.8.0] - 2024-06-09

🚀 Features

  • (cli) Enable single threaded mode with -s flag

🚜 Refactor

  • Use helper class to store date order settings
  • (cli) Move handler import inside processing function
  • Remove unnecessary pandas and numpy dependency
  • (load) Store file formats in dictionary
  • Remove unnecessary pdf2john dependency

🧪 Testing

  • Add test for generate_name()
  • Add test for cli pprint function

[0.7.10] - 2024-06-09

🚜 Refactor

  • (ci) Use git crypt action with caching
  • (processor) Move class variables type hints to base
  • Rename StatementProcessor to StatementHandler
  • Move example bank to example folder
  • [breaking] Rename processors to banks
  • [breaking] Decouple banks from statements and parser

[0.7.9] - 2024-06-09

🚜 Refactor

  • Use dateparser instead of custom date patterns
  • Remove dependency on bank files for generic tests
  • (config) Default date order to DMY

⚙️ Miscellaneous Tasks

  • Switch to AGPLv3 license
  • Update gitignore

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump tqdm from 4.66.2 to 4.66.3

[0.7.8] - 2024-06-09

📚 Documentation

  • Add streamlit demo

[0.7.7] - 2024-06-09

🐛 Bug Fixes

  • Use correct date format for standard chartered

[0.7.6] - 2024-06-09

🚀 Features

  • (pdf) Allow files to be passed as a byte stream

🚜 Refactor

  • (load) Generate hash based on pdf metadata

⚙️ Miscellaneous Tasks

  • Bump to 0.7.7

[0.7.5] - 2024-06-09

⚙️ Miscellaneous Tasks

  • Add png logo
  • Add new logo

[0.7.4] - 2024-06-09

🚀 Features

  • (parser) Raise proper exceptions during password handling
  • (parser) Add specific exception for unsupported banks

⚙️ Miscellaneous Tasks

  • Bump to 0.7.5

[0.7.3] - 2024-06-09

🚀 Features

  • Add passwords as kwarg to detect_processor

[0.7.2] - 2024-06-09

🐛 Bug Fixes

  • Date config for example bank

Build

  • (deps-dev) Bump idna from 3.6 to 3.7

[0.7.1] - 2024-06-09

🐛 Bug Fixes

  • (processor) Handle leap year dates

⚙️ Miscellaneous Tasks

  • Update black formatting

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump the deps group with 5 updates

[0.7.0] - 2024-06-09

🐛 Bug Fixes

  • (processor) Improve handling for multi-year statements

Build

  • (deps) Bump the deps group with 6 updates
  • (deps-dev) Bump cryptography from 41.0.6 to 42.0.0

[0.6.7] - 2024-06-09

🚜 Refactor

  • (statements) Raise exception if safety check fails

[0.6.6] - 2024-06-09

🚀 Features

  • (statements/credit) Support multiple prev balances

🐛 Bug Fixes

  • (statements/debit) Ralign header pos instead of lalign

🚜 Refactor

  • (cli) Broaden error catching

📚 Documentation

  • Note for dbs debit statement

[0.6.5] - 2024-06-09

🚀 Features

  • (cli) Add --version flag
  • Add support for cloud run secrets via env var

🚜 Refactor

  • (tests/cli) Add cli_runner flag
  • (config) Use secret string to obscure passwords

⚙️ Miscellaneous Tasks

  • Bump to 0.6.6

[0.6.4] - 2024-06-09

🚜 Refactor

  • (statement) Use re.search to catch hsbc second date

[0.6.3] - 2024-06-09

🐛 Bug Fixes

  • Handling for cross-year transactions

Build

  • (deps) Bump the deps group with 9 updates

[0.6.2] - 2024-06-09

🐛 Bug Fixes

  • (dbs) Statements may sometimes have transactions on the last page
  • (pdf) Attempt to proceed without garbage collection on first pass

[0.6.1] - 2024-06-09

🚀 Features

  • (statements/base) Include statement name in safety warning message

🐛 Bug Fixes

  • (statements/debit) Mitigate error caused by False == False -> True logic
  • (ocbc) Only use one method to get text from pdf
  • (ocbc) Remove redundant page filter

🚜 Refactor

  • (tests) Create DRY fixture for statement setup

⚙️ Miscellaneous Tasks

  • Bump to 0.6.2

[0.6.0] - 2024-06-09

🐛 Bug Fixes

  • (write) Use variable instead of string

[0.5.0] - 2024-06-09

🐛 Bug Fixes

  • Regex pattern for example statement

🚜 Refactor

  • Use separate config class for debit and credit
  • Create separate processing for debit and credit
  • Always run safety check
  • (statement) Split safety check logic for debit & credit
  • (processor) Split debit and credit statement processing
  • (statement) Allow debit_config to be undeclared in bank processor subclasses
  • (base-processor) Remove redundant class attributes
  • (processor-base) Migrate statement creation logic to base
  • (statements) Group statement classes within directory + create base class
  • (statements) Rename debit_account_identifier to debit_statement_identifier

📚 Documentation

  • (README) Remove reference to apt
  • (processor) Add function docstrings

⚙️ Miscellaneous Tasks

  • Update example statement
  • Bump to 0.6.0

[0.4.7] - 2024-06-09

🚀 Features

  • Add support for debit statements

🚜 Refactor

  • (processor) Remove redundant else condition from convert_date
  • (statement) Reduce property nesting for statement_date
  • (statement) Let processor handle injection of prev mth balance

Build

  • Add grouping for dependabot PRs
  • (deps) Bump tqdm from 4.65.0 to 4.66.1
  • (deps) Bump pymupdf from 1.23.6 to 1.23.7
  • Bump dependencies
  • (deps-dev) Bump the deps group with 2 updates

[0.4.6] - 2024-06-09

🚜 Refactor

  • (load) Hash using raw pdf content instead of filename

[0.4.5] - 2024-06-09

🚜 Refactor

  • (processor) Allow file path to be passed as string or Pa...
Read more

v0.9.3

09 Jun 13:20
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[0.9.3] - 2024-06-09

🚀 Features

  • (ci) Add publish workflow

🐛 Bug Fixes

  • (ci) Update step name to setup-python
  • (ci) Run poetry tasks one at a time
  • (cli) Allow safety_check to be passed to concurrent executor

🚜 Refactor

  • (ci) Run git-crypt unlock without temp file
  • (statement/debit) Add better handling for suffixes
  • (metadata) Use consistent return statement
  • (generic) Conform to snake_case naming pattern

📚 Documentation

  • Add POSB to supported banks
  • Add CHANGELOG using git cliff

🧪 Testing

  • Add newline to .gc_check file

⚙️ Miscellaneous Tasks

  • Add CODEOWNERS file
  • (ci) Bump poetry to 1.8.3
  • Update ruff syntax
  • (ci) Re-add flake8
  • (cli) Add kwargs to run function

[0.9.1] - 2024-06-09

🚀 Features

  • (pipeline) Support file_bytes and passwords args

Build

  • (deps) Support python 3.12 and pipx install

[0.9.0] - 2024-06-09

🚀 Features

  • (ci) Add caching for pdftotext
  • (ci) Add parallelism for pylint
  • (cli) Add verbose flag

🚜 Refactor

  • (cli) Use kwargs in monopoly()
  • (pipeline) Improve logging
  • (ci) Replace pylint pre-commit with ruff
  • (ci) Use pytest -n auto precommit hook
  • Use COMMA_FORMAT variable for shared amount patterns
  • (generic) Use double curly braces instead of string template
  • Shift regex compilation to base statement
  • (generic) Use same patterns for generic and bank-specific parser
  • (generic) Add caching for properties and transaction getter
  • (load) Partition by statement_date
  • (pipeline) Make transform() less verbose by only passing statement

📚 Documentation

  • Update README for generic handler
  • Update license badge

🧪 Testing

  • Remove unused fixtures and args
  • Use @pytest.mark.usefixtures instead of unused arg

⚙️ Miscellaneous Tasks

  • Rename monopoly-sg to monopoly-core
  • (generic) Add better logging in handler functions
  • Add better logging for PdfParser
  • Add more logging during metadata identification
  • Fix type hints for identifiers
  • (brew) Split dev dependencies into separate brewfile
  • Bump to 0.9.1

Build

  • (deps) Bump the deps group with 5 updates

[0.8.2] - 2024-06-09

🚀 Features

  • [breaking] Add Pipeline and GenericStatementHandler classes
  • (cli) Allow safety check to be disabled

🐛 Bug Fixes

  • Standard chartered transaction pattern
  • Ocbc debit statement date pattern

🚜 Refactor

  • Remove redundant AMOUNT_WITH_CASHBACK pattern
  • Make shared patterns slightly more DRY
  • Create helper function to get filtered transaction lines
  • Use more precise regex pattern for amounts
  • Remove dbs specific logic for multiline descriptions
  • Separate logic for blank line and next line check
  • (transaction) Shorten transaction_date to transaction

⚙️ Miscellaneous Tasks

  • Re-add python-xdist to dev deps
  • Rename ExampleBankProcessor to ExampleBank
  • Re-add flake8
  • Bump to 0.9.0

[0.8.1] - 2024-06-09

🚜 Refactor

  • (cli) Tweak delay to 0.2
  • Rename StatementFields to Columns
  • Rename AccountType to EntryType
  • Rename transaction_date to date on CSV

⚙️ Miscellaneous Tasks

  • Bump to 0.8.1

[0.8.0] - 2024-06-09

🚀 Features

  • (cli) Enable single threaded mode with -s flag

🚜 Refactor

  • Use helper class to store date order settings
  • (cli) Move handler import inside processing function
  • Remove unnecessary pandas and numpy dependency
  • (load) Store file formats in dictionary
  • Remove unnecessary pdf2john dependency

🧪 Testing

  • Add test for generate_name()
  • Add test for cli pprint function

[0.7.10] - 2024-06-09

🚜 Refactor

  • (ci) Use git crypt action with caching
  • (processor) Move class variables type hints to base
  • Rename StatementProcessor to StatementHandler
  • Move example bank to example folder
  • [breaking] Rename processors to banks
  • [breaking] Decouple banks from statements and parser

[0.7.9] - 2024-06-09

🚜 Refactor

  • Use dateparser instead of custom date patterns
  • Remove dependency on bank files for generic tests
  • (config) Default date order to DMY

⚙️ Miscellaneous Tasks

  • Switch to AGPLv3 license
  • Update gitignore

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump tqdm from 4.66.2 to 4.66.3

[0.7.8] - 2024-06-09

📚 Documentation

  • Add streamlit demo

[0.7.7] - 2024-06-09

🐛 Bug Fixes

  • Use correct date format for standard chartered

[0.7.6] - 2024-06-09

🚀 Features

  • (pdf) Allow files to be passed as a byte stream

🚜 Refactor

  • (load) Generate hash based on pdf metadata

⚙️ Miscellaneous Tasks

  • Bump to 0.7.7

[0.7.5] - 2024-06-09

⚙️ Miscellaneous Tasks

  • Add png logo
  • Add new logo

[0.7.4] - 2024-06-09

🚀 Features

  • (parser) Raise proper exceptions during password handling
  • (parser) Add specific exception for unsupported banks

⚙️ Miscellaneous Tasks

  • Bump to 0.7.5

[0.7.3] - 2024-06-09

🚀 Features

  • Add passwords as kwarg to detect_processor

[0.7.2] - 2024-06-09

🐛 Bug Fixes

  • Date config for example bank

Build

  • (deps-dev) Bump idna from 3.6 to 3.7

[0.7.1] - 2024-06-09

🐛 Bug Fixes

  • (processor) Handle leap year dates

⚙️ Miscellaneous Tasks

  • Update black formatting

Build

  • (deps) Bump the deps group with 7 updates
  • (deps) Bump the deps group with 5 updates

[0.7.0] - 2024-06-09

🐛 Bug Fixes

  • (processor) Improve handling for multi-year statements

Build

  • (deps) Bump the deps group with 6 updates
  • (deps-dev) Bump cryptography from 41.0.6 to 42.0.0

[0.6.7] - 2024-06-09

🚜 Refactor

  • (statements) Raise exception if safety check fails

[0.6.6] - 2024-06-09

🚀 Features

  • (statements/credit) Support multiple prev balances

🐛 Bug Fixes

  • (statements/debit) Ralign header pos instead of lalign

🚜 Refactor

  • (cli) Broaden error catching

📚 Documentation

  • Note for dbs debit statement

[0.6.5] - 2024-06-09

🚀 Features

  • (cli) Add --version flag
  • Add support for cloud run secrets via env var

🚜 Refactor

  • (tests/cli) Add cli_runner flag
  • (config) Use secret string to obscure passwords

⚙️ Miscellaneous Tasks

  • Bump to 0.6.6

[0.6.4] - 2024-06-09

🚜 Refactor

  • (statement) Use re.search to catch hsbc second date

[0.6.3] - 2024-06-09

🐛 Bug Fixes

  • Handling for cross-year transactions

Build

  • (deps) Bump the deps group with 9 updates

[0.6.2] - 2024-06-09

🐛 Bug Fixes

  • (dbs) Statements may sometimes have transactions on the last page
  • (pdf) Attempt to proceed without garbage collection on first pass

[0.6.1] - 2024-06-09

🚀 Features

  • (statements/base) Include statement name in safety warning message

🐛 Bug Fixes

  • (statements/debit) Mitigate error caused by False == False -> True logic
  • (ocbc) Only use one method to get text from pdf
  • (ocbc) Remove redundant page filter

🚜 Refactor

  • (tests) Create DRY fixture for statement setup

⚙️ Miscellaneous Tasks

  • Bump to 0.6.2

[0.6.0] - 2024-06-09

🐛 Bug Fixes

  • (write) Use variable instead of string

[0.5.0] - 2024-06-09

🐛 Bug Fixes

  • Regex pattern for example statement

🚜 Refactor

  • Use separate config class for debit and credit
  • Create separate processing for debit and credit
  • Always run safety check
  • (statement) Split safety check logic for debit & credit
  • (processor) Split debit and credit statement processing
  • (statement) Allow debit_config to be undeclared in bank processor subclasses
  • (base-processor) Remove redundant class attributes
  • (processor-base) Migrate statement creation logic to base
  • (statements) Group statement classes within directory + create base class
  • (statements) Rename debit_account_identifier to debit_statement_identifier

📚 Documentation

  • (README) Remove reference to apt
  • (processor) Add function docstrings

⚙️ Miscellaneous Tasks

  • Update example statement
  • Bump to 0.6.0

[0.4.7] - 2024-06-09

🚀 Features

  • Add support for debit statements

🚜 Refactor

  • (processor) Remove redundant else condition from convert_date
  • (statement) Reduce property nesting for statement_date
  • (statement) Let processor handle injection of prev mth balance

Build

  • Add grouping for dependabot PRs
  • (deps) Bump tqdm from 4.65.0 to 4.66.1
  • (deps) Bump pymupdf from 1.23.6 to 1.23.7
  • Bump dependencies
  • (deps-dev) Bump the deps group with 2 updates

[0.4.6] - 2024-06-09

🚜 Refactor

  • (load) Hash using raw pdf content instead of filename

[0.4.5] - 2024-06-09

🚜 Refactor

  • (processor) Allow file path to be passed as string or Path

[0.4.4] - 2024-06-09

Build

  • Switch from using apt to brew for poppler

[0.4.3] - 2024-06-09

🚜 Refactor

  • Rename bank -> processor

📚 Documentation

  • (README) Add gif

⚙️ Miscellaneous Tasks

  • (cli) Reword command for clarity

Build

  • (deps) Bump cryptography from 41.0.5 to 41.0.6

[0.4.2] - 2024-06-09

🚀 Features

  • (cli) Add error handling
  • (cli) Add option to print df repr of statement

🚜 Refactor

  • (cli) Processed_statement -> target_file_name

📚 Documentation

  • (cli) Improve docstrings for modules & classes

⚙️ Miscellaneous Tasks

  • Bump monopoly to 0.4.3

[0.4.1] - 2024-06-09

🚀 Features

  • (processor) Add unique ids for output files

[0.4.0] - 2024-06-09

🚀 Features

  • (cli) Add concurrency

[0.3.0] - 2024-06-09

🚀 Features

  • (ci) Add dependabot
  • (cli) Allow custom output directory
  • Add file to check git crypt status
  • (tests) Skip tests if git crypt is locked
  • (cli) Add welcome message
  • (cli) Add progress bar

🐛 Bug Fixes

  • (README) Badges
  • Re-add example statement via gitignore

🚜 Refactor

  • Move output dir to same level as...
Read more