Skip to content

build(deps): bump django-treebeard from 4.7 to 7.0.0 in /requirements - #3927

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/requirements/develop/django-treebeard-7.0.0
Open

build(deps): bump django-treebeard from 4.7 to 7.0.0 in /requirements#3927
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/requirements/develop/django-treebeard-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor

Bumps django-treebeard from 4.7 to 7.0.0.

Changelog

Sourced from django-treebeard's changelog.

Release 7.0.0 (Aug 4, 2026)

  • Treebeard's Django admin integration (AdminTree) has been rewritten. The new implementation is significantly more performant and scalable, and implements lazy-loading for node children. Projects that had overridden TreeAdmin behaviour should consult the code for changes.
  • Added a max_depth argument to the get_tree() and get_descendants() methods, to allow control over the depth of the tree that is returned.
  • Improved the efficiency of get_descendant_count() to use a database count instead of fetching the entire queryset (for MP, NS and LT implementations).
  • Added support for Django 6.1.

Release 6.0.0 (Jul 20, 2026)

Treebeard 6.0.0 is a major release. It features a change to Treebeard's API.

The following methods that previously existing on the Node model class have now moved to the model manager instead:

  • load_bulk
  • dump_bulk
  • find_problems
  • fix_tree
  • get_tree
  • get_descendants_group_count
  • get_annotated_list_qs
  • get_annotated_list
  • get_root_nodes
  • get_first_root_node
  • get_last_root_node
  • get_children
  • get_children_count
  • get_siblings
  • get_descendants
  • get_descendant_count
  • get_first_child
  • get_last_child
  • get_first_sibling
  • get_last_sibling
  • get_prev_sibling
  • get_next_sibling
  • get_root
  • get_parent
  • get_ancestors

So, for example, code like this:

    node.get_children()
</tr></table> 

... (truncated)

Commits
  • a08ccb1 Bump to version 7.0.0
  • 1da389e Defer removal of deprecated methods.
  • 0a8e5cc Declare support for Django 6.1
  • 9e001f8 Rework TreeAdmin to support lazy-loading of children, and much more efficient...
  • 5551696 Refactor drag and drop implementation in admin
  • 2f0c708 Fix MP add_child when the target is an ancestor class of the child being added.
  • 1f93573 Add max_depth param to tree and descendant query APIs
  • 115ec2a Change sphinx theme for docs. Clean up duplicated methods in docs.
  • 736e1cd Bump to version 6
  • abd9908 Move table-level methods into managers
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-treebeard](https://github.com/django-treebeard/django-treebeard) from 4.7 to 7.0.0.
- [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES.md)
- [Commits](django-treebeard/django-treebeard@4.7...7.0.0)

---
updated-dependencies:
- dependency-name: django-treebeard
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants