Repository navigation
v2.2.10
·
4 commits
to master
since this release
Summary
This release removes legacy tariff change relocation functionality from the Relocation client and introduces a new ScopedToken schema to support restricted authentication tokens within the Signup module.
Breaking Changes
- Removed Legacy Tariff Change Endpoint: The
createLegacyTariffChangemethod and all related request/response classes (CreateLegacyTariffChangeRequest,CreateLegacyTariffChangeCreatedResponse,CreateLegacyTariffChangeTooManyRequestsResponse, etc.) have been removed fromRelocationClientandRelocationClientImpl.
New Features
Scoped Token Support
Added the Mittwald\ApiClient\Generated\V2\Schemas\Signup\ScopedToken schema, enabling clients to interact with scoped authentication tokens. Key capabilities include:
- Granular Permissions: Tokens can be assigned an array of scope roles (e.g.,
scope:project:read), withscope:nothingexplicitly granting zero permissions. - Lifecycle Tracking: Automatic validation and serialization for
createdAtandcreatedByfields to audit token issuance. - Flexible Expiration: Optional
expiresAtproperty allows setting custom expiration timestamps, alongside optionalprojectIdbinding for project-scoped tokens. - Immutable Builders: Full fluent API support for constructing and validating token instances, including type-safe setters with automatic JSON schema validation.