Skip to content

build(deps): bump django-treebeard from 4.7.1 to 5.0.2#13961

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/django-treebeard-5.0.2
Closed

build(deps): bump django-treebeard from 4.7.1 to 5.0.2#13961
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/django-treebeard-5.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps django-treebeard from 4.7.1 to 5.0.2.

Changelog

Sourced from django-treebeard's changelog.

Release 5.0.2 (Feb 13, 2026)

Treebeard 5.0.2 is a bugfix release.

  • MP and NS nodes are refreshed from the database after a move, for a better developer experience. Previously it was left to the developer to refresh manually if they needed to use the node, and this was the source of numerous issues.
  • Fixed handling of reverse ordering in node_order_by.
  • Fixed handling of inherited models in TreeAdmin.
  • Fixed adding root nodes for inherited models.
  • Handled null values of fields specified in node_order_by more gracefully: ignore the field for the purpose of ordering and log a warning to indicate that the value likely needs to be provided manually.
  • Modified dump_bulk() methods to use a queryset iterator to avoid loading large datasets into memory.
  • Fixed import error with Django 6 if pyscopg was not installed.

Release 5.0.1 (Feb 11, 2026)

Treebeard 5.0.1 is a bugfix release.

  • Fixed count aggregations not working on MariaDB.

Release 5.0.0 (Feb 11, 2026)

Treebeard 5.0 is a major release with a number of significant changes:

  • All operations that previously used raw SQL queries were rewritten to use the Django ORM. This provides better security, portability across backends, and compability for multiple database setups.
  • An experimental implementation using PostgreSQL Ltree was added.

Backward incompatible changes:

  • Internal fields used by Treebeard's MoveNodeForm have been renamed from _position to treebeard_position and _ref_node_id to treebeard_ref_node.
  • Changed initialisation signatures for the internal MP_AddChildHandler and MP_AddSiblingHandler to avoid collisions with model field names. Both constructors now expect a mapping of model creation arguments as a single parameter, instead of keywords arguments passed to the constructor.
  • MoveNodeForm has been refactored to use a ModelChoiceField for selecting the relative node. This field can be used by projects, e.g., for foreign keys in the Django admin.
  • Removed the Node.get_database_vendor() helper function which is no longer used.
  • The deprecated destructive argument was removed from MP_Node.fix_tree() use fix_paths instead.

Other changes:

  • Added support for Python 3.14.
  • Added support for Django 6.0.

... (truncated)

Commits
  • 6c4145c Bump to version 5.0.2
  • 97cff88 Drop workaround for Django serializer not handling proxy models, use iterator
  • c35e778 Refactor and simplify utils for handling multi-table inheritance
  • 85594dc Tighten query count checks for node methods
  • 8d6acc2 Update import path for PostgresOperatorLookup
  • 5b7ec68 Reload NS and MP nodes after move, so that they have correct tree values
  • 2577e1f Fix handling of reverse ordering in node_order_by, and change failure mode fo...
  • eefd910 Fix queryset used for admin views to use the specific model
  • b9ec735 Fix MP.add_root handling of inherited models
  • 524224d Add ltree to readme
  • 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 5.0.2.
- [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES.md)
- [Commits](django-treebeard/django-treebeard@4.7.1...5.0.2)

---
updated-dependencies:
- dependency-name: django-treebeard
  dependency-version: 5.0.2
  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 Feb 16, 2026
@cla-bot cla-bot bot added the cla-signed CLA Bot: community license agreement signed label Feb 16, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 23, 2026

Superseded by #13979.

@dependabot dependabot bot closed this Feb 23, 2026
@dependabot dependabot bot deleted the dependabot/pip/django-treebeard-5.0.2 branch February 23, 2026 00:02
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