Repository navigation
v2.2.27
·
2 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
Summary
This release introduces poll status management capabilities, integrates CAPTCHA verification across user authentication and registration workflows, enhances container template input configurations, and standardizes error response handling.
New Features
- Poll Status Management: Introduced new
GETandPOSTendpoints for/v2/poll-settings/{userId}. The feature enables tracking and updating user poll preferences with support for status states (completed,muted,ignored,new), visibility toggles (shouldShow), and timestamp tracking (completedAt,ignoredAt,dontShowUntil). - CAPTCHA Integration: Added optional
captchaTokenfield to authentication, MFA, passkey, and registration request bodies. This ensures compliance with captcha widget challenges and properly rejects missing, unsolved, or reused tokens withCaptchaVerificationFailed.
Improvements
- Enhanced Template Inputs: Expanded
TemplateUserInputsItemwith new configuration fields for better UI/rendering control:dataType(enum:text,boolean,consent,select)format(enum:email,password,url,textarea)optionsarray for select inputsdescriptionanderrorMessagefields referencing translated string schemas
- Standardized Error Handling: Refactored
TooManyRequestsResponseschemas for verification email and poll status endpoints to reference the unifiedde.mittwald.v1.commons.Errorcomponent instead of inline type definitions. - 503 Service Unavailable Support: Added dedicated response classes (
*ServiceUnavailableResponse) for authentication, MFA, passkey, and registration flows to explicitly handle service downtime scenarios.
Client Updates
- Regenerated client stubs to align with updated API specifications.
- Updated
UserClientinterface and implementation to include new poll status methods and updated authentication request/response types. - Refactored internal response body classes for consistency across the
V2client namespace.