Update dependency django-stubs to v5 #25
Open
+17
−34
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:
1.9.0
->5.1.1
Release Notes
typeddjango/django-stubs (django-stubs)
v5.1.1
Compare Source
What's Changed
BaseEngine.app_dirname
non-optional by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2394(a)refresh_from_db()
by @jacobtylerwalls in https://github.com/typeddjango/django-stubs/pull/2402from_string()
andget_template()
return backend-specific template by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2400get_session_auth_fallback_hash
method to the correct type by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2407QuerySet.alias
likeQuerySet.annotate
by @andersk in https://github.com/typeddjango/django-stubs/pull/2411db.migrations.serializer
by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2421django.conf.global_settings
by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2420None
onview_on_site
by @nijel in https://github.com/typeddjango/django-stubs/pull/2419New Contributors
Full Changelog: typeddjango/django-stubs@5.1.0...5.1.1
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/2108Configuration
📅 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 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 was generated by Mend Renovate. View the repository job log.