Repository navigation
v0.0.13 ~ "Transaction lists stay current when what they show changes"
Bug Fixes
-
Stale transaction lists. The cached transactions list holds its line items, journal entries with their debit and credit accounts, and each transaction's subject, payer, payee, initiator and context. Edits to any of those didn't invalidate the list, so they could show stale values until the cache expired. The list's cache key now carries the versions of those tables.
Two exceptions: orders and drivers are written constantly, so a transaction's order or driver snapshot can lag by up to the five-minute list cache.
-
Public API requests weren't logged. Writes to the public wallet API (
ledger/v1/...) and the customer invoice routes (ledger/public/..., such as paying an invoice) are now written to the API request logs, like core's public API. Webhooks and the console's internal routes aren't logged.
Upgrading
The transaction list fix takes effect with fleetbase/core-api v1.6.69, which adds cache dependency support (fleetbase/core-api#301). With an older core-api the change is inert.
API request logging takes effect with fleetbase/core-api v1.6.69 (fleetbase/core-api#302), which logs every route that runs LogApiRequests rather than only v1/.... With an older core-api, ledger requests are still not logged.
The console engine now depends on fleetbase/ember-ui v0.4.6 and fleetbase/ember-core v0.3.26.
Need help?
What's Changed
- fix(transactions): declare the tables the cached transactions list embeds by @roncodes in #33
- feat(api-logs): log writes to the public invoice routes like the public API by @roncodes in #34
- fix(routes): attach the public invoice middleware through the registrar by @roncodes in #35
- chore(deps): ember-ui 0.4.6 and ember-core 0.3.26 by @roncodes in #36
- docs(release): name the core-api release the fixes ship with and the engine's dependencies by @roncodes in #37
- Release v0.0.13 by @roncodes in #32
Full Changelog: v0.0.12...v0.0.13