Releases: verbb/cp-nav
Releases · verbb/cp-nav
4.0.0-beta.4
Added
- Add
project-config/rebuild
support. - Add
archiveTableIfExists()
to install migration.
Changed
- Rename service classes.
- Rename base plugin methods.
Fixed
- Fix menu items to expand if two similarly-named pages exist and one is active.
- Fix an error where some new navigation items weren’t created if they had similar handles to other items.
4.0.0-beta.3
Fixed
- Remove leftover debug badges.
4.0.0-beta.2
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.
Changed
- 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.
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.
Removed
- Removed
cpnav_pending_navigations
database table.
4.0.0-beta.1
Changed
- Now requires PHP
^8.0.2
. - Now requires Craft
^4.0.0-beta.1
.
3.0.17
Fixed
- Fix Plugin Store link being hidden for
allowAdminChanges = false
. - Fix potential error when migrating nav items.
3.0.16
Fixed
- Fix being unable to remove dividers.
- Fix divider’s not always displaying correctly.
- Fix selected state not being set for Globals.
3.0.15
Added
- Allow CpNav plugin services to be used in console requests. (thanks @jamesmacwhite).
Fixed
- Fix an error with PHP 7.2+ in some cases.
3.0.14
Fixed
- Fixed potential error for layouts without a
sortOrder
setting.
3.0.13.1
Fixed
- Fixed potential issue with migration.
3.0.13
Added
- Layouts can now be sorted in the control panel.
Fixed
- Fix project config storing
layoutId
instead oflayoutUid
. - Fix layout and navigation items getting out of sync with project config.