Skip to content

chore(deps): bump django-treebeard from 4.8.0 to 5.0.2#5289

Open
dependabot[bot] wants to merge 4 commits intomasterfrom
dependabot/pip/django-treebeard-5.0.2
Open

chore(deps): bump django-treebeard from 4.8.0 to 5.0.2#5289
dependabot[bot] wants to merge 4 commits intomasterfrom
dependabot/pip/django-treebeard-5.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps django-treebeard from 4.8.0 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

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 16, 2026
@cypress
Copy link
Copy Markdown

cypress Bot commented Feb 16, 2026

Geotrek-admin    Run #16208

Run Properties:  status check passed Passed #16208  •  git commit dd988c2a4c ℹ️: Merge 214a52b31273295af09a65bf3c0801cf71bb2f95 into d94a56b11755a8dae2a26e87a248...
Project Geotrek-admin
Branch Review refs/pull/5289/merge
Run status status check passed Passed #16208
Run duration 02m 09s
Commit git commit dd988c2a4c ℹ️: Merge 214a52b31273295af09a65bf3c0801cf71bb2f95 into d94a56b11755a8dae2a26e87a248...
Committer dependabot[bot]
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 22
View all changes introduced in this branch ↗︎

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 23, 2026

A newer version of django-treebeard exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@submarcos submarcos force-pushed the dependabot/pip/django-treebeard-5.0.2 branch from 689510f to 988617e Compare March 31, 2026 12:12
dependabot Bot and others added 4 commits April 7, 2026 10:35
Bumps [django-treebeard](https://github.com/django-treebeard/django-treebeard) from 4.8.0 to 5.0.2.
- [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES.md)
- [Commits](django-treebeard/django-treebeard@4.8.0...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>
@submarcos submarcos force-pushed the dependabot/pip/django-treebeard-5.0.2 branch from 988617e to 214a52b Compare April 7, 2026 08:35
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.

1 participant