Repository navigation
Releases
v1.14.1
v1.14.0
1.14.0 (2026-11-23)
Features
- form: add FormErrorBags for error-bag scoped errors (3389c02)
- form: carry structured field messages in FieldError (8cfd8a4)
- navigation: let the registry take what NavigationNode carries (2dc4bb2)
- region: add ctaHref to RegionBuilderInterface::emptyState() (6d4984f)
- remove PageResources, PageResourcesInterface and Branding (c747049)
- remove ResourcePatch and the resources slot (8c5ee93)
Bug Fixes
- form: serialize structured error arrays through FieldMessage (16bdb7b)
Documentation
- clarify that each FormErrors value is a FieldError (b2e5a09)
- describe the ui 1.14 navigation registry and error bags in the README (da857e9)
- state the builder subclassing policy (f906cf4)
Consumer impact
- Removed:
ResourcePatch,PageResources,PageResourcesInterface,Branding,Fragment::withResources()and theresourcesproperty onActionResult,FragmentandPageContract(wire and PHP).PageContract::__construct()loses$resources:$notificationsmoves to position 4 and$entitiesto 5; use named arguments.ActionResult::__construct()loses$resourcestoo. - FieldError widened: a field error is a string, a
FieldMessage({message, key, domain, params?};paramsomitted when empty) or a list of either. Clients must accept the object form.FormErrorsalways encodes as a JSON object, also for numeric field names. - SharedProps.errors:
FormErrorsor the newFormErrorBags(bag name toFormErrors, sent withX-Inertia-Error-Bag); the schema isanyOf [FormErrors, FormErrorBags]. - NavigationRegistryInterface (implementable, frozen for 2.x):
group()/section()takestring|Translatable $labeland the optionalentityType,badgeVariant,statusColor;item()takes a nullable$routeplustargetand an externalhref(exactly one of route or href). Implementations must match parameter names and order. - NavigationNode rejects an
hrefwith ajavascript:,data:orvbscript:scheme (InvalidArgumentException). - RegionBuilderInterface::emptyState() gains
?string $ctaHref = null. Builders are a call surface:BlockBuilderandRegionBuildermay be subclassed only without declaring or overriding members. x-contract-versionstays"2". Pair withmiddag-io/core1.56 or later; core 1.55 and older still passresources:.
v1.13.1
v1.13.0
1.13.0 (2026-11-23)
Features
- add shared props and navigation tree value objects (9ab3dd9)
Bug Fixes
- discard empty and whitespace-only flash messages (1d47a06)
- emit empty PageResources featureFlags as a JSON object (a81d753)
Refactoring
- drop preferences from ResourcePatch and remove UserPreferences (62b6f0d)
- satisfy rector on the flash message normalizer (00c1a67)
Documentation
- describe the shared-MAJOR family in the README (0836ad4)
- fix the fragment version example and the ResourcePatch wording (b974c58)
Consumer impact
Breaking for hosts and implementors, shipped as a MINOR before 2.0. NavigationRegistryInterface::build() now returns a NavigationTree (tree, activeKey, footer), so implementors must build it and callers can no longer index the result as an array. NavigationNode gains the optional entityType, badgeVariant, statusColor and target. The new SharedProps, SharedAuth, SharedTheme and FlashMessages value objects and the shared-props.json bundle describe the shared props; the session now travels only there, so PageResources loses user, capabilities and preferences, ResourcePatch keeps only featureFlags, and UserPreferences is removed. Empty maps serialize as {}. ContractEnvelopeInterface::VERSION is now '2'. Identity.id is a string and the capability and role lists are validated.
v1.12.0
1.12.0 (2026-11-23)
Features
- restrict form_panel schema to FormSchemaNodeInterface nodes (588bcb2)
Documentation
- state the enum evolution policy in API-STABILITY (945fe84)
Consumer impact
BlockBuilder::formPanel() and RegionBuilder::formPanel() now accept only list<FormSchemaNodeInterface>; a loose array raises a TypeError. Callers must build FormFieldNode, FormSectionNode, FormGroupNode or FormHeaderNode (framework 1.21 emits them). The emitted wire schema is unchanged. API-STABILITY.md now states the enum evolution policy.
v1.11.0
1.11.0 (2026-11-23)
Features
- form: let section labels be translatable or null and add richtext, time and autocomplete components (1b05752)
Bug Fixes
- append new form components at the end of the schema lists (55469e4)
Documentation
- align hook and template wording with the shared-MAJOR policy (63fa126)
- apply the uniform security policy text (c14dc3a)
- apply the version-family support policy (13b15f5)
- drop decision-record numbering and private docs repo from AGENTS.md (7e3f68a)
Consumer impact
- Additive:
FormComponentgains therichtext,timeandautocompletecases, appended at the end of the schema lists.FormSectionNodelabel now accepts aTranslatableor null. Existing serialized output is unchanged. - Schema files are regenerated (additive only).
- The contracts mirror notification is skipped for prerelease tags.
- New API stability tag test: every type in
srccarries exactly one of@apior@internal. - Documentation: SECURITY and policy docs updated (uniform security policy text, version-family support policy).
v1.10.3
v1.10.2
1.10.2 (2026-11-19)
Documentation
- point the security contact to security@middag.io (9a17d05)
- point the security contact to security@middag.io (96874a5)