chore(deps): update dependency django-stubs to v4.2.7 #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
==4.2.6
->==4.2.7
Release Notes
typeddjango/django-stubs (django-stubs)
v4.2.7
Compare Source
Headline changes
ManyToManyField
andModel.<manytomany>.through
RelatedManager
orManyRelatedManager
, update those to django-stubs-ext:from django_stubs_ext.db.models.manager import ManyRelatedManager, RelatedManager
@cached_property
properties with class variables or@property
properties.Plugin improvements
ManyToManyDescriptor
and fixedModel.<manytomany>.through
typing by @flaeppe in #1805Self
-typed custom queryset methods to be compatible withQuerySet
by @moranabadie in #1852django-stubs-ext
RelatedManager
,ManyRelatedManager
stub-only classes by @intgr in #1834TypedModelMeta
ordering
attribute to allowOrderBy
objects by @HansAarneLiblik in #1847Stubs fixes
search_help_text=
parameter toChangeList.__init__()
by @quinox in #1801migrations.RunSQL()
by @UnknownPlatypus in #1803SuccessMessageMixin.form_valid()
by @SukiCZ in #1812db_comment=
parameter position fordjango.db.models.Field.__init__()
by @flaeppe in #1815RelatedField.__init__()
method and removedForeignObject.__init__(db_constraint=)
parameter in Field constructors by @flaeppe in #1816assertNumQueries()
andassertQuerySetEqual()
by @flaeppe in #1823get_deleted_objects()
return fromlist[Model]
->list[str]
by @golgor in #1825django.db.models
re-exports by @intgr in #1835TemplateResponse.cookies
attribute andSimpleCookie
type by @apollo13 in #1702Stubs improvements
django.contrib.postgres.expressions
by @flaeppe in #1765django.contrib.gis.gdal.libgdal
by @flaeppe in #1811@deconstructible
as a mixin class by @flaeppe in #1818django.db.models.enums.*
modules by @flaeppe in #1819BaseExpression.contains_subquery()
method (update to Django 4.2.7) by @intgr in #1827QuerySet
by @flaeppe in #1822Collector
andNestedObjects
attributes, methods by @intgr in #1826django.db.models.functions.MD5()
database function by @kevinmarsh in #1830BaseModelAdmin
attributes to be either list or tuple by @flaeppe in #1832BaseModelAdmin
methods to return either list or tuple by @flaeppe in #1833capfirst()
None
return by @intgr in #1842django.core.management.commands
modules by @UnknownPlatypus in #1829Model._do_update()
method signature by @pfouque in #1854Stubs improvements: @cached_property
functools.cached_property
definition instead of defining our own by @intgr in #1771@property
attributes to@cached_property
part 1 by @UnknownPlatypus in #1761@property
attributes to@cached_property
part 2 by @UnknownPlatypus in #1768output_field
to@cached_property
orClassVar
and improves type by @UnknownPlatypus in #1769Housekeeping
<Model>_RelatedManager
entries to allowlist by @flaeppe in #1806RelatedManager
todjango.db.models.fields.related_descriptors
by @flaeppe in #1814RelatedManager
,ManyRelatedManager
to inherit fromManager
notBaseManager
by @intgr in #1843New Contributors
Full Changelog: typeddjango/django-stubs@4.2.6...4.2.7
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.