Skip to content

build(deps): bump django-treebeard from 4.7.1 to 6.0.0 - #14469

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-treebeard-6.0.0
Open

build(deps): bump django-treebeard from 4.7.1 to 6.0.0#14469
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/django-treebeard-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps django-treebeard from 4.7.1 to 6.0.0.

Changelog

Sourced from django-treebeard's changelog.

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()

Would need to be rewritten as:

    MyModel.objects.get_children(node)

Putting these methods on the model manager instead of the model class is more consistent with Django's design patterns, and provides much more flexibility with their use. It also keeps the model class slim, avoiding conflicts with code layered on top.

... (truncated)

Commits
  • 736e1cd Bump to version 6
  • abd9908 Move table-level methods into managers
  • e0adc62 Fix version number in changelog
  • 98ee4ac Bump to version 5.3.0
  • 8f4db3f Fix related name conflicts in test models.
  • bd8b248 Add checks to ensure manager methods subclass Treebeard managers
  • b33a2fc Add regression test for #405
  • decc4f9 Add support for many-to-many relationships to Node.load_bulk()
  • 34fed3a fix: clear prefetch_related before iterator() in delete methods (fixes #405)
  • 3d0c1fc Revert change to MP_Node.get_ancestors() that caused a performance regression
  • 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.1 to 6.0.0.
- [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES.md)
- [Commits](django-treebeard/django-treebeard@4.7.1...6.0.0)

---
updated-dependencies:
- dependency-name: django-treebeard
  dependency-version: 6.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 major A high priority issue which might affect a lot of people or large parts of the codebase labels Jul 27, 2026
@cla-bot cla-bot Bot added the cla-signed CLA Bot: community license agreement signed label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed CLA Bot: community license agreement signed dependencies Pull requests that update a dependency file major A high priority issue which might affect a lot of people or large parts of the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants