Navigation 1.x is on version 1.4.12, released on Jan 15, 2021
Released Jan 15, 2021
Add support for Gatsby Helper.
Fix “Clear Nodes” clearing the primary site’s nodes, instead of the currently-editing site’s nodes.
Fix incorrect redirect when clearing nodes.
Fix when disabling propagation, node levels weren’t being retained and resetting to the root level.
Released Jan 14, 2021
Fix for non-absolute, non-root-relative nodes not getting their active state set correctly.
Released Dec 22, 2020
Fix getSupportedSites()
for a node always returning all sites.
Released Dec 15, 2020
Add node.isSite()
and node.isPassive()
.
Fix a potential error during migration, where a “All elements must have at least one site associated with them” warning might appear.
Fix an error when trying to edit a navigation with no enabled sites.
Released Dec 11, 2020
Fix EVENT_REGISTER_GQL_SCHEMA_COMPONENTS
error when running Navigation on Craft 3.4.x sites.
Fix showing sites where a user might not have permission to access.
Fix when setting a navigation to not propagate nodes, existing nodes should be created for new sites.
Released Dec 07, 2020
Fix node type not persisting to a custom URL when editing a node (again).
Released Dec 07, 2020
Navigation node queries via GraphQL are now no longer automatically included in the public schema.
Fix node type not persisting to a custom URL when editing a node.
Fix nodes propagating to all user-enabled sites, instead of the site a navigation is enabled for.
Released Dec 02, 2020
Fix potential issue with Feed Me throwing errors when not installed or found.
Fix node type dropdown in node edit modal not showing the correct enabled node types.
Released Nov 29, 2020
Node field layout designer no longer allows tabs of fields.
Fix error when accessing navigation nodes for a navigation that was not enabled.
Fix list of editable navigations not being correct, when editing a navigation. This could cause loading the incorrect (un-editable) nav in some instances.
Fix node custom fields not showing overrides (label, instructions) as defined in the field layout designer.
Released Nov 16, 2020
Add hasUrl()
node query param.
Fix element permissions for navigations not working correctly for non-english users.
Allow navigation instructions to include line-breaks.
Released Nov 03, 2020
Add support for all registered elements, including third-party ones that support hasUris
. Element support can be managed in the navigation settings.
Add URL for element nodes when hovering over the node type.
Add URL for element nodes in node edit modal.
Refactor render template to use Twig attr
function for cleaner templates.
Fix unnecessary empty attributes being outputted when using craft.navigation.render()
.
Released Oct 20, 2020
Fix unnecessary additional queries for nodes.
Released Oct 18, 2020
Significantly improved performance when adding multiple nodes at once.
Add passive node type. Perfect for headings, dividers or other UI-related nodes that don't have a URL.
Add “Clear Nodes” button when editing navigations.
Add “Settings” button when editing navigations.
Add Permissions to navigations, allowing specific sections/groups/volumes/etc to be enabled to add elements from.
Add Enable/Disable for each node type for navigations. Allows easier customising of available nodes to add from.
Add Feed Me support. Navigation nodes can now be imported using Feed Me.
Add site settings to navigations, to control which sites can have the navigation enabled for.
Add hasAttributes
function to node types.
Removed disabledElements
config setting. This is now managed at the plugin level.
Fix active node checking when special characters are in URLs.
Navee migration is now complete, handling migrating nested nodes.
Fix modal node editor not respecting node type settings for field options available to edit.
Fix adding multiple nodes at once often being added out of order.
Released Sep 29, 2020
Add propagateSiteElements
config setting to help with multi-site menus. Navigation will use the equivalent element for each site automatically for multi-site menus. But you might want to pick specific elements across your sites, and have them the same across all your navigations.
Released Sep 27, 2020
Fix homepage entry active state check when outputting multiple different sites navs on a single site.
Fix error when trying to get the active state for a node with an empty URL.
Fix custom attributes in GraphQL not returning an object.
Released Sep 16, 2020
Fix detection of active parameter on multi-site setups.
Fix nodes being unlinked to their element in some special circumstances.
Released Aug 31, 2020
For site nodes, the trailing slash is now trimmed for the site URL.
Fix node being marked as active for partial matches where the URLs contain the same words.
Fix default site when editing a nav to be the first editable for a user.
Released Aug 20, 2020
Fix edit menu button showing with allowAdminChanges = false
.
Fix overflow in model node edit window, effecting some custom fields.
Released Aug 14, 2020
Fix active-state check for nodes, which weren't catering for multi-sites with a sub-directory in their base url.
Released Aug 11, 2020
Update node->uri
to node->nodeUri
, prevents URI issues when saving elements.
Update migration to log potential errors.
Released Aug 10, 2020
Add settings button when editing a navigation.
Add uri
property to node.
Fix incorrect translation for settings in navigation index.
Fix elementSiteId
error caused by Craft 3.5 changes.
Released Aug 05, 2020
Fix elementSiteId
not saving for nodes in Craft 3.5+.
Fix deprecation notice for enabledForSite
.
Released Jul 22, 2020
Fix custom node types with hasTitle = false
.
Fix custom node types with long names in the CP.
Ensure the the primary site is selected when editing a nav, rather than the first editable nav.
Released Jun 24, 2020
Fix element still being referenced for a node when switching it to a custom URL..
Released Jun 22, 2020
Add getModalHtml
for custom node types.
Fix JS errors when there are multiple custom node types.
Ensure custom node types have their node set, as early as possible.
Ensure custom node types save the url property.
Released Jun 06, 2020
Fix JS error when editing navigations.
Released Jun 05, 2020
Fix checking to see if Commerce is installed to enable products.
Released Jun 02, 2020
Fix incorrect site being selected when editing a nav.
Released May 29, 2020
Fix site dropdown selection not persisting from element indexes
Released May 20, 2020
Fix activeNode
taking into account the suffix for a URL. Active nodes will now return regardless of the defined suffix.
Fixed deprecation error on buildNavTree
. (thanks @jaydensmith).
Released May 11, 2020
Fix site URL errors on Craft 3.5 beta.
Released Apr 28, 2020
Fix custom URL getting overwritten when selecting elements in custom fields.
Released Apr 18, 2020
Allow getActiveNode()
to include option to match against children being active.
Released Apr 16, 2020
Fix logging error Call to undefined method setFileLogging()
.
Released Apr 15, 2020
File logging now checks if the overall Craft app uses file logging.
Log files now only include GET
and POST
additional variables.
Released Apr 14, 2020
Use getBaseUrl()
for parsing Site node type URLs.
Fix sort order not persisting when saving navs.
Fix custom attributes rendering incorrectly when using node.link
.
Released Apr 02, 2020
Ensure plugin project config is removed when uninstalling.
Fix incorrect permissions being enforced for new navs.
Released Mar 30, 2020
Refactored getLink()
and pass classes and custom attribute values through renderObjectTemplate()
. (thanks @jaydensmith).
Hide nav settings URL if the user doesn’t have permission.
Fix malformed UTF-8 characters when adding a node.
Released Feb 24, 2020
Ensure saving node’s URL is kept raw, and not the generated URL.
Allow Twig to be used in node’s URLs, so you can use for example {{ siteUrl('blog') }}
for site-specific URLs.
Add element site menu to node editor HUD. (thanks @steverowling).
Fix double escaping of nav titles in vue admin tables. (thanks @steverowling).
Released Feb 12, 2020
Fix potential fatal error when upgrading from previous Craft/plugin versions.
Released Feb 11, 2020
Add more functionality to node types, now fully-featured!
Add Site node type, for selecting whole sites, and using their Base URL.
Fix error for site node types when propagating.
Bring gql implementation up to speed.
Fix JS error when adding a manual node.
Released Feb 05, 2020
Fix disabled state incorrectly showing when saving a node.
Fix Navee migration.
Released Feb 03, 2020
Fix migration issues when other migrations save elements.
Released Feb 01, 2020
Revert behaviour of URL generation. No longer enforce the use of Craft’s url()
function when generating URLs for nodes.
Released Jan 29, 2020
Craft 3.4 compatibility.
Released Jan 09, 2020
Fix empty URL being overridden.
Change url to use siteUrl
instead of url
.
Released Jan 09, 2020
Fix error thrown when saving a node's element in some cases.
Released Jan 09, 2020
Fix missing displayName
twig function.
Fix project config issue with maxNodes
.
Released Jan 09, 2020
Fix GraphQL issue when querying children.
Released Jan 08, 2020
Add custom field support for navigation nodes. Add any additional fields to each node! (thanks @jaydensmith).
Allow swapping of an element in the HUD for a node, once the node has been created.
Add feature to switch node type for existing nodes. Makes it easy to switch from Entry to Custom URL.
Add GraphQL support. See docs.
Add custom node types. The ability to define your own custom type of nodes. See docs.
Add custom attributes for nodes. Define your own attributes (think data-scroll
, etc) attached to the anchor tag for each node.
Add URL suffix for nodes - in case you want to add #example
or ?some-query=value
to element URLs.
Add max nodes option for navs to limit the number of nodes in a nav.
Add separate user permissions for create/edit/delete navs.
Run non-full URLs through Craft's url()
function. This will help defining relative URLs, so they don't always need to begin with a /
.
Released Nov 27, 2019
Fix pesky debug output!
Released Nov 27, 2019
Add Navee migration + add panels to settings.
Add EVENT_NODE_ACTIVE
.
Add disabledElements
to disable certain element from being added to navs.
Add getAllNavs(). Thanks @lewisjenkins.
Update permissions to act correctly.
Fix potential error when deleting nodes.
Improve save-element checks for elements that have a URL.
Fix being unable to create new nav with the same handle as a deleted one.
Released Jul 24, 2019
Add better multi-site handling to A&M nav migration.
Hide the “Parent” select field when the nav’s max levels are 1.
Update node propagation to use getSupportedSites()
.
Fix error when saving a nav in some instances.
Fix lack of permission enforcement for navs.
Fix type mismatch error on PostgreSQL. (thanks @boboldehampsink).
Released May 15, 2019
Add craft.navigation.getNavById()
.
Add craft.navigation.getNavByHandle()
.
Add feedback to A&M nav migration.
Min requirement to Craft 3.1.x.
Fix A&M migration not using the sites’ language to match nodes on.
Released Mar 19, 2019
Fix not being able to edit nodes with allowAdminChanges
enabled.
Fix error when propagating a manual node in a multi-site setup.
Released Mar 17, 2019
Fix schema version check in migration.
Ensure navs are read-only when allowAdminChanges
is true.
Released Mar 15, 2019
Fix migration issue, caused in some instances.
Released Mar 15, 2019
Add override notice for settings fields.
Support for project config.
Fix linked element URL query to afterPrepare().
Fix error when deleting nodes.
Fix Postgres error for querying linked element URLs.
Released Mar 10, 2019
Add craft.navigation.tree()
.
Remove elementSiteId
and refactor linked element’s siteId handling.
Removes the need to create individual elements for each node when propagating is true.
Better way to store the linked element’s siteId, via the node’s slug.
Fix errors when adding multiple site-enabled nodes to a nav.
Better validation when trying to create a nav with a duplicate handle.
Released Mar 07, 2019
Fix migration a little more.
Released Mar 07, 2019
Fix navigation field to use handle.
Add migration for IDs or Nav models saved for content.
Released Mar 07, 2019
Fix string being passed to getNavById()
, no need to be that strict.
Released Mar 07, 2019
Improved the field to return the navigation model.
Released Mar 03, 2019
Remove A&M Nav migration from install, where it can produce an error in some circumstances.
Released Feb 27, 2019
Add node.target
to return either _blank
or an empty string if the node should open in a new window.
Released Feb 24, 2019
Add permissions for navs.
Support aliases in custom URL.
Fix node titles’s not propagating correctly for nodes.
Released Feb 11, 2019
Fix error thrown on new installs (missing db column).
Released Feb 10, 2019
Fix node level not being applied on new nodes.
Fix not being able to see new nodes after all have been removed in the CP.
Fix sortOrder not being set for new navs.
Fix getActiveNode()
reporting back parent as active.
Allow getActiveNode
to use query criteria.
Released Feb 09, 2019
Fix migration issue for new installs.
Released Feb 09, 2019
Add navigation field.
Added classes to node.link
.
Add new window and class indicators to nodes in CP.
Add indicator of custom title for nodes in the CP.
Add instructions to nav.
Add A&M Nav migration.
Added translatable icon to title.
Fix error when deleting elements in a multi-site.
Fix node’s being active when they shouldn’t be (matching URLs too early).
Refactor multi-site propagation of nodes.
Fix node-type display issues when dragging node in CP.
Fix not fetching URL for elements that aren’t localised (assets).
Released Dec 06, 2018
Added hasActiveChild
to node, for use when not using the {% nav %}
twig tag.
Fix migration issue from 1.0.16.1 to 1.0.17.2.
Released Nov 25, 2018
Fixed error in migration.
Released Nov 24, 2018
Fix migration from 1.0.17 in multi-site.
Released Nov 23, 2018
Fix some elements not having their elementSiteId set, causing multi-site navs to have no URLs.
Released Nov 15, 2018
Fix error thrown from console or queue requests when updating elements (for reals).
Released Nov 15, 2018
Fix error thrown from console or queue requests when updating elements.
Released Nov 13, 2018
Fix SQL errors thrown for new installs.
Released Nov 12, 2018
Fix error thrown on homepages.
Released Nov 11, 2018
Massive performance improvements, lowering database queries by 98% and rendering speed to two-thirds the time.
Added elementSiteId
for all nodes for better site-specific linked element handling.
Released Oct 03, 2018
Fixed a 404 issue due to incorrect URL when editing a nav's nodes.
Fixed a multi-site issue where the primary site's nodes were being shown, even if the user didn't have permission to edit those nodes.
Improved handling of pre-selecting localStorage siteId's (when already selecting a site from an element index).
Released Sep 27, 2018
Add attributes item to object for render()
tag.
Add translation for enabledForSite
(thanks @Saboteur777).
Ensure nodes are propagated to newly-created sites (if set to propogate nodes in nav settings).
Adds support for detecting and updating the site id based on changes made when editing entries. (thanks @lemiwinkz).
Released Sep 17, 2018
Trim trailing slash in getActive method when addTrailingSlashesToUrls.
Add enabledForSite
functionality to allow nodes to be enabled/disabled per site.
Fix error that could occur when trying to add a new node on a multi site setup.
Refactor render()
variables to be cleaner and prevent activeClass
error.
Fix node.link
not working with the newWindow option set.
Released Aug 28, 2018
Fix missing column for propagateNodes in install (whoops).
Released Aug 27, 2018
Fix migration potentially not firing for propagateNodes.
Released Aug 27, 2018
Fix error thrown when not setting 'Propagate nodes'.
Released Aug 26, 2018
Added propagateNodes
nav setting.
Added getNavByHandle()
.
Added activeClass
to render()
function.
Added getActiveNode()
.
Remove required URL for manual node.
Fix lack of element registration.
Fix navigation’s maxLevels not working after changing or adding elements to the nav.
Improve active state on homepage.
Released Aug 15, 2018
Added breadcrumbs()
functionality.
Hungarian translations added (thanks to @Saboteur777).
Fix manual links and active state.
Released Aug 06, 2018
Fix parent select not always keeping value after adding a new node.
Remove leftover test values in manual node settings.
Fixed an error which could prevent the plugin from installing on PostgreSQL.
Released Jul 27, 2018
Fix being unable to fetch elements that are only in a non-primary site
Fix homepage being set to active on child page.
Fix deprecated notice.
Released Jul 18, 2018
Modified active class to set the active class based on the current URL used.
Fix render()
method not resetting into template mode (thanks @billythekid).
Fix node parent not being active when child node is.
Released Jul 17, 2018
Fix missing alias name for prefixed tables (thanks @qbasic16).
Fix nodes saving URL for elements in some cases.
Available for Craft 3. Get it from the plugin store.