Skip to content

5.0.0

Choose a tag to compare

@nadeko0 nadeko0 released this 03 Nov 22:15
· 120 commits to main since this release

Major release: the published operationIds were shortened (69 renamed), so clients generated from the OpenAPI spec get new method names. No route, parameter or payload was removed or changed on the wire.

Added

  • has_variants and variants on GET /products/{id}; has_variants on /products and /products/search.
  • dispute_status on orders (customer view, history, admin list) and a has_dispute filter on GET /admin/orders.
  • A fully typed OpenAPI contract: enums, cookie, ETag, X-Request-ID and rate-limit headers.

Fixed

  • Checkout payments settle from payment_intent.succeeded when checkout.session.completed is lost; a decline on the hosted page leaves the attempt untouched.
  • Refunds made through /refund are recorded with source admin.
  • A correct If-Match on a product with variants no longer answers 412.
  • Provider error text is no longer echoed to clients.

A lost Stripe dispute only flags the order; stock and status stay for the manager to correct.