Skip to content

Releases: mattmilburn/strapi-plugin-menus

v1.2.1

12 Jan 19:09
Compare
Choose a tag to compare

💅🏻 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

20 Dec 20:34
Compare
Choose a tag to compare

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.
  • Move uid services to their own service.

v1.1.0

08 Oct 19:57
Compare
Choose a tag to compare

💅🏻 Enhancements

⚙️ Chore

  • Optimize lodash imports.
  • Change peerDependencies for Strapi to use at least version 4.4.3 to support custom fields.

v1.0.3

05 Oct 20:12
Compare
Choose a tag to compare

🐛 Bug fixes

  • Add unused or missing translations.
  • Fix description rendering in relation fields.
  • Fix Initializer invalid assignment of current prop.

💅🏻 Enhancements

  • Support translations for label, description, and placeholder props in custom fields.

⚙️ Chore

  • Add Translations section to the README.

v1.0.2

16 Aug 21:58
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix how resize handler was used to set width of fixed position element.

v1.0.1

16 Aug 02:14
Compare
Choose a tag to compare

💅🏻 Enhancements

  • Use fixed positioning for EditMenuItem when scrolling.
  • Add color style for dark mode. (#35)
  • Enable column sorting in the index view.
  • Enable pagination controls in the index view.

⚙️ Chore

  • Update troubleshooting section of README.

v1.0.0

29 Jul 15:38
Compare
Choose a tag to compare

💥 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 and findOne REST methods, create, update, and delete 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.