v0.2.0 — PoLI access, alerting, and major feature additions
Major feature release introducing the PoLI authority access system, a threshold-based alerting system, bulk QR code generation, AI-powered sustainability insights, a database-driven email template engine, and several platform-wide improvements.
Added
PoLI — Person of Legal Interest access system
Market surveillance authorities, customs bodies, and other entities with a legal right to access restricted DPP data under EU Battery Regulation 2023/1542 can now submit a formal access request through the platform. The flow:
- The authority submits a request identifying themselves and the product(s) they require access to.
- The platform sends an email verification to confirm the request.
- A platform administrator reviews and approves the request.
- On approval, the authority receives a time-limited access token that unlocks the restricted fields in the DPP API response.
All requests, approvals, and accesses are logged in the audit trail. See the PoLI endpoints documentation for the API reference.
Threshold-based alerting
Operators and administrators can define numeric thresholds on key operational metrics. When a threshold is breached, the platform creates an alert record and routes it through the notification and email system. Alerts support acknowledge and resolve workflows so the full lifecycle of an issue is captured.
Bulk QR code generation
Operators with multiple products can now generate all QR codes in a single operation from the product list view. Previously, QR codes had to be generated product by product.
Supplier CSV export
The supplier list in the Company Portal can now be exported as a CSV file, including supplier name, contact details, linked materials, response rate, and last activity date.
AI sustainability insights
An AI-powered sustainability insights panel is available on the DPP overview. The panel analyses the product's carbon footprint, recycled content, and supply chain data to surface actionable observations and benchmarks. Powered by Anthropic Claude.
Email template engine
Transactional emails are now driven by a database-backed template system. Platform administrators can manage email content, subject lines, and sender details through the admin interface without a code deployment. Fifteen event-based triggers are wired to the template engine covering invitation, verification, notification, and alert scenarios.
Email graceful degradation
The platform handles email delivery failures gracefully. If the email service is unavailable, the triggering action (signup, OTP, data request) still succeeds and the email is logged for retry rather than causing the user-facing action to fail.
Communications hub
Platform administrators can send broadcast notifications to all operators, all suppliers, or a specific company. Useful for planned maintenance announcements, regulatory updates, and release notifications.
Fixed
- Duplicate OTP emails — an OTP request under certain conditions was triggering three email sends instead of one. Duplicate suppression now prevents multiple deliveries for the same OTP event.
- Circular dependency in database schema — a circular foreign key dependency between category and template models resolved by making the relevant references nullable.
- Admin error display — inline error messages in admin CRUD forms now display correctly. Previously they were overridden by generic toast notifications that obscured the specific error.
- Cross-request caching — unstable request-level caching that caused stale data to appear between page navigations has been replaced with a correct cache invalidation strategy.