chore(deps): update dependency django-stubs to v5 #213
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.
This PR contains the following updates:
4.2.7
->5.1.0
5.1.1
Release Notes
typeddjango/django-stubs (django-stubs)
v5.1.0
Compare Source
Headline changes
annotate
to utilisemypy.types.Instance.extra_attrs
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2319AUTH_USER_MODEL
with aget_type_analyze_hook
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2335What's Changed
SimpleTestCase
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2289fields
being anIterable
inbulk_update
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2296from_queryset
manager as reverse manager by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2295--strict
onassert_type
tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2301get_context_object_name
onSingleObjectMixin
andMultipleObjectMixin
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2298BaseManager.cache
attribute by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2309CurrentSiteManager
manager type var by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2308django-stubs-ext
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2310Any
forConnectionProxy
attributes by @RealOrangeOne in https://github.com/typeddjango/django-stubs/pull/2311FieldDoesNotExist
from where it's not present at runtime by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2313ManyToManyField.description
a_StrOrPromise
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2312models.Model
adjustments fromget_metaclass_hook
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2322stubdefaulter
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2326stubdefaulter
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2327tuple[A]
types to betuple[A, ...]
types by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2328<QuerySet>.filter
call by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2332mypy.plugins.proper_plugin
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2333make_optional_type
instead of shipping our own by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2334utils
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2352contrib.sessions.backends
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2351.annotate
fields by @sterliakov in https://github.com/typeddjango/django-stubs/pull/2376QuerySet.as_manager()
by @sterliakov in https://github.com/typeddjango/django-stubs/pull/2377New Contributors
Full Changelog: typeddjango/django-stubs@5.0.4...5.1.0
v5.0.4
Compare Source
What's Changed
This is a re-release of django-stubs
5.0.3
with a minor fix:Full Changelog: typeddjango/django-stubs@5.0.3...5.0.4
Release notes for version 5.0.3
What's Changed
django-stubs-ext
beforedjango-stubs
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2188apps/test_config.yml
'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2190ManyToManyField.m2m_field_name
andModel._get_pk_val
methods by @YPCrumble in https://github.com/typeddjango/django-stubs/pull/2177Lookup
should be a subtype ofExpression
by @mkurnikov in https://github.com/typeddjango/django-stubs/pull/2199django.db.models.functions
: allowCombinable
as parameter, addRound
function by @noamkush in https://github.com/typeddjango/django-stubs/pull/2195django.core.management.utils
functions by @Viicos in https://github.com/typeddjango/django-stubs/pull/2200django.middleware
stubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2202django.http
stubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2201db/models/test_constraints.yml
to 'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2204display
andaction
decorators by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2210django.forms.ChoiceWidget
by @asottile in https://github.com/typeddjango/django-stubs/pull/2207ReverseManyToOneDescriptor
generic over a model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2227QuerySet
for multiple defaults inMultipleObjectMixin
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2191objects
annotation by @asottile in https://github.com/typeddjango/django-stubs/pull/2241serialized_aliases
parameter tosetup_databases
function indjango.test.utils
by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2247ConnectionProxy
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2246get_template_tag_modules
function signature todjango.template.backends.django
by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2250django.db.models.sql.Query
class by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2253admin.sites._ViewType
bound to allowStreamingHttpResponse
by @savanto in https://github.com/typeddjango/django-stubs/pull/2256Options._get_fields
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2254Path
type argument to tuple returned byget_app_template_dirs
by @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2266Paginator
by @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2271ManyToManyField
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/22755.0.3
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2274New Contributors
Full Changelog: typeddjango/django-stubs@5.0.2...5.0.3
v5.0.3
Compare Source
What's Changed
django-stubs-ext
beforedjango-stubs
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2188apps/test_config.yml
'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2190ManyToManyField.m2m_field_name
andModel._get_pk_val
methods by @YPCrumble in https://github.com/typeddjango/django-stubs/pull/2177Lookup
should be a subtype ofExpression
by @mkurnikov in https://github.com/typeddjango/django-stubs/pull/2199django.db.models.functions
: allowCombinable
as parameter, addRound
function by @noamkush in https://github.com/typeddjango/django-stubs/pull/2195django.core.management.utils
functions by @Viicos in https://github.com/typeddjango/django-stubs/pull/2200django.middleware
stubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2202django.http
stubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2201db/models/test_constraints.yml
to 'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2204display
andaction
decorators by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2210django.forms.ChoiceWidget
by @asottile in https://github.com/typeddjango/django-stubs/pull/2207ReverseManyToOneDescriptor
generic over a model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2227QuerySet
for multiple defaults inMultipleObjectMixin
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2191objects
annotation by @asottile in https://github.com/typeddjango/django-stubs/pull/2241serialized_aliases
parameter tosetup_databases
function indjango.test.utils
by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2247ConnectionProxy
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2246get_template_tag_modules
function signature todjango.template.backends.django
by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2250django.db.models.sql.Query
class by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2253admin.sites._ViewType
bound to allowStreamingHttpResponse
by @savanto in https://github.com/typeddjango/django-stubs/pull/2256Options._get_fields
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2254Path
type argument to tuple returned byget_app_template_dirs
by @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2266Paginator
by @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2271ManyToManyField
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/22755.0.3
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2274New Contributors
Full Changelog: typeddjango/django-stubs@5.0.2...5.0.3
v5.0.2
Compare Source
What's Changed
This is a re-release of django-stubs
5.0.1
with a minor fix:django-stubs-ext
dependency to5.0.2
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2186Full Changelog: typeddjango/django-stubs@5.0.1...5.0.2
Release notes for version 5.0.1
Headline changes
Support for Django 4.1 have been dropped by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2133
A new extra,
django-stubs[oracle]
, was added by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2131Remove QuerySet alias hacks via PEP 696 TypeVar defaults. All usages of
QuerySetAny
andValuesQuerySet
can now be replaced with simpleQuerySet
by @intgr in https://github.com/typeddjango/django-stubs/pull/2104More details in this announcement
What's Changed
django.contrib.admin.views
anddjango.forms.forms.Form
metaclass by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2079django.db.models.lookups
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2103django.db.backends.utils
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2102django.forms.field.Field
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2107django.contrib.messages.storage.cookie
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2106django.db.models.expressions
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2110django.contrib.auth.backends
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2111django.contrib.auth.base_user
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2113django.db.migrations.serializer
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2109django.db.backends.base.features.BaseDatabaseFeature
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2099django.db.backends.base.operations.BaseDatabaseOperations
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2100request.auser
by @bshelkhonov in https://github.com/typeddjango/django-stubs/pull/2108django.contrib.gis.admin.widgets
anddjango.contrib.gis.admin.options
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2116django.forms.boundfield
anddjango.forms.utils
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2118BaseBackend.get_user
: Relaxuser_id
param type by @tony in https://github.com/typeddjango/django-stubs/pull/2121django.forms.renderers
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2119django.forms.forms
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2122django.contrib.gis.db.backends.sqatialite.schema
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2123schema
modules by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2124django.contrib.messages.test
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2126django.contrib.contenttypes.prefetch
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2115django.contrib.admin.widgets
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2105django.contrib.contenttypes.fields.GenericForeignKey
methods by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2137backend
indjango.contrib.auth
(ModelBackend
->BaseBackend
) by @tony in https://github.com/typeddjango/django-stubs/pull/2141Query.resolve_lookup_value()
parameters by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2136django.forms.models
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2146django.db.migrations.autodetector
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2149django.db.models.enums
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2148django.forms.widgets
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2147django-stubs-ext
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2150django.db.models.field.related
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2151TextChoices.__new__()
parameter type by @mvaled in https://github.com/typeddjango/django-stubs/pull/2156django.contrib.gis.db.backends.postgis.operations
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2138django.db.models.fields.reverse_related
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2158django.db.models.field
: addgenerated
attribute to model fields by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2152django.db.models.sql.datastructures
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2159django.db.models.query
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2160django.db.models.sql.compiler
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2166django.db.models.functions.datetime
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2167django.forms.formsets
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2145django.db.models.query_utils
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2165django.db.models.functions.datetime.Now
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2173django.db.models.sql.query.Query
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2172django.db.models.field.related_descriptors
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2157django.db.models.expressions
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2176BaseConstraint.get_violation_error_message()
by @q0w in https://github.com/typeddjango/django-stubs/pull/2178assert_type
test cases, runpyright
by @Viicos in https://github.com/typeddjango/django-stubs/pull/2162AbstractBaseSession
: Use model fields for subclassed cases by @tony in https://github.com/typeddjango/django-stubs/pull/21805.0.1
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2183New Contributors
Full Changelog: typeddjango/django-stubs@5.0.0...5.0.1
v5.0.1
Compare Source
Headline changes
Support for Django 4.1 have been dropped by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2133
A new extra,
django-stubs[oracle]
, was added by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2131Remove QuerySet alias hacks via PEP 696 TypeVar defaults. All usages of
QuerySetAny
andValuesQuerySet
can now be replaced with simpleQuerySet
by @intgr in https://github.com/typeddjango/django-stubs/pull/2104More details in this announcement
What's Changed
django.contrib.admin.views
anddjango.forms.forms.Form
metaclass by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2079django.db.models.lookups
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2103django.db.backends.utils
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2102django.forms.field.Field
by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2107django.contrib.messages.storage.cookie
by @saJaeHyukc in [https://github.com/5.0: Updatedjango.contrib.messages.storage.cookie
typeddjango/django-stubs#2106](https://redirect.github.com/typeddjango/django-stubs/pull/210Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.