Releases: mattmilburn/strapi-plugin-menus
Releases · mattmilburn/strapi-plugin-menus
v1.2.1
💅🏻 Enhancements
- 🇪🇸 Spanish translations.
⚙️ Chore
- General code cleanup.
- Bump Strapi peer dependency version to
v4.5.6
. - Update README with note about using custom fields that rely on the
useCMEditViewDataManager
hook.
v1.2.0
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 withRelationInput
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.3InputUID
component. - Move
uid
services to their own service.
v1.1.0
💅🏻 Enhancements
- Support for custom fields in Strapi.
⚙️ Chore
- Optimize
lodash
imports. - Change
peerDependencies
for Strapi to use at least version 4.4.3 to support custom fields.
v1.0.3
🐛 Bug fixes
- Add unused or missing translations.
- Fix
description
rendering in relation fields. - Fix
Initializer
invalid assignment ofcurrent
prop.
💅🏻 Enhancements
- Support translations for
label
,description
, andplaceholder
props in custom fields.
⚙️ Chore
- Add Translations section to the README.
v1.0.2
🐛 Bug fixes
- Fix how resize handler was used to set width of fixed position element.
v1.0.1
v1.0.0
💥 Breaking Changes! 💥
Please see the Migrations Guide to keep your menus plugin up-to-date.
- The REST API response format for the menus plugin has been completely reworked to match how Strapi returns data for other API models. (#36)
- In addition to
find
andfindOne
REST methods,create
,update
, anddelete
methods are now available with the REST API. - Strapi's REST API params are now compatible with the menus plugin so data can be filtered and populated manually.