Changelog¶
All notable changes to bankstatementparser-writer-ofx will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.37] - 2026-11-28¶
In lockstep with the suite's 0.0.37 release.
Changed¶
- Requires
bankstatementparser >= 0.0.36(was>= 0.0.35), the newest core release on PyPI. - CI: four pinned actions move to their latest releases: codeql-action 4.39.5, markdownlint-cli2-action 25.1.0, cosign-installer 4.1.4 and sbom-action 0.24.4.
- CI: the Security workflow audits every locked requirements set (runtime, dev, docs, fuzz, build and sbom), not only some of them, so an advisory in the release tooling fails CI too.
Fixed¶
- The suite consistency check authenticates its GitHub API request with the workflow token, so the shared anonymous rate limit no longer fails it.
[0.0.36] - 2026-11-27¶
In lockstep with the suite's 0.0.36 release.
Fixed¶
to_ofxraiseddecimal.InvalidOperationon an amount of"NaN"(or"sNaN", or a NaNDecimal), and wrote"Infinity"as<TRNAMT>Infinity. Any NaN or infinite amount is now written as0.00, as an unparseable amount already was.- An amount too large for 28 significant digits at cent precision
(for example
"1E+999999999", which the fuzz job found) ran out of memory while being formatted, and a hugeintraisedOverflowError; both are now written as0.00. - Record dates (
<DTPOSTED>,<DTSTART>,<DTEND>) and the currency (<CURDEF>) were written without escaping, so markup or a newline in them opened elements in the document. Every value is now escaped. The new fuzz target found this.
Added¶
fuzz/fuzz_to_ofx.py: an Atheris target forto_ofx, run for two minutes by the CIFuzz (Atheris)job. It fails on any exception, a lost record, a malformed amount or markup in an element value.benches/bench_to_ofx.py: timesto_ofxonTransactionlists, DataFrames and dicts from 10 to 10,000 records, replacing a benchmark that timed an empty loop. CI runs it with--quick.- A user manual built with MkDocs Material (
mkdocs.yml,docs/), with usage and the full field mapping, architecture, comparison, benchmarks, the supported Python policy and an API reference, deployed to GitHub Pages by.github/workflows/docs.yml.ARCHITECTURE.md,GOVERNANCE.md,SUPPORT.mdandCODE_OF_CONDUCT.mdare new. - A
Makefile:make checkruns every local gate;bench,fuzz,docs,demo,auditandrequirementstargets. - Hashed
requirements/exports ofpoetry.lock(scripts/export_locked_requirements.py), installed by every CI job with--require-hashes; CI fails when they drift from the lock. .github/workflows/security.yml:pip-auditon the runtime, dev, docs and fuzz sets on every change and weekly..github/workflows/scorecard.yml(OpenSSF Scorecard) and.github/workflows/docs-lint.yml(README template check and markdownlint), issue templates and a pull request template.- Releases attach cosign signatures (
.sig,.pem), SLSA provenance (.intoto.jsonl) and CycloneDX and SPDX SBOMs to the GitHub release. .github/demo.gif, rendered from.github/demo.tapebymake demo.
Changed¶
- Requires
bankstatementparser >= 0.0.35(was>= 0.0.34), the newest core release on PyPI. to_ofxis split into small helpers; it was over every complexity ceiling (cyclomatic 26, 133 lines) and now none of its parts is, so the complexity baseline shrinks from seven offenders to six.- CI tests on ubuntu, macOS and Windows with CPython 3.10 to 3.14 (Linux only before), and every action is pinned by commit SHA except the SLSA generator, which must be referenced by tag.
- The examples now use the package: Transactions to OFX, and a CSV to
OFX round trip on
examples/data/statement.csv. - The README follows the portfolio template and no longer claims OFX
2.x output,
PAYMENT/CHECK/FEEtransaction types, or ato_transactions()call on the CSV parser; its API signatures match the code. CONTRIBUTING.mddrops the instruction to install a pre-commit hook the repository never had;SECURITY.mdadds a private-advisory link and states what the writer does and does not protect.
Removed¶
docs/conf.pyanddocs/readme.md: a Sphinx configuration nothing installed or built, and a page that only pointed at the README.
[0.0.35] - 2026-11-26¶
Joins the bankstatementparser suite's lockstep release, from 0.0.19 straight to the suite's version, and is the first release published to PyPI.
Added¶
.github/workflows/release.yml: on av*.*.*tag, builds the sdist and wheel, checks the tag matches__version__and that the release highlights and CHANGELOG section exist, publishes to PyPI through trusted publishing, and writes the GitHub release notes withscripts/release_notes.py..github/workflows/suite-consistency.ymlandscripts/check_suite_consistency.py: a daily check that every suite package published on PyPI, and the website, carry the same version..github/workflows/pr.yml: a single-job PR gate (lint, format, type check, tests, docstring coverage)..github/dependabot.yml: weekly pip and grouped GitHub Actions updates; the repository had none.tests/test_suite_conformance.py, the suite's vendored conformance checks, andscripts/verify_versions.py.scripts/check_complexity.py, the suite's complexity gate, withscripts/complexity_baseline.json: per-function ceilings (cyclomatic 10, cognitive 15, Halstead 30, 60 lines; 500 lines per file), run in CI's lint job. The 7 functions and files already over a ceiling are baselined and may not get worse..github/workflows/codeql.yml: CodeQL scanning of the workflows and the Python sources as an advanced setup, replacing GitHub's default setup; theAnalyze (actions)andAnalyze (python)check names are unchanged.
Changed¶
- Requires
bankstatementparser >= 0.0.34(was>= 0.0.18); the lock is refreshed, and ruff may now resolve to 0.17. - CI moves to
actions/checkout@v7andactions/setup-python@v7. - CI runs the examples, and installs the built wheel into a clean virtualenv and imports it.
- The coverage gate measures branches as well as lines.
test_versionreads the expected version frompyproject.tomlinstead of restating it.
Fixed¶
- A test now covers
_normalize_recordsdropping an item that is neither aTransactionnor a mapping; the branch was untested. tests/test_concurrency_and_stress.pyno longer asserts that 500 concurrent exports finish in under 5 seconds. Runner speed made the Test (Python 3.12) job fail at random (5.39 s on 2026-10-11); the test still checks every result is a complete OFX document.
[0.0.19] - 2026-09-01¶
Added¶
- Initial production release of
bankstatementparser-writer-ofx: Open Financial Exchange (OFX) Export Writer. - 100% statement and branch test coverage.
- High-concurrency throughput testing (>10,000 TPS) with sub-second response times.
- Strict type hints (
mypy --strict) and ruff linting. - Integration with the core
bankstatementparserecosystem.