Strapi v4.5x introduced major changes to how the input field and state manager works for relations. The content manager no longer loads relations in the same request as the rest of the edit view data. Instead it fetches relation field values on demand or immediately after the edit view is initialized with data.
This does not represent any changes to how the data is served through the API, only how it is handled in the content manager and the menus plugin.
π Bug fixes
Fix destructured imports for lodash and other Strapi dependencies.
Fix issue where useStickyPosition would not initialize the sticky position until the user scrolled.
π π» Enhancements
Replace Select core components with RelationInput core components and adapt to the menus plugin state manager.
Clone relations routes and controllers from content manager to handle searching and loading relations.
Sanitize relation fields to use connect/disconnect format when submitting form data.
Prompt user before leaving the edit view with a dirty form state.
Create getFieldsByType util.
Create getRelationValue util.
Update logo colors for better contrast.
βοΈ Chore
Bump peer dependency versions for Strapi to v4.5.3.
Bump peer dependency versions for Strapi design system to v1.4.0.
Bump node engine versions to >=14.19.1 <=18.x.x.
Sync InputUID component with Strapi v4.5.3 InputUID component.
Included in this release
Strapi v4.5x introduced major changes to how the input field and state manager works for relations. The content manager no longer loads relations in the same request as the rest of the edit view data. Instead it fetches relation field values on demand or immediately after the edit view is initialized with data.
This does not represent any changes to how the data is served through the API, only how it is handled in the content manager and the menus plugin.
π Bug fixes
lodash
and other Strapi dependencies.useStickyPosition
would not initialize the sticky position until the user scrolled.π π» Enhancements
Select
core components withRelationInput
core components and adapt to the menus plugin state manager.connect/disconnect
format when submitting form data.getFieldsByType
util.getRelationValue
util.βοΈ Chore
>=14.19.1 <=18.x.x
.InputUID
component with Strapi v4.5.3InputUID
component.uid
services to their own service.