Releases: verbb/navigation
Releases · verbb/navigation
1.2.2
Fixed
- Fix missing
displayName
twig function. - Fix project config issue with
maxNodes
.
1.2.1
Fixed
- Fix GraphQL issue when querying children.
1.2.0
Added
- 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.
Changed
- 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/
.
1.1.14.1
Fixed
- Fix pesky debug output!
1.1.14
Added
- 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.
Fixed
- 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.
1.1.13
Added
- Add better multi-site handling to A&M nav migration.
Changed
- Hide the “Parent” select field when the nav’s max levels are 1.
- Update node propagation to use
getSupportedSites()
.
Fixed
- Fix error when saving a nav in some instances.
- Fix lack of permission enforcement for navs.
- Fix type mismatch error on PostgreSQL. (thanks @boboldehampsink).
1.1.12
Added
- Add
craft.navigation.getNavById()
. - Add
craft.navigation.getNavByHandle()
. - Add feedback to A&M nav migration.
Changed
- Min requirement to Craft 3.1.x.
Fixed
- Fix A&M migration not using the sites’ language to match nodes on.
1.1.11
Fixed
- Fix not being able to edit nodes with
allowAdminChanges
enabled. - Fix error when propagating a manual node in a multi-site setup.
1.1.10
Fixed
- Fix schema version check in migration.
- Ensure navs are read-only when
allowAdminChanges
is true.
1.1.9.1
Fixed
- Fix migration issue, caused in some instances.