What we shipped
This release focuses on tightening security, fixing permission logic, and improving the accuracy of stock and shipping features. It is a straightforward upgrade requiring no database migrations or manual steps.
What’s new
- Safer admin permissions: Admin sidebar badges now strictly respect staff roles. Previously, certain badges, like platform update notifications, were visible to all staff regardless of their access level. Now, any badge not explicitly mapped to a role is hidden by default, ensuring staff only see information relevant to their permissions.
- Accurate low-stock alerts: The low-stock counter now respects per-location thresholds. If a specific warehouse has a unique low-stock limit, the system uses that value instead of defaulting to the product-level threshold. This prevents the badge from under- or over-reporting stock levels.
- Fixed pickup location selection: Selecting pickup points for local-pickup shipping methods now works correctly. The wizard previously failed to save these locations due to a data type mismatch, but this issue is resolved.
- Complete API documentation: Every endpoint in the OpenAPI contract now includes a declared tag and description. This improves the generated SDK clients and API documentation for admin, agentic-commerce, bookings, and visibility endpoints, though endpoint behavior remains unchanged.
- Updated dependencies: Core libraries for cryptography, caching, session management, and email delivery have been refreshed and validated by the full test suite.
Why it matters
These changes ensure your store operates with precise data and strict security boundaries. Merchants can trust that low-stock alerts reflect their specific warehouse settings, and agencies can be confident that staff members only access the administrative tools they are authorized to use. Developers benefit from clearer API documentation and a more stable underlying dependency stack.
Release notes
Maintenance release: a refreshed dependency stack plus correctness and permission fixes.
Upgrading. No database migration and no manual steps — a straight image swap. Nothing is renamed or removed.
Security
- Admin notification badges now fail closed. The counters in the admin sidebar (new orders, low stock, available platform updates and the rest) are filtered against each staff member’s permission categories. A badge key that was missing from that map used to be shown to every staff member regardless of role. In practice one key was unmapped — the available platform version — so staff without system access could see it. The map now covers every badge Spwig emits, and any future unmapped key is withheld by default instead of exposed.
- Dependency refresh, each bump validated by the full test suite: cryptography 50.0.1 (signing and secure integrations), redis 8.1.0 and django-redis 7.0.0 (cache and session layer), gunicorn 26.2.0 (production application server), dj-rest-auth 7.2.0 (REST authentication), dnspython 2.9.0 (email-deliverability DNS lookups) and google-api-python-client 2.201.0 (Gmail sending).
Fixed
- Low-stock badge honours per-location thresholds. The low-stock counter now uses each stock item’s own low-stock threshold where one is set, falling back to the product’s threshold otherwise. It previously always used the product-level value, so per-warehouse thresholds were ignored and the badge could under- or over-report.
- Pickup locations save correctly in the shipping-method wizard. Choosing pickup points for a local-pickup shipping method now works. The wizard was converting location IDs to numbers, but locations are identified by UUID, so the selection was discarded.
- Zero-size area conversions. Converting an area of exactly zero between units now returns zero rather than an empty value.
- Clearer failure for an empty character set. Internal code generation now reports a descriptive error when handed an empty character set, instead of failing with an opaque index error.
Changed
- Complete API reference. Every operation in the published OpenAPI contract (
api-schema.yml/api-schema.json) now carries a declared tag and description, so the admin, agentic-commerce, bookings and visibility endpoints are grouped and documented alongside the rest instead of appearing untagged. Cart response typing was corrected at the same time. This affects generated SDK clients and the API documentation only — no endpoint behaviour changed.
Full history in CHANGELOG.md.