Skip to content

[fields] refact!: Remove core array-based legacy fields - #8395

Merged
distantnative merged 4 commits into
v6/developfrom
v6/refact/lecay-fields/1-remove-core-legacy-fields
Aug 18, 2026
Merged

[fields] refact!: Remove core array-based legacy fields#8395
distantnative merged 4 commits into
v6/developfrom
v6/refact/lecay-fields/1-remove-core-legacy-fields

Conversation

@distantnative

@distantnative distantnative commented Aug 17, 2026

Copy link
Copy Markdown
Member

Review

  • Rough pass

Changelog

🚨 Breaking changes

  • To extend a core field, you need to extend the matching backend field class now (instead of array-based fields)
  • Cms\Picker and its subclasses got removed

For review team

  • Add changes & docs to release notes draft in Notion

@distantnative distantnative self-assigned this Aug 17, 2026
@distantnative distantnative added this to the 6.0.0-alpha.4 milestone Aug 17, 2026
@distantnative
distantnative marked this pull request as ready for review August 17, 2026 16:38
@distantnative
distantnative requested a review from a team August 17, 2026 16:38
@bastianallgeier bastianallgeier changed the title refact!: Remove core array-based legacy fields [fields] refact!: Remove core array-based legacy fields Aug 17, 2026
All core fields are PHP classes now. This removes the array-based
definitions in `/config/fields` together with their mixins and the
`legacy-*` type aliases that kept them reachable.
The `k-legacy-*` component aliases only existed to render the
array-based field definitions. With those gone, the aliases and the
four wrapper components they pointed at are no longer reachable.
`Kirby\Cms\Picker` and its `FilePicker`, `PagePicker` and `UserPicker` subclasses were only used by the `filepicker`, `pagepicker` and `userpicker` field mixins.
@bastianallgeier
bastianallgeier force-pushed the v6/refact/lecay-fields/1-remove-core-legacy-fields branch from d4b79ea to 494df27 Compare August 18, 2026 07:40
@distantnative
distantnative merged commit e766b37 into v6/develop Aug 18, 2026
10 checks passed
@distantnative
distantnative deleted the v6/refact/lecay-fields/1-remove-core-legacy-fields branch August 18, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants