Skip to content

Releases: westerveltco/django-simple-nav

v0.11.0

21 Aug 20:18
88fa17f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

01 Aug 19:07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.10.0

v0.9.0

25 Jul 21:52
349aef1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

25 Jul 21:17
19dc974
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

v0.7.0

16 Jul 18:32
fc16257
Compare
Choose a tag to compare

This is a pretty big release, with a major refactor of the internals of the library and a number of breaking changes, which you can find below. Please read the CHANGELOG for more info.

🚨 Breaking Changes 🚨

There are a handful of breaking changes in this release.

  • Django 3.2 support has been dropped. (#91)
  • Internals of library have been refactored to slightly simplify it, including Nav, NavGroup, NavItem and the django_simple_nav templatetag. (#89, #95)
  • The extra_context attribute of NavItem and NavGroup now only renders the contents of the dictionary to the template context. Previously it did that as well as provided extra_context to the context. If this sounds confusing, that's because it kinda is. 😅 This basically just means instead of two places to get the extra context (extra_context and the keys provided within the extra_context attribute), there is now just one (the keys provided within the extra_context attribute). (#89)
  • NavGroup is now marked as active if the request path matches its URL (if set) or one of its items' URLs. (#105)
  • Nav.get_items now returns a list of NavGroup or NavItem, instead of a list of RenderedNavItem. (#89)
  • RenderedNavItem has been removed and it's functionality refactored into both NavItem and NavGroup. This should not affect the public API of this library, but I thought it should be noted. (#89)
  • django_simple_nav.permissions module has been removed and it's functionality refactored into NavItem. (#89)

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

24 Apr 17:38
4a65767
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.6.0

v0.5.1

12 Mar 19:40
656f362
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

12 Mar 17:36
6f6de1e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

23 Feb 20:24
909e021
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

23 Feb 18:03
98f1262
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0