Releases: verbb/navigation
Releases · verbb/navigation
2.0.4
Added
- Add site dropdown to navigation index.
- Add missing English Translations.
Fixed
- Fix
getSiteIds()
not returning correctly for just the enabled sites. - Fix an error when uninstalling.
1.4.28
Fixed
- Fix an error when resaving nodes for a site.
2.0.3
Added
- Changes from 1.4.27.
1.4.27
Fixed
- Fix partial URLs incorrectly marked as active
/newsletter
and/news
. - Fix duplicated nodes when not propagating nodes, when a new site is enabled in the nav settings, and existing nodes already exist.
2.0.2
Fixed
- Fix an error when migrating non-multisites from Craft 3.
- Fix incorrect permission check for structure items, when editing nodes.
- Fix an error when trying to fetch parent nodes for a non-multi-site install when editing nodes.
2.0.1
Added
- Added
active
,target
andelement
items tobuildNavTree
. - Added French translation (thanks @pascalminator).
- Added
hasChildrenClass
setting tonavigation.render
. Now also includes anav-children
class on<li>
elements that have children.
Changed
- Using
navgation.render()
now uses eager-loading by default. - Move
Add a …
strings tonavigation
translation strings.
Fixed
- Fixed missing instruction text when editing a navigation.
- Fixed
node.hasActiveChild
returningtrue
incorrectly.
2.0.0
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()
toNode::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()
andNodeType::hasAttributes()
which are now controlled by native fields.
2.0.0-beta.5
Added
- 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
- Rename base plugin methods.
- Support new
DefineElementInnerHtmlEvent
event for modifying element index html.
Fixed
- 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.
2.0.0-beta.4
Fixed
- 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.
2.0.0-beta.3
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.
Changed
- 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()
toNode::isCustom()
. - Custom URL nodes are now a Node Type -
verbb\navigation\nodetypes\CustomType
.
Fixed
- Fix some scenarios in the navigation builder, when you were unable to nest nodes under another node, or be able to un-nest.
Removed
- Removed
NodeType::hasClasses()
andNodeType::hasAttributes()
which are now controlled by native fields.