packagist verbb/navigation 2.0.0

latest releases: dev-craft-4, dev-craft-5, 3.0.0-beta.3...
2 years ago

Added

  • When editing nodes, you can now toggle the status of nodes, view trashed nodes, and restore nodes.
  • When editing nodes, you can now duplicate, duplicate with descendants, delete, delete with descendants with multiple nodes.
  • When editing nodes, you can now add UI elements to node layouts.
  • Added the ability to set the default placement of new nodes, when adding them to a navigation.
  • Added the ability to set the color for custom nodes and registered elements, which show as the color indicator on the type of node in the navigation builder.
  • Add nested node support for Feed Me.
  • Add checks for registering events for performance.
  • Add project-config/rebuild support.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP 8.0.2+.
  • Now requires Craft 4.0.0+.
  • Now requires Navigation 1.4.24 in order to update from Craft 3.
  • Redesigned UI for editing navigation nodes.
  • When editing nodes, toggling the site is much quicker.
  • When editing nodes, we now lazy-load collapsed nodes to improve performance.
  • Editing nodes is now performed through slide-out menu, instead of HUD. This gives users much more room to edit content.
  • Editing nodes now properly supports multi-tabs for custom fields and UI elements.
  • All node attributes are now native fields. They can be included or excluded as needed, with the bonus of supporting conditions (show certain attributes based on user permissions). This can help simplify and streamline editing nodes for users.
  • When editing nodes, URL Suffix, Classes and Custom Attributes are now in an "Advanced" tab.
  • Changed Node::isManual() to Node::isCustom().
  • Custom URL nodes are now a Node Type - verbb\navigation\nodetypes\CustomType.
  • Rename base plugin methods.
  • Support new DefineElementInnerHtmlEvent event for modifying element index html.

Fixed

  • Fix an error with GraphQL.
  • Fix an error with incorrect NodeType casting.
  • Fix an error if Commerce is is enabled, but doesn’t exist.
  • Fix some scenarios in the navigation builder, when you were unable to nest nodes under another node, or be able to un-nest.
  • Fix an error when trying to set a new nodes parent.
  • Fix a nested node having its level reset when saving.
  • Fix another legacy site settings check.
  • Fix custom node’s URLs being blank.
  • Fix an error with Feed Me beta.
  • Fix icon alignment for node table rows.
  • Fix being unable to save non-element type nodes.
  • Fix lack of checking for node element in some places.
  • Fix an error when trying to create a navigation on a non-multi-site.

Removed

  • Removed NodeType::hasClasses() and NodeType::hasAttributes() which are now controlled by native fields.

Don't miss a new navigation release

NewReleases is sending notifications on new releases.