Skip to content

Release v0.0.13 - #32

Merged
roncodes merged 14 commits into
mainfrom
release/v0.0.13
Oct 14, 2026
Merged

roncodes merged 14 commits into
mainfrom
release/v0.0.13

Conversation

@roncodes

@roncodes roncodes commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Release branch for v0.0.13, cut from main.

This branch collects #33, the fix for stale transaction lists. It declares the tables the cached transactions list embeds (line items, journals, accounts, invoices and the payer/payee party tables), so edits to them invalidate the list.

Before merging

The fix takes effect with fleetbase/core-api's cache dependency support (fleetbase/core-api#301). It is inert with an older core-api, so this release can merge independently.

Merging this into main releases v0.0.13 (composer.json, package.json and extension.json are bumped, and RELEASE.md is updated).

…beds

TransactionFilter::queryForInternal eager loads line items, the journal
with its debit and credit accounts, and the subject/payer/payee/
initiator/context morphs inside the cached list query, so edits to any
of them were served stale until the cache expired. Declare them as
$apiCacheDependencies so core-api's list cache key carries their
versions: the relation paths, plus the morph target tables ledger
writes (ledger_invoices, contacts, vendors, companies). Orders and
drivers are left out because they are written constantly.
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7fe3ea1) to head (fb7d98a).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main       #32   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity      1253      1253           
===========================================
  Files             74        74           
  Lines           6990      6990           
===========================================
  Hits            6990      6990           
Flag Coverage Δ
backend 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…ic API

The customer invoice routes (ledger/public/...) ran no middleware, so paying an
invoice was never written to the API request logs. They now run LogApiRequests.
The public wallet API (ledger/v1/...) already runs it through fleetbase.api and
is logged once core-api logs every route that opts in (fleetbase/core-api#302).
Webhooks and internal routes stay unlogged.

The route registrar test stub now records each route's group middleware.
fix(transactions): declare the tables the cached transactions list embeds
feat(api-logs): log writes to the public invoice routes like the public API
RouteRegistrar::group() takes only the callback. Passing the attributes array
as its first argument made Router::group() treat the array as a routes file,
which fails with 'Array to string conversion' while the routes load and takes
the whole API down. The Postman contract job hit it on release/v0.0.13.
Fixes to a release branch were only verified once the release PR itself re-ran,
because every workflow listed main alone. Match core-api, which already runs
on dev-v* and release/v* targets.
The bootstrap's RouteRegistrar only learned middleware from a group() attributes
array, which is the Router form; the registrar's own middleware() call was
missing, so the routes file could not be loaded in the test once it used it.
fix(routes): attach the public invoice middleware through the registrar
chore(deps): ember-ui 0.4.6 and ember-core 0.3.26
docs(release): name the core-api release the fixes ship with and the engine's dependencies
@roncodes
roncodes merged commit e93eadc into main Oct 14, 2026
7 checks passed
@roncodes
roncodes deleted the release/v0.0.13 branch October 14, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant