Skip to content

Releases

v1.14.1

Choose a tag to compare

@middag-ci-release middag-ci-release released this 24 Nov 04:25
dcfa5fb

1.14.1 (2026-11-24)

Documentation

  • title AGENTS.md after its own file name (a58ab5d)

Consumer impact

None. Repository hygiene only (AGENTS.md title, .gitignore entries); no change to src/, the public API or runtime behaviour.

v1.14.0

Choose a tag to compare

@middag-ci-release middag-ci-release released this 23 Nov 21:47
f3f714b

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 the resources property on ActionResult, Fragment and PageContract (wire and PHP). PageContract::__construct() loses $resources: $notifications moves to position 4 and $entities to 5; use named arguments. ActionResult::__construct() loses $resources too.
  • FieldError widened: a field error is a string, a FieldMessage ({message, key, domain, params?}; params omitted when empty) or a list of either. Clients must accept the object form. FormErrors always encodes as a JSON object, also for numeric field names.
  • SharedProps.errors: FormErrors or the new FormErrorBags (bag name to FormErrors, sent with X-Inertia-Error-Bag); the schema is anyOf [FormErrors, FormErrorBags].
  • NavigationRegistryInterface (implementable, frozen for 2.x): group()/section() take string|Translatable $label and the optional entityType, badgeVariant, statusColor; item() takes a nullable $route plus target and an external href (exactly one of route or href). Implementations must match parameter names and order.
  • NavigationNode rejects an href with a javascript:, data: or vbscript: scheme (InvalidArgumentException).
  • RegionBuilderInterface::emptyState() gains ?string $ctaHref = null. Builders are a call surface: BlockBuilder and RegionBuilder may be subclassed only without declaring or overriding members.
  • x-contract-version stays "2". Pair with middag-io/core 1.56 or later; core 1.55 and older still pass resources:.

v1.13.1

Choose a tag to compare

@middag-ci-release middag-ci-release released this 23 Nov 18:12
a69e375

1.13.1 (2026-11-23)

Documentation

  • describe NavigationTree and shared props in the README (ca58ea5)

Consumer impact

No consumer impact: documentation-only release.

v1.13.0

Choose a tag to compare

@middag-ci-release middag-ci-release released this 23 Nov 16:08
2352184

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

Choose a tag to compare

@middag-ci-release middag-ci-release released this 23 Nov 15:29
d58693b

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

Choose a tag to compare

@middag-ci-release middag-ci-release released this 23 Nov 14:26
f3f500f

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: FormComponent gains the richtext, time and autocomplete cases, appended at the end of the schema lists. FormSectionNode label now accepts a Translatable or 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 src carries exactly one of @api or @internal.
  • Documentation: SECURITY and policy docs updated (uniform security policy text, version-family support policy).

v1.10.3

Choose a tag to compare

@middag-ci-release middag-ci-release released this 21 Nov 17:18
1c88073

1.10.3 (2026-11-20)

Bug Fixes

  • block: send the empty-state call-to-action as an object (60628e2)
  • block: send the empty-state call-to-action as an object (84b1047)

v1.10.2

Choose a tag to compare

@middag-ci-release middag-ci-release released this 19 Nov 20:58
84f77a4

1.10.2 (2026-11-19)

Documentation

v1.10.1

Choose a tag to compare

@middag-ci-release middag-ci-release released this 16 Nov 20:07
5341cd0

1.10.1 (2026-11-16)

Bug Fixes

  • emit the active sort in the CrudBuilder index table data (61f19d3)

v1.10.0

Choose a tag to compare

@middag-ci-release middag-ci-release released this 16 Nov 19:40
44ae9c5

1.10.0 (2026-11-16)

Features

  • CrudBuilder row action targets, column variants and multi-region pages (cc5587a)