Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 13:39
43988fb

0.11.0 (2026-06-04)

⚠ BREAKING CHANGES

  • http: MiddagValidationException::errors() values and the 422 errors[field] payload change from string|string[] to an object {message,key,domain,params} (a list when a field has several errors).

Features

  • http: add ValidationErrorBag (violations to TranslatableMessage map) (ac77a36)
  • http: add ValidationErrorSerializer (errors to {message,key,domain,params}) (be72a04)
  • http: resolve validation errors to {message,key,domain,params} on the wire (29526cf)
  • translation: add TranslatableMessage deferred-translation value object (6012d84)
  • translation: add ViolationKeyMap (constraint violation to short key) (fff3abc)
  • validation-error i18n contract (deferred-translation) (cf6dcd0)

Bug Fixes

  • http: DtoHydrator routes denormalization errors through the translator (8fe5d68)
  • translation: drop typed class constant so ViolationKeyMap parses on PHP 8.2 (7066939)

Refactoring

  • exception: widen MiddagValidationException errors to TranslatableMessage union (e301418)
  • http: AbstractFormRequest emits TranslatableMessage errors, drop in-request translation (14b7059)

Miscellaneous

  • ignore docs/superpowers (local agent/brainstorming specs) (e3a9ea2)