Skip to content

4.0.0-beta.2

Compare
Choose a tag to compare
@engram-design engram-design released this 12 Apr 10:01
· 92 commits to craft-4 since this release

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.