Skip to content

Releases: fabiocaccamo/django-treenode

0.23.2

04 Sep 21:16

Choose a tag to compare

  • Fix set_parent not properly finding descendants. #196
  • Bump test requirements.
  • Bump pre-commit hooks.

0.23.1

30 Apr 15:59

Choose a tag to compare

  • Fix call to update_tree upon migration to zero causes ProgrammingError. #188 (by @danilo-botelho in #189)
  • Update linter settings.
  • Bump pre-commit hooks.

0.23.0

03 Apr 13:25

Choose a tag to compare

  • Add Django 5.2 support.
  • Bump pre-commit hooks.
  • Bump requirements.

0.22.2

05 Feb 20:39

Choose a tag to compare

  • Fix when list_display_links = None there is no encapsulating <a> tag. (by @bernieke in #168)
  • Bump test requirements.
  • Bump pre-commit hooks.

0.22.1

20 Sep 17:33

Choose a tag to compare

  • Increase tn_priority max value to 9999999999 to allow nodes sorting by timestamp. (by @simensol in #166)
  • Bump test requirements.
  • Bump pre-commit hooks.

0.22.0

31 Jan 13:37

Choose a tag to compare

  • Ensure cache has been updated, otherwise log a warning.
  • Fix tree methods not working if cache is not configured correctly.
  • Code refactoring.
  • Bump requirements.
  • Bump pre-commit hooks.
  • Bump GitHub action.

0.21.0

05 Dec 23:04

Choose a tag to compare

  • Add Python 3.12 support.
  • Add Django 5.0 support.
  • Speed-up test workflow.
  • Bump requirements.
  • Bump pre-commit hooks.

0.20.2

26 Sep 17:00

Choose a tag to compare

  • Use specific database for write operations in multi-database setup. #123 (by @Nathan-Cohen in #124)
  • Bump requirements and pre-commit hooks.

0.20.1

02 Jun 08:44

Choose a tag to compare

  • Fix AttributeError: 'NoneType' object has no attribute 'get_parent_pk' when loading fixtures. #88
  • Fix model tree update when receiving post_migrate signal.

0.20.0

29 May 14:12

Choose a tag to compare

  • Add pyupgrade (Python >= 3.8) to pre-commit config.
  • Add Django 4.2 support and drop Django 2.2 support.
  • Add django-upgrade (Django >= 3.2) to pre-commit hooks.
  • Add metadata module.
  • Add locales support.
  • Add string primary key support. #81
  • Fix XSS vulnerability in get_display_text method.
  • Replace str.format with f-string.
  • Replace flake8 with Ruff.
  • Replace setup.py in favor of pyproject.toml.
  • Run pre-commit also with tox.
  • Pin test requirements.
  • Bump requirements and pre-commit hooks.
  • Rename default branch from master to main.