Release v1.6.0
This release makes polling more resilient to API outages, improves transfer matching, and adds more control over which dates to import.
Sync and imports
- Recover from API outages. @nprzy added configurable exponential backoff for transient Plaid and Firefly III API failures, with support for numeric
Retry-Afterheaders. Polled mode can resume from saved cursors after a network failure. Withpolled.allowItemToFailenabled, healthy Plaid items can continue when another item hits a server or network error. [API retries](#140) · [Polling recovery](b3c5c0b) - Choose an import window. Set
polled.initialBackfillAfterto import history for items without a saved cursor, with an optional inclusivepolled.initialBackfillThroughdate. Batch imports now support an inclusivebatch.endDate. [Configuration reference](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/src/main/resources/application.yml) - Apply corrections to older transactions. Polled sync looks up Plaid modifications and removals by transaction ID regardless of the transfer lookback window. @nprzy fixed removal filtering so only configured accounts are affected and added debug logging for Plaid sync results. Unresolved corrections are saved in
plaid_unresolved_changes.jsonfor retry or review. [Correction handling](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/README.md#polled) · [Account filtering and logging](#139)
Transfer matching
- Transfers now require equal and opposite amounts in the same known currency, with each leg the other’s uniquely closest eligible match. Tied candidates stay separate. Newly paired transfers record both Plaid IDs so corrections to either leg can be flagged for review. [Transfer matching](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/README.md#firefly-transfers)
- When an existing Firefly III transaction is converted into a transfer, the connector journals the replacement so it can recover after an interrupted write. During recovery, it checks whether the transfer already exists before creating it again. [Transfer replacement recovery](61c47c5)
Upgrade notes
- Migrate
plaid.maxRetriestoplaid.retry.maxAttempts. Add one to preserve your previous retry count, sincemaxAttemptsincludes the first request. For example,maxRetries: 3becomesmaxAttempts: 4. The default is seven total attempts for each API. [Retry settings](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/src/main/resources/application.yml) - Startup rejects invalid time zones and duplicate Plaid account IDs, and warns about unknown connector settings. Keep the entire polled cursor directory on persistent storage. It now holds the correction queue and any pending transfer replacements alongside the cursors. [Configuration validation](3004804) · [Polled sync state](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/README.md#polled)
Build and testing
- Updated Spring Boot, Kotlin, Ktor, and Gradle. @nprzy contributed the initial Spring Boot upgrade to restore local image builds on newer Docker versions. Spring Boot upgrade · [Dependency updates](10da754)
- CI now runs unit tests and an end-to-end smoke test against Firefly III with mocked Plaid responses. [Smoke-test workflow](https://github.com/dvankley/firefly-plaid-connector-2/blob/v1.6.0/.github/workflows/smoke-test.yml)