Update dependency django-stubs-ext to v5 #15
Closed
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.2
->^5.0.0
Release Notes
typeddjango/django-stubs (django-stubs-ext)
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.0
Compare Source
Announcements
QuerySet
class no longer derives fromCollection
. If you run into errors likeincompatible type "_QuerySet[User, User]"; expected "Collection[User]"
, please read this announcement.Headline changes
Collection
base class and__contains__
method fromQuerySet
by @fidoriel in https://github.com/typeddjango/django-stubs/pull/1925ManyRelatedManager.through
attribute and generic type parameter by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2026What's Changed
StrPromise
not inherit fromSequence[str]
by @intgr in https://github.com/typeddjango/django-stubs/pull/1841AppConfig.models_module
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1866None
in settingsMIGRATION_MODULES
dict values by @asottile in https://github.com/typeddjango/django-stubs/pull/1871JSONField.from_db_value
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1879converters
inurls.resolvers
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1892@type_check_only
to all Protocols and known stubs-only classes by @intgr in https://github.com/typeddjango/django-stubs/pull/1894ModuleType
as a possible type toURLResolver.urlconf_name
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1891URLPattern.default_args
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1895PYI046
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1907EmailBackend.ssl_keyfile
andEmailBackend.ssl_certfile
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1911django.VERSION
by @Viicos in https://github.com/typeddjango/django-stubs/pull/1916CommandParser
tocommands.__init__
by @jamesbraza in https://github.com/typeddjango/django-stubs/pull/1927assume_scheme
to forms.URLField by @asottile in https://github.com/typeddjango/django-stubs/pull/1929BaseModelAdmin.formfield_for_dbfield
by [@̴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 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.