Skip to content

v2.2.29

Choose a tag to compare

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

Features

High-level summary: Added explicit support for HTTP 412 Precondition Failed errors across contract ordering and tariff preview workflows. This enhancement provides structured response classes and client-side type mapping, allowing developers to properly catch, inspect, and resolve precondition violations during order creation and tariff modification processes.

  • Introduced OrderCreateOrderPreconditionFailedResponse
  • Introduced OrderCreateTariffChangePreconditionFailedResponse
  • Introduced OrderPreviewOrderPreconditionFailedResponse
  • Introduced OrderPreviewTariffChangePreconditionFailedResponse
  • Updated ContractClientImpl to route HTTP 412 status codes to their corresponding typed error responses.

Improvements

  • Unified Error Schema for Rate Limit Responses: Refactored TooManyRequests response handling for User authentication and registration endpoints (Authenticate, AuthenticateMfa, and Register). Redundant local response body classes have been removed in favor of a shared de.mittwald.v1.commons.Error schema, standardizing error payload structures across the API client.

Deprecations

  • Marked the following Order schemas as deprecated:

    • LeadFyndrOrder
    • LeadFyndrOrderPreview
    • LeadFyndrOrderPreviewResponse
    • LeadFyndrTariffChange

    The LeadFyndr product has been fully discontinued and can no longer be ordered or modified. All API requests targeting these schemas will now fail with a LeadFyndrDiscontinued error.