Skip to content

v1.2.0 - Quantity Selection

Choose a tag to compare

@CroissanStudioDev CroissanStudioDev released this 01 Mar 15:25
· 25 commits to main since this release

What's New in v1.2.0

Quantity Selection for Multi-Item Claims

When claiming items with quantity > 1 (e.g., "Ramen ×2"), you can now specify exactly how many are yours.

New UX Flow:

  • Swipe right on multi-quantity item → quantity dialog appears
  • Select how many you want (1, 2, etc.)
  • See real-time price breakdown
  • Claimed items show "(1 of 2)" notation

Receipt & Item Editing

New edit page at /session/[code]/edit allows:

  • View all receipts in session
  • Edit item name, quantity, and price
  • Delete individual items
  • Delete entire receipts (uploader only)

Health Check Endpoint

  • GET /api/health returns server status, uptime, and version
  • Useful for monitoring and container orchestration

API Changes

New Endpoints

  • DELETE /api/sessions/:code/receipts/:receiptId — Delete a receipt

Updated Endpoints

  • POST /api/sessions/:code/claim — Now accepts claimedQuantity parameter
  • PATCH /api/sessions/:code/receipts — Edit receipt items

New Claim Fields

{
  "type": "individual",
  "claimedQuantity": 1  // How many of this item (e.g., 1 of 2 ramens)
}

Documentation

  • Updated API.md with all new endpoints and examples
  • Updated skill file for Claude Code integration
  • Bumped version to 1.2.0

Full Changelog: v1.1.0...v1.2.0