1.7.0¶
Released: TBD
Highlights¶
- New
itemPriceRangequery returns the min/max unit price across the catalog so the frontend can bound a price-range filter/slider without loading every item.
Added¶
itemPriceRange(includeArchived: Boolean! = false): ItemPriceRange!— a single aggregate query (MIN/MAXoveritems.unit_price) returning a nullable{ minPrice, maxPrice }. Archived items are excluded unlessincludeArchivedis set. See Item Price Range.
Changed¶
- None.
Fixed¶
- None.
Migrations¶
- None. Read-only query over the existing
items.unit_pricecolumn.
Frontend impact¶
- Call
itemPriceRangeonce when opening the items list / filter panel to seed a price slider'smin/maxbounds; mirror your archived toggle intoincludeArchivedso the bounds match the rows being filtered. minPrice/maxPricearenullwhen no items are in scope — render that as "no range available" rather than0.Decimalcomes back as a string.
Versioning notes¶
- MINOR bump (
scripts/bump_version.py 1.7.0 --changelog-stub): new additive query and type, no breaking schema change. No deploy-order constraints.