• v0.5.0 41fd4ef940

    v0.5.0 Stable

    sgreenleaf released this 2026-08-22 08:44:28 +00:00 | 78 commits to main since this release

    Added

    • Stagings can be backdated; the date given is the effective date of the
      planting's stock movements.
    • Added PlantingDatesCorrected event; staged/planted dates editable on the
      planting page.
    • Places can be reordered by hand on /sites, ordering the staging screen, print
      sheet and pickers.
    • Deploying this release needs a rebuild (new Site.position projection
      column, no migration).

    Changed

    • Plantings cover a set of places, not one site: Planting.site_id replaced by
      name and staging_subsite membership rows.
    • Plantings can span unconnected sites; a site can host several plantings.
    • Members are leaf places; choosing a parent adds every leaf beneath it.
    • Create form takes a name and a multi-place picker; planting name editable in
      place.
    • Added POST /staging/{id}/place to add places to an existing planting.
    • Added POST /staging/{id}/place/remove; removing an area deletes its racks
      while draft, refused once staged or planted.
    • Staging grid column targets computed from site_tree::covered_roots.
    • Allocation grid column ordering keys on member places, not GROUP BY site_id.
    • Migration v9 drops site_id, stamps name from the old site, and backfills
      a membership row per leaf place under it.
    • Areas are grouped under their parent site on the staging grid, with a floating
      group header carrying per-species totals.
    • Areas show their own allocation beside what is staged into them
      (staged / allocated).
    • Staging and allocation grids scroll with the page rather than inside a
      fixed-height box.
    • Column badges are neutral until something is staged, then green within the
      allocation and red past it.
    • Per-rack totals are tinted against the planting's fill percentage: green to
      the target, amber to capacity, red over.
    • Rack numbers are render-time ordinals over the whole planting; deleting a rack
      leaves no hole.
    • Migration v10 drops the stored StagingRack.position.
    • Print sheet: dropped the allocation targets and instruction line, added a
      planting total row, striped the rack rows, coloured the area totals.
    • deploy.sh fetches Bootstrap 5.3.8 instead of 5.0.2.

    Fixed

    • Stagings' stock movements are dated the day they happened, not the day they
      were recorded, so intervening counts no longer double-subtract.
    • Traffic lights render their colours again (.text-bg-* needs Bootstrap 5.2+).
    • /static sends Cache-Control: no-cache, so deploys stop running stale
      assets.
    • The app warns at startup when static_dir is missing its own css/js.
    Downloads
  • v0.4.0 ac92f0679f

    v0.4.0 Stable

    sgreenleaf released this 2026-08-18 13:13:10 +00:00 | 86 commits to main since this release

    Added

    • Added expected_inventory read model (last count plus movements since) on a
      new stock_movements ledger dated by business date; the allocation grid reads
      it.
    • Added disposals at /inventory/disposals.
    • Prick-outs record a source container, debiting the trays emptied; new app
      setting for the usual source; migration v7 stamps it onto historical
      prick-outs.
    • Added one-click fill rules for inventory sessions: everything expected, or
      this season's plans; a row left at zero is a counted zero.
    • Inventory counts are draft until marked complete; drafts don't touch the
      ledger. Migration v8 marks historical sessions complete.

    Changed

    • Renamed InventoryGroup to InventorySession; routes moved to
      /inventory/sessions; migration v6 rewrites the event log.
    • Inventory overview leads with expected figures, counted shown beneath where
      they differ.
    • Printed worksheet renders the session's own entries and gains an Expected
      column.
    Downloads
  • v0.3.0 f60755d248

    v0.3.0 Stable

    sgreenleaf released this 2026-08-11 12:15:38 +00:00 | 110 commits to main since this release

    Added

    • Added printable A4 inventory count worksheet at
      /inventory/groups/{id}/print.

    Changed

    • migrate rebuilds projections automatically when it applies a migration.
    Downloads
  • v0.2.1 946540b764

    v0.2.1 Stable

    sgreenleaf released this 2026-07-24 13:08:17 +00:00 | 112 commits to main since this release

    Fixed

    • Allocation and site-plan cells cleared then refilled no longer stay hidden;
      migration v5 repairs affected rows (run rebuild after).

    Changed

    • Allocations keyed by (site, season, species, container), matching site plans;
      the season resolves on the server for every read and write. Migration v4
      backfills season and container onto existing allocation events.
    Downloads
  • v0.2.0 14e6d90cdf

    v0.2.0 Stable

    sgreenleaf released this 2026-06-29 16:31:39 +00:00 | 113 commits to main since this release

    Added

    • Sites can have a parent (parent_id), forming a tree; the allocation grid
      collapses and expands subsites.
    • Containers carry a plantable flag; stock in non-plantable containers is
      excluded from the allocation grid.

    Changed

    • Migrated to the rebuilt event-sourcing library model: projections declared
      with the Projection derive, Apply per event type, id and retraction moved
      into payloads. Migration v3 plus a rebuild replays the log.
    Downloads