Skip to content

Releases: verbb/cp-nav

4.0.0-beta.3

12 Apr 23:36
Compare
Choose a tag to compare

Fixed

  • Remove leftover debug badges.

4.0.0-beta.2

12 Apr 10:01
Compare
Choose a tag to compare

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

09 Mar 21:22
Compare
Choose a tag to compare

Changed

  • Now requires PHP ^8.0.2.
  • Now requires Craft ^4.0.0-beta.1.

3.0.17

30 Jun 12:39
Compare
Choose a tag to compare

Fixed

  • Fix Plugin Store link being hidden for allowAdminChanges = false.
  • Fix potential error when migrating nav items.

3.0.16

30 May 03:46
Compare
Choose a tag to compare

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

03 Feb 02:07
Compare
Choose a tag to compare

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

22 Jan 01:10
Compare
Choose a tag to compare

Fixed

  • Fixed potential error for layouts without a sortOrder setting.

3.0.13.1

12 Aug 08:09
Compare
Choose a tag to compare

Fixed

  • Fixed potential issue with migration.

3.0.13

12 Aug 02:40
Compare
Choose a tag to compare

Added

  • Layouts can now be sorted in the control panel.

Fixed

  • Fix project config storing layoutId instead of layoutUid.
  • Fix layout and navigation items getting out of sync with project config.

3.0.12

28 Apr 00:53
Compare
Choose a tag to compare

Fixed

  • Fix custom icon not working when editing items.