Releases
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.
You can’t perform that action at this time.