Skip to content

Release v3.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 20:13
35a3136

Inventoros 3.0.0

This release reorganizes the code by domain. Plugins, integrations and stored
data written for 2.x keep working without a change. There are no migrations and
no new settings.

Code organized by domain

  • 285 classes moved into 13 domains under App\Domains, such as Catalog,
    Stock, Sales and Purchasing. See
    Domains.
  • Every 2.x class name keeps working: in plugins, type hints, stored model
    types, queued jobs and events. There is no plan to remove them.
  • Routes, REST, GraphQL, MCP tools, hooks, Artisan commands, the database and
    .env are unchanged.
  • REST and GraphQL order updates, serial status changes, draft stock audit edits,
    warehouse creation over REST and warehouse stock levels now run one rule in the
    domain that owns the data, so the two APIs cannot disagree.

Security

  • Laravel is updated to 13.45 for
    GHSA-c25c-x5r7-2v5m:
    numeric validation could be made to exhaust resources with an extreme exponent.

Stock

  • A location that a draft or in-progress stock audit counts cannot be deleted.
    Completing that audit used to fail. New REST error code: has_open_audits.
  • Two requests making different warehouses the default at the same moment, or
    creating an organization's first warehouses, can no longer leave two default
    warehouses.

For plugin authors

Nothing was removed or renamed in the public surface. A few things now report the
new class name, such as get_class() and $model::class; use instanceof
to compare. See
Backwards compatibility.

Upgrading

Back up, then update the same way as for 2.9.1. Behind more than one proxy with
TRUSTED_PROXIES=*, read the proxy note first. Before going back to 2.x, let the
queue empty. See
UPGRADE.md.