Update dependency django-stubs to v5 - autoclosed #148
No reviewers
Labels
No labels
Security
TeX
auto-update
board
done
board
ready
board
todo
check
delete-eslint-rc-js
check
update-builddeps-package-json
check
update-eslint-rc-js
check
update-gitignore
check
update-merge-request-template
check
update-prettier-ignore
check
update-pyproject-toml
check
update-renovate-json
check
update-tox-ini
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS-App-DashboardFeeds!148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/django-stubs-5.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR contains the following updates:
^4.2->^5.0.0Release Notes
typeddjango/django-stubs (django-stubs)
v5.1.3Compare Source
What's Changed
ContentTypemodel fields to be infered asAny, refs #2446 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2483@deprecatedbased on the review by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2485null=TrueandAnytype param forFieldtypes by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2492TestCase.assertJSON{Not,}Equalby @nickstenning in https://github.com/typeddjango/django-stubs/pull/2497New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.1.2...5.1.3
v5.1.2Compare Source
What's Changed
.values_listreturns incorrect type for field with same name when selected from related model by @Niicck in https://github.com/typeddjango/django-stubs/pull/2431ModelAdmin.construct_change_messageby @youtux in https://github.com/typeddjango/django-stubs/pull/2444contrib.admin.options.ModelAdminby @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2422contrib.gis.gdal.geometriesby @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2460contrib.admin.models.LogEntryManagerby @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2423New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.1.1...5.1.2
v5.1.1Compare Source
What's Changed
BaseEngine.app_dirnamenon-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_hashmethod to the correct type by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2407QuerySet.aliaslikeQuerySet.annotateby @andersk in https://github.com/typeddjango/django-stubs/pull/2411db.migrations.serializerby @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2421django.conf.global_settingsby @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2420Noneonview_on_siteby @nijel in https://github.com/typeddjango/django-stubs/pull/2419New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.1.0...5.1.1
v5.1.0Compare Source
Headline changes
annotateto utilisemypy.types.Instance.extra_attrsby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2319AUTH_USER_MODELwith aget_type_analyze_hookby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2335What's Changed
SimpleTestCaseby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2289fieldsbeing anIterableinbulk_updateby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2296from_querysetmanager as reverse manager by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2295--strictonassert_typetests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2301get_context_object_nameonSingleObjectMixinandMultipleObjectMixinby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2298BaseManager.cacheattribute by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2309CurrentSiteManagermanager type var by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2308django-stubs-extby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2310AnyforConnectionProxyattributes by @RealOrangeOne in https://github.com/typeddjango/django-stubs/pull/2311FieldDoesNotExistfrom where it's not present at runtime by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2313ManyToManyField.descriptiona_StrOrPromiseby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2312models.Modeladjustments fromget_metaclass_hookby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2322stubdefaulterby @sobolevn in https://github.com/typeddjango/django-stubs/pull/2326stubdefaulterby @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>.filtercall by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2332mypy.plugins.proper_pluginby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2333make_optional_typeinstead of shipping our own by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2334utilsby @Viicos in https://github.com/typeddjango/django-stubs/pull/2352contrib.sessions.backendsby @Viicos in https://github.com/typeddjango/django-stubs/pull/2351.annotatefields 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: https://github.com/typeddjango/django-stubs/compare/5.0.4...5.1.0
v5.0.4Compare Source
What's Changed
This is a re-release of django-stubs
5.0.3with a minor fix:Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.0.3...5.0.4
Release notes for version 5.0.3
What's Changed
django-stubs-extbeforedjango-stubsby @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_nameandModel._get_pk_valmethods by @YPCrumble in https://github.com/typeddjango/django-stubs/pull/2177Lookupshould be a subtype ofExpressionby @mkurnikov in https://github.com/typeddjango/django-stubs/pull/2199django.db.models.functions: allowCombinableas parameter, addRoundfunction by @noamkush in https://github.com/typeddjango/django-stubs/pull/2195django.core.management.utilsfunctions by @Viicos in https://github.com/typeddjango/django-stubs/pull/2200django.middlewarestubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2202django.httpstubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2201db/models/test_constraints.ymlto 'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2204displayandactiondecorators by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2210django.forms.ChoiceWidgetby @asottile in https://github.com/typeddjango/django-stubs/pull/2207ReverseManyToOneDescriptorgeneric over a model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2227QuerySetfor multiple defaults inMultipleObjectMixinby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2191objectsannotation by @asottile in https://github.com/typeddjango/django-stubs/pull/2241serialized_aliasesparameter tosetup_databasesfunction indjango.test.utilsby @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2247ConnectionProxyby @Viicos in https://github.com/typeddjango/django-stubs/pull/2246get_template_tag_modulesfunction signature todjango.template.backends.djangoby @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2250django.db.models.sql.Queryclass by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2253admin.sites._ViewTypebound to allowStreamingHttpResponseby @savanto in https://github.com/typeddjango/django-stubs/pull/2256Options._get_fieldsby @Viicos in https://github.com/typeddjango/django-stubs/pull/2254Pathtype argument to tuple returned byget_app_template_dirsby @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2266Paginatorby @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2271ManyToManyFieldby @flaeppe in https://github.com/typeddjango/django-stubs/pull/22755.0.3by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2274New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.0.2...5.0.3
v5.0.3Compare Source
What's Changed
django-stubs-extbeforedjango-stubsby @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_nameandModel._get_pk_valmethods by @YPCrumble in https://github.com/typeddjango/django-stubs/pull/2177Lookupshould be a subtype ofExpressionby @mkurnikov in https://github.com/typeddjango/django-stubs/pull/2199django.db.models.functions: allowCombinableas parameter, addRoundfunction by @noamkush in https://github.com/typeddjango/django-stubs/pull/2195django.core.management.utilsfunctions by @Viicos in https://github.com/typeddjango/django-stubs/pull/2200django.middlewarestubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2202django.httpstubs by @Viicos in https://github.com/typeddjango/django-stubs/pull/2201db/models/test_constraints.ymlto 'assert_type' tests by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2204displayandactiondecorators by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2210django.forms.ChoiceWidgetby @asottile in https://github.com/typeddjango/django-stubs/pull/2207ReverseManyToOneDescriptorgeneric over a model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2227QuerySetfor multiple defaults inMultipleObjectMixinby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2191objectsannotation by @asottile in https://github.com/typeddjango/django-stubs/pull/2241serialized_aliasesparameter tosetup_databasesfunction indjango.test.utilsby @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2247ConnectionProxyby @Viicos in https://github.com/typeddjango/django-stubs/pull/2246get_template_tag_modulesfunction signature todjango.template.backends.djangoby @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2250django.db.models.sql.Queryclass by @DongwookKim0823 in https://github.com/typeddjango/django-stubs/pull/2253admin.sites._ViewTypebound to allowStreamingHttpResponseby @savanto in https://github.com/typeddjango/django-stubs/pull/2256Options._get_fieldsby @Viicos in https://github.com/typeddjango/django-stubs/pull/2254Pathtype argument to tuple returned byget_app_template_dirsby @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2266Paginatorby @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/2271ManyToManyFieldby @flaeppe in https://github.com/typeddjango/django-stubs/pull/22755.0.3by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2274New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.0.2...5.0.3
v5.0.2Compare Source
What's Changed
This is a re-release of django-stubs
5.0.1with a minor fix:django-stubs-extdependency to5.0.2by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2186Full Changelog: https://github.com/typeddjango/django-stubs/compare/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
QuerySetAnyandValuesQuerySetcan now be replaced with simpleQuerySetby @intgr in https://github.com/typeddjango/django-stubs/pull/2104More details in this announcement
What's Changed
django.contrib.admin.viewsanddjango.forms.forms.Formmetaclass by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2079django.db.models.lookupsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2103django.db.backends.utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2102django.forms.field.Fieldby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2107django.contrib.messages.storage.cookieby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2106django.db.models.expressionsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2110django.contrib.auth.backendsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2111django.contrib.auth.base_userby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2113django.db.migrations.serializerby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2109django.db.backends.base.features.BaseDatabaseFeatureby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2099django.db.backends.base.operations.BaseDatabaseOperationsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2100request.auserby @bshelkhonov in https://github.com/typeddjango/django-stubs/pull/2108django.contrib.gis.admin.widgetsanddjango.contrib.gis.admin.optionsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2116django.forms.boundfieldanddjango.forms.utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2118BaseBackend.get_user: Relaxuser_idparam type by @tony in https://github.com/typeddjango/django-stubs/pull/2121django.forms.renderersby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2119django.forms.formsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2122django.contrib.gis.db.backends.sqatialite.schemaby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2123schemamodules by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2124django.contrib.messages.testby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2126django.contrib.contenttypes.prefetchby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2115django.contrib.admin.widgetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2105django.contrib.contenttypes.fields.GenericForeignKeymethods by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2137backendindjango.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.modelsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2146django.db.migrations.autodetectorby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2149django.db.models.enumsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2148django.forms.widgetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2147django-stubs-extby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2150django.db.models.field.relatedby @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.operationsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2138django.db.models.fields.reverse_relatedby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2158django.db.models.field: addgeneratedattribute to model fields by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2152django.db.models.sql.datastructuresby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2159django.db.models.queryby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2160django.db.models.sql.compilerby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2166django.db.models.functions.datetimeby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2167django.forms.formsetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2145django.db.models.query_utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2165django.db.models.functions.datetime.Nowby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2173django.db.models.sql.query.Queryby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2172django.db.models.field.related_descriptorsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2157django.db.models.expressionsby @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_typetest cases, runpyrightby @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.1by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2183New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.0.0...5.0.1
v5.0.1Compare 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
QuerySetAnyandValuesQuerySetcan now be replaced with simpleQuerySetby @intgr in https://github.com/typeddjango/django-stubs/pull/2104More details in this announcement
What's Changed
django.contrib.admin.viewsanddjango.forms.forms.Formmetaclass by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2079django.db.models.lookupsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2103django.db.backends.utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2102django.forms.field.Fieldby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2107django.contrib.messages.storage.cookieby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2106django.db.models.expressionsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2110django.contrib.auth.backendsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2111django.contrib.auth.base_userby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2113django.db.migrations.serializerby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2109django.db.backends.base.features.BaseDatabaseFeatureby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2099django.db.backends.base.operations.BaseDatabaseOperationsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2100request.auserby @bshelkhonov in https://github.com/typeddjango/django-stubs/pull/2108django.contrib.gis.admin.widgetsanddjango.contrib.gis.admin.optionsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2116django.forms.boundfieldanddjango.forms.utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2118BaseBackend.get_user: Relaxuser_idparam type by @tony in https://github.com/typeddjango/django-stubs/pull/2121django.forms.renderersby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2119django.forms.formsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2122django.contrib.gis.db.backends.sqatialite.schemaby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2123schemamodules by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2124django.contrib.messages.testby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2126django.contrib.contenttypes.prefetchby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2115django.contrib.admin.widgetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2105django.contrib.contenttypes.fields.GenericForeignKeymethods by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2137backendindjango.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.modelsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2146django.db.migrations.autodetectorby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2149django.db.models.enumsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2148django.forms.widgetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2147django-stubs-extby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2150django.db.models.field.relatedby @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.operationsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2138django.db.models.fields.reverse_relatedby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2158django.db.models.field: addgeneratedattribute to model fields by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2152django.db.models.sql.datastructuresby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2159django.db.models.queryby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2160django.db.models.sql.compilerby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2166django.db.models.functions.datetimeby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2167django.forms.formsetsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2145django.db.models.query_utilsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2165django.db.models.functions.datetime.Nowby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2173django.db.models.sql.query.Queryby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2172django.db.models.field.related_descriptorsby @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2157django.db.models.expressionsby @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_typetest cases, runpyrightby @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.1by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2183New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.0.0...5.0.1
v5.0.0Compare Source
Announcements
QuerySetclass no longer derives fromCollection. If you run into errors likeincompatible type "_QuerySet[User, User]"; expected "Collection[User]", please read this announcement.Headline changes
Collectionbase class and__contains__method fromQuerySetby @fidoriel in https://github.com/typeddjango/django-stubs/pull/1925ManyRelatedManager.throughattribute and generic type parameter by @flaeppe in https://github.com/typeddjango/django-stubs/pull/2026What's Changed
StrPromisenot inherit fromSequence[str]by @intgr in https://github.com/typeddjango/django-stubs/pull/1841AppConfig.models_moduleby @Viicos in https://github.com/typeddjango/django-stubs/pull/1866Nonein settingsMIGRATION_MODULESdict values by @asottile in https://github.com/typeddjango/django-stubs/pull/1871JSONField.from_db_valueby @flaeppe in https://github.com/typeddjango/django-stubs/pull/1879convertersinurls.resolversby @Viicos in https://github.com/typeddjango/django-stubs/pull/1892@type_check_onlyto all Protocols and known stubs-only classes by @intgr in https://github.com/typeddjango/django-stubs/pull/1894ModuleTypeas a possible type toURLResolver.urlconf_nameby @Viicos in https://github.com/typeddjango/django-stubs/pull/1891URLPattern.default_argsby @Viicos in https://github.com/typeddjango/django-stubs/pull/1895PYI046by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1907EmailBackend.ssl_keyfileandEmailBackend.ssl_certfileby @Viicos in https://github.com/typeddjango/django-stubs/pull/1911django.VERSIONby @Viicos in https://github.com/typeddjango/django-stubs/pull/1916CommandParsertocommands.__init__by @jamesbraza in https://github.com/typeddjango/django-stubs/pull/1927assume_schemeto forms.URLField by @asottile in https://github.com/typeddjango/django-stubs/pull/1929BaseModelAdmin.formfield_for_dbfieldby @Viicos in https://github.com/typeddjango/django-stubs/pull/1934pre-commit==3.6.1by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1936Response.set_cookie.max_ageby @Viicos in https://github.com/typeddjango/django-stubs/pull/1941core.signingby @Viicos in https://github.com/typeddjango/django-stubs/pull/1945core.validatorsby @Viicos in https://github.com/typeddjango/django-stubs/pull/1947core.paginatorby @Viicos in https://github.com/typeddjango/django-stubs/pull/1946forms.ModelChoiceFieldby @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/1889setinmodel_to_dict'sexcludeby @jamesbraza in https://github.com/typeddjango/django-stubs/pull/1952BaseEngine.template_dirsby @Viicos in https://github.com/typeddjango/django-stubs/pull/1954extra_contextonTemplateViews by @samueljsb in https://github.com/typeddjango/django-stubs/pull/1994pytest-mypy-pluginsto 3.1.1 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2003django.contrib.authby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2009django.confby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2008django.viewsby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2007django.testby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2005django.utilsby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2006stubtestby @sobolevn in https://github.com/typeddjango/django-stubs/pull/2015Qmethods:check(),flatten()by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1899utils.termcolorsby @Viicos in https://github.com/typeddjango/django-stubs/pull/1901PRI_MYPYinget_additional_depshook by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2024_default_managerand_base_managerto beManagerby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2022django.contrib.adminby @ngnpope in https://github.com/typeddjango/django-stubs/pull/2004core.filesby @Viicos in https://github.com/typeddjango/django-stubs/pull/1949core.cache.backends, addRedisCacheand related classes by @Viicos in https://github.com/typeddjango/django-stubs/pull/1948AsyncClient.defaultsattribute typing by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1878fieldsargument ofModel.refresh_from_db()by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2035AdminSite.get_model_admingeneric by @Viicos in https://github.com/typeddjango/django-stubs/pull/2038db_default=parameter to modelsFieldclasses by @Skorpyon in https://github.com/typeddjango/django-stubs/pull/1876class MetafromModelandFormclass stubs by @jorenham in https://github.com/typeddjango/django-stubs/pull/2000ManyToOneRel.get_accessor_name()by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2052DeferredAttribute.__get__()by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2050FieldFileby @mthuurne in https://github.com/typeddjango/django-stubs/pull/2051db_comment=parameter to Postgres and GIS model fields by @saJaeHyukc in https://github.com/typeddjango/django-stubs/pull/2054db.models.sql.query.Query.join()argument by @mthuurne in https://github.com/typeddjango/django-stubs/pull/2055django.db.backends.oracle.baseby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2057django.test.clientby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2059django.test.htmlby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2060django.test.runnerby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2061django.template,django.templatetagsby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2063django.test.testcasesby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2062django.httpby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2064django.core.managementby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2067django.core.handlersby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2066django.contrib.sessions.serializers,django.core.serializersby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2068returncodeattribute toCommandErrorby @flaeppe in https://github.com/typeddjango/django-stubs/pull/2072ignore_missing_importsoption by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2058django.core.servers.basehttpby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2070django.template.base.Template.render()argument type by @Majsvaffla in https://github.com/typeddjango/django-stubs/pull/1160django.utils.choicesby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2075django.contrib.sitemaps,django.contrib.staticfilesby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2076reportMissingTypeArgument,reportPrivateUsage) by @sudosubin in https://github.com/typeddjango/django-stubs/pull/2077django.contrib.postgresby @sudosubin in https://github.com/typeddjango/django-stubs/pull/2078pathsignature for async views by @jlost in https://github.com/typeddjango/django-stubs/pull/2085Reversiblebase class fromQuerySetby @intgr in https://github.com/typeddjango/django-stubs/pull/2094New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/4.2.7...5.0.0
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 MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Renovate Bot.
restored source branch
renovate/django-stubs-5.xchanged title from Update dependency django-stubs to v5 to Update dependency django-stubs to v5{+ - autoclosed+}
Pull request closed