Skip to content

Releases: Log1x/navi

v1.0.6

04 Feb 16:13
Compare
Choose a tag to compare

Change log

Bug fixes

  • Fix the call to the Facade in composer.json. ☹️

v1.0.5

04 Feb 16:06
9e32a50
Compare
Choose a tag to compare

Change log

Enhancements

  • Move the menu builder methods into their own class.
  • Refactor the main Navi class to extend Fluent.
  • Add isEmpty() and isNotEmpty() helper methods to the main Navi class.
  • Refactor how menu items are filtered and mapped.
  • Set empty or null menu properties to false.
  • Add get() method allowing you to retrieve the properties of the current menu object. (#4)
  • Clean up documentation and add an example for get().

Breaking Changes

I'm sorry in advance, but I believe both changes are sane.

  • Rename NaviFacade to Navi and move it into a Facades directory to avoid aliasing it.
    • Please use Log1x\Navi\Facades\Navi instead.
  • Change object_id and db_id to objectId and dbId respectively to remain uniform with the existing camalCased keys

v1.0.4

08 Dec 18:03
d41ef69
Compare
Choose a tag to compare

Change log

Enhancements

  • Add db_id and object_id (#8)

Bug fixes

  • Add missing @param and @return to docblocks

v1.0.3

26 Sep 21:01
Compare
Choose a tag to compare

Change log

Enhancements

  • Add missing classes to blacklist. (#3)

v1.0.2

07 Sep 11:25
Compare
Choose a tag to compare

Change log

Enhancements

  • Breaking Change: build() now returns a fluent instance instead of an array by default. To restore original functionality, simply append ->toArray() at the end of your build().
  • Add activeAncestor, activeParent, classes, title, description, target, and xfn values to the item objects. (#2)
  • Add CHANGELOG.md.

v1.0.1

04 Jul 15:56
Compare
Choose a tag to compare

Change log

Enhancements

  • Set $item->children to [] by default.

v1.0.0

21 Jun 03:35
Compare
Choose a tag to compare

Initial release