What's New1.4.1 - Tenant API – 1.4.1

PlugStream Release Notes

PlugStream is continuously updated to improve reliability, security, and user experience. This page provides a transparent record of every software and firmware release, including what changed and why it matters.

Latest

OCPP API 2.0.0

Ocpp API – 2.0.0

2.0.0
Tests: passed (138/138)Coverage: 8.4%
Service
December 25, 2025
Tags
#ocpp-api

Ocpp API – 2.0.0

2.0.0 (2025-12-25)

Features

  • implement multi-tenant filtering with organisation support (ba29f22)
  • optimize database connection pool (min: 5, max: 20) to reduce cold-start errors (108e5cd)

BREAKING CHANGES

  • URL patterns changed from tenant_slug to tenant (tenant_id)
    Clients will need to update their API calls to use tenant IDs instead of slugs

Key security improvements:

  • Platform admins can access tenant_global for platform-wide view
  • Organisation-based filtering for resellers/CPOs via tenant-api
  • as_tenant query parameter for platform admin impersonation
  • Changed URL paths from /tenants/{tenant_slug} to /tenants/{tenant}
  • All endpoints enforce tenant allowlist filtering

Changes:

  • Add tenant-api client with internal endpoint support
  • Add filtering helpers for tenant resolution and org expansion
  • Update all route handlers with compliant filtering logic
  • Change URL pattern from tenant_slug to tenant throughout
  • Add TENANT_API_BASE_URL and INTERNAL_AUTH_TOKEN config
  • Remove old ensure_tenant logic from AuthContext
  • Add comprehensive unit tests for filtering scenarios

All endpoints now enforce proper tenant isolation with audit logging.

Performance & SLO

SLO Targets:
P95 < 200msP99 < 500msAvailability > 99.5%
2.0.0 - Ocpp API – 2.0.0 | PlugStream Change Logs