Releases: verbb/cp-nav
Releases · verbb/cp-nav
4.0.9
Fixed
- Fix multiple nested subnav items not appearing correctly.
4.0.8
Fixed
- Fix subnav items not showing correctly.
4.0.7
Added
- Add support for plugins that use
EVENT_REGISTER_CP_NAV_ITEMS
to register nav items.
Fixed
- Fix top-level plugins with no subnavs being unable to be nested within another nav item.
- Fix multi-level navigation items expanding when re-ordered.
- Fix toggle/move indicator alignment for settings.
- Fix navigation items being duplicated in some instances.
- Fix an error when trying to set a custom icon on a navigation item.
Removed
- Removed the ability to collapse/expand subnav items in the navigation builder, to fix a few tricky edge cases that are too tricky to deal with!
4.0.6
Fixed
- Fix an issue with subnav items getting saved before their parent navigation item.
- Fix an error when saving navigations and their layout was yet to exist.
- Fix lack of permissions checks for plugin subnav items.
- Fix Craft 3 migration for some plugins.
4.0.5
Fixed
- Fix an error when updating from Craft 3.
4.0.4
Added
- Add english translations.
Fixed
- Fix migration from Craft 3 not generating subnavs.
- Fix an error when rebuilding project config.
- Fix an error when uninstalling.
4.0.3
Fixed
- Fix an error caused by Craft 4.1 removing font data.
- Add checks around JS
waitForElm
function.
4.0.2
Fixed
- Fix an error when upgrading from Craft 3, when also having for some plugins (SEOmatic) installed.
4.0.1
Fixed
- Fix an error when trying to fetch a layout for a user, when no user session was detected.
4.0.0
Added
- Added the ability to create and manage subnav items.
- Added "Craft" and "Plugin" navigation types, to have more fine-grained control over certain navigation items.
- Added the ability to change the subnav behaviour. Either open only when the parent is active (Craft default), always open, or toggle-state open.
- Added plugin setting to control default subnav behaviour for all navigations.
- Minor UI polish inline with Craft 4 (spinners, colours, shadows, etc).
- Added better support for Craft font-icons, which now parses their icon font files for available glyphs.
- Added
project-config/rebuild
support. - Added
archiveTableIfExists()
to install migration.
Changed
- Now requires PHP
8.0.2+
. - Now requires Craft
4.0.0+
. - Improved performance when rendering navigation items.
- Revamped UI for navigations to allow for nested items.
- Plugin and Craft subpages can now be managed in the navigation builder.
- The rendered HTML navigation is now completely custom, giving us more control over output, allowances for customisation and more.
- Divider navigation items are now customisable.
- Divider navigation items now no longer require a label, and are rendered as a line.
- Navigation items without a URL now render as a heading.
- Navigation items with "New window" enabled now add
rel="noopener"
to the anchor tag. - Now requires CP Nav
3.0.17
in order to update from Craft 3. - Renamed service classes.
- Renamed base plugin methods.
Fixed
- Fixed an issue where in some cases, menu items were still being shown in the user didn't have permission to access it.
- Fixed navigation items getting out of sync for different users.
- Fixed issues comparing the normal Craft-generated navigation with your custom one.
- Fixed an issue where project config wouldn't be kept up to date correctly for navigation items.
- Fixed default layout not always being created on-install.
- Fixed menu items to expand if two similarly-named pages exist and one is active.
- Fixed an error where some new navigation items weren’t created if they had similar handles to other items.
- Removed leftover debug badges.
Removed
- Removed
cpnav_pending_navigations
database table.