Skip to content

v2.2.23

Choose a tag to compare

@mittwald-machine mittwald-machine released this 06 Nov 19:12
· 6 commits to master since this release
Immutable release. Only release title and notes can be modified.

This release introduces several new API capabilities, including a dedicated endpoint to reset notification settings, enhanced activity log tracing with credential identification, and staging flags for application models. It also improves client-side error handling by introducing typed response classes for additional HTTP status codes across multiple endpoints, and updates schema namespaces to align with the Redirectus service.

New Features

  • Reset Notification Settings: Added notificationsResetNotificationSettings to NotificationClient to remove all user-adjusted channel settings, reverting message types to their default channels.
  • Activity Log Credential Tracking: LogEntry now exposes a credential field (supported by LogEntryCredential and LogEntryCredentialKind schemas) to track which authentication method (e.g., API token, user session, extension instance) executed an action.
  • Application Staging Support: The App schema now includes a stagingAllowed boolean property to indicate whether staging AppInstallation instances can be created from this application.

Improvements & Updates

  • Enhanced Error Handling: Added typed response classes for common HTTP status codes to improve exception handling and payload inspection:
    • GetUser: 400 Bad Request (GetUserBadRequestResponse), 401 Unauthorized (GetUserUnauthorizedResponse)
    • Register: 403 Forbidden (RegisterForbiddenResponse)
    • DnsCreateProjectDnsZone: 403 Forbidden (DnsCreateProjectDnsZoneForbiddenResponse)
  • DNS Zone Creation Documentation: Updated documentation for DnsCreateProjectDnsZone to clarify that creating DNS subzones requires an existing root zone belonging to the same customer.
  • Schema Namespace Migration: The Domain and EmailInbox models used in relocation requests have been moved from the Directus namespace to Redirectus to better reflect their service ownership. Update any direct references to Mittwald\ApiClient\Generated\V2\Schemas\Directus\Domain or EmailInbox to their new Redirectus counterparts.