Releases: verbb/navigation
Releases · verbb/navigation
1.4.29
Added
- Add support for GraphQL querying on Navigation field within other elements.
2.0.7
Added
- Add the ability to set conditions on navigation field layout attributes and fields depending on node type.
- Add
element
andelementType
to breadcrumb items. - Add back
link
attribute for breadcrumbs.
Changed
- Set dirty attributes for track changes when saving a node.
Fixed
- Fix an error when saving a node, when switching its type.
- Fix a formatting issue when saving nodes and the toast notification.
- Fix the “Parent” value resetting after adding a node.
2.0.6
Changed
- Revamp
breadcrumbs()
function to include non-elements.
Fixed
- Fix incorrect node/list names for
gatsby-source-craft
plugin. - Fix reordering a navigation with
bypassProjectConfig
enabled. - Fix deleting a navigation with
bypassProjectConfig
enabled. - Fix a Craft 3 migration error when navigations contain no site settings.
2.0.5
Added
- Add migration to fix non-multi-site’s not being enabled.
Fixed
- Fix a Craft 3 migration issue where site-specific navigations weren’t marked as enabled.
- Fix an error running
resave
console commands.
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.