Skip to content

chore(deps): update dependency django-stubs to v6 - #83

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/django-stubs-6.x
Open

renovate[bot] wants to merge 1 commit into
developfrom
renovate/django-stubs-6.x

Conversation

@renovate

@renovate renovate Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
django-stubs (changelog) ==4.2.6==6.1.1 age confidence

Release Notes

typeddjango/django-stubs (django-stubs)

v6.1.1

Compare Source

Highlight

This release does some changes around Manager / RelatedManager and the auto generated objects attribute to work better with typechecker like pyright / ty / pyrefly and be more strict about the fact that MyModel().objects is not valid.

However, to support that, existing broad annotations of related managers need to be narrowed or access to these related managers will be flagged as an error. For ex:

from django.db import models
from django_stubs_ext.db.models.manager import ManyRelatedManager, RelatedManager

class Article(models.Model):
-    category_set: Manager[Category]
+    category_set: RelatedManager[Category]
-    tags: Manager[Tag, ArticleTag]
+    tags: ManyRelatedManager[Tag, ArticleTag]

If you use the mypy plugin, you should also be able to drop these annotation completely in most cases. The plugin infers these types automatically.

See https://github.com/typeddjango/django-stubs#do-i-need-to-annotate-reverse-relations

What's Changed

New Contributors

Full Changelog: typeddjango/django-stubs@6.1.0...6.1.1

v6.1.0

Compare Source

What's Changed

This is the first Django 6.1 release 🎉

Django 6.0 and 5.2 are now in partial support mode.
Django 5.1 and 5.0 support was dropped (techically they would still work, but we don't test them no more).
Python 3.10 support was dropped.

Feedback is very welcome! 👍

Full Changelog: typeddjango/django-stubs@6.0.9...6.1.0

v6.0.9

Compare Source

What's Changed

6.0.8 was supposed to be the last 6.0.x release, but we found several regressions that we wanted to fix.
Now we are working on 6.1.0 release :)

Full Changelog: typeddjango/django-stubs@6.0.8...6.0.9

v6.0.8

Compare Source

This is the last release with Django 6.0 full support.
The next release will be focused on Django 6.1 support with Django 6.0 partial support.

What's Changed

New Contributors

Full Changelog: typeddjango/django-stubs@6.0.7...6.0.8

v6.0.7: Version 6.0.7

Compare Source

What's Changed

New Contributors

Full Changelog: typeddjango/django-stubs@6.0.6...6.0.7

v6.0.6: Version 6.0.6

Compare Source

What's Changed
New Contributors

Full Changelog: typeddjango/django-stubs@6.0.5...6.0.6

v6.0.5: Version 6.0.5

Compare Source

What's Changed
New Contributors

Full Changelog: typeddjango/django-stubs@6.0.4...6.0.5

v6.0.4

Compare Source

mypy@2.0 support is added.

What's Changed
New Contributors

Full Changelog: typeddjango/django-stubs@6.0.3...6.0.4

v6.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: typeddjango/django-stubs@6.0.2...6.0.3

v6.0.2

Compare Source

What's Changed

We now officially support mypy@1.20.
Since this release we run ty over our test cases.

New Contributors

Full Changelog: typeddjango/django-stubs@6.0.1...6.0.2

v6.0.1

Compare Source

What's Changed

Full Changelog: typeddjango/django-stubs@6.0.0...6.0.1

v6.0.0

Compare Source

This version add stubs coverage to all known Django 6.0 functionality. If you find anything missing, please open an issue.

Besides Django 6.0 updates, there is an even larger number of other improvements.

Many thanks to everyone who helped out, the amount of contributions has been amazing!

⚠️ Known issues

There is a crash bug in the mypy plugin, when checking code that uses QuerySet.order_by() with abstract models. Please follow #​3184

Django 6.0 stubs updates

Other stubs improvements

Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 5 times, most recently from 4ec70b5 to fc97c73 Compare April 10, 2026 17:59
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from fc97c73 to 5773817 Compare April 18, 2026 17:36
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 2 times, most recently from 9bb33ed to 5bf2135 Compare May 10, 2026 01:02
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 2 times, most recently from 31bb444 to 2f78778 Compare May 15, 2026 10:25
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from 2f78778 to 15b035e Compare May 15, 2026 11:52
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from 15b035e to 4a49b6a Compare May 25, 2026 10:28
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from 4a49b6a to 40024c4 Compare June 23, 2026 12:50
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 3 times, most recently from b6b7a72 to 8e76c75 Compare July 21, 2026 16:21
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 2 times, most recently from c1c4d7f to 71ddc02 Compare July 23, 2026 01:57
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch 3 times, most recently from 3066d88 to abb45f0 Compare August 12, 2026 18:08
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from abb45f0 to 65e0bf6 Compare August 26, 2026 19:33
@renovate
renovate Bot force-pushed the renovate/django-stubs-6.x branch from 65e0bf6 to ddca989 Compare September 14, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants