Skip to content

Feature/issue 11 add date to subtransactions - #12

Merged
RelicCornhusk merged 4 commits into
mainfrom
feature/issue-11-add-date-to-subtransactions
Jul 3, 2026
Merged

RelicCornhusk merged 4 commits into
mainfrom
feature/issue-11-add-date-to-subtransactions

Conversation

@RelicCornhusk

Copy link
Copy Markdown
Owner

Closes #11 and #2.

Also:

  • feat(app): Ensure uncleared transactions are skipped

An uncleared transaction is often a transaction that was not posted on a credit card. Sometimes the value of the transaction can change until cleared, and that's why I'm opting to always skip uncleared transactions. A regression test has been added to account for that.

BREAKING CHANGE: Since this modifies the behaviour of the script, making it skip transactions that would otherwise not be skipped, this should be treated as a breaking change.

  • fix(app): Fix false error 'Failed to update transactions for plan'. The root cause is that _call_with_retries uses None as its failure signal, but some YNAB API endpoints (like update_transactions) legitimately return None on success — it's a 204 No Content equivalent. The fix is a sentinel value to distinguish "failed" from "succeeded but returned None".

The root cause is that _call_with_retries uses None as its failure signal, but some YNAB API endpoints (like update_transactions) legitimately return None on success — it's a 204 No Content equivalent. The fix is a sentinel value to distinguish "failed" from "succeeded but returned None".
An uncleared transaction is often a transaction that was not posted on a credit card. Sometimes the value of the transaction can change until cleared, and that's why I'm opting to always skip uncleared transactions. A regression test has been added to account for that.

BREAKING CHANGE: Since this modifies the behaviour of the script, making it skip transactions that would otherwise not be skipped, this should be treated as a breaking change.
Closes #2. Batches the account ID from name lookups into a single fetch call, whereas before it used two.
@RelicCornhusk
RelicCornhusk merged commit 2cdf01d into main Jul 3, 2026
1 check passed
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Include original date of transaction in each subtransaction in IOU account

1 participant