5.0.0 #2096
intgr
announced in
Announcements
5.0.0
#2096
Replies: 1 comment 3 replies
-
|
please find a way to not ping everyone for the next one! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
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 Remove incorrectCollectionbase class and__contains__method fromQuerySet#1925ManyRelatedManager.throughattribute and generic type parameter by @flaeppe in AddManyRelatedManager.throughattribute and generic type parameter #2026What's Changed
StrPromisenot inherit fromSequence[str]by @intgr in MakeStrPromisenot inherit fromSequence[str]#1841AppConfig.models_moduleby @Viicos in Fix type ofAppConfig.models_module#1866Nonein settingsMIGRATION_MODULESdict values by @asottile in AllowNonein settingsMIGRATION_MODULESdict values #1871JSONField.from_db_valueby @flaeppe in Add type hints forJSONField.from_db_value#1879convertersinurls.resolversby @Viicos in Fix type hints ofconvertersinurls.resolvers#1892@type_check_onlyto all Protocols and known stubs-only classes by @intgr in Add@type_check_onlyto all Protocols and known stubs-only classes #1894ModuleTypeas a possible type toURLResolver.urlconf_nameby @Viicos in AddModuleTypeas a possible type toURLResolver.urlconf_name#1891URLPattern.default_argsby @Viicos in Fix type hint ofURLPattern.default_args#1895PYI046by @sobolevn in Update ruff and silencePYI046#1907EmailBackend.ssl_keyfileandEmailBackend.ssl_certfileby @Viicos in Fix type hint ofEmailBackend.ssl_keyfileandEmailBackend.ssl_certfile#1911django.VERSIONby @Viicos in Add type ofdjango.VERSION#1916CommandParsertocommands.__init__by @jamesbraza in AddedCommandParsertocommands.__init__#1927assume_schemeto forms.URLField by @asottile in [5.0] addassume_schemeto forms.URLField #1929BaseModelAdmin.formfield_for_dbfieldby @Viicos in Fix return type ofBaseModelAdmin.formfield_for_dbfield#1934pre-commit==3.6.1by @sobolevn in Revertpre-commit==3.6.1#1936Response.set_cookie.max_ageby @Viicos in Fix type hint ofResponse.set_cookie.max_age#1941core.signingby @Viicos in Update type hints ofcore.signing#1945core.validatorsby @Viicos in [5.0] Updatecore.validators#1947core.paginatorby @Viicos in [5.0] Updatecore.paginator#1946forms.ModelChoiceFieldby @UnknownPlatypus in Genericforms.ModelChoiceField#1889setinmodel_to_dict'sexcludeby @jamesbraza in Allowingsetinmodel_to_dict'sexclude#1952BaseEngine.template_dirsby @Viicos in Fix type hint ofBaseEngine.template_dirs#1954extra_contextonTemplateViews by @samueljsb in Allow immutableextra_contextonTemplateViews #1994pytest-mypy-pluginsto 3.1.1 by @sobolevn in Bumppytest-mypy-pluginsto 3.1.1 #2003django.contrib.authby @ngnpope in 5.0: Updatedjango.contrib.auth#2009django.confby @ngnpope in 5.0: Updatedjango.conf#2008django.viewsby @ngnpope in 5.0: Updatedjango.views#2007django.testby @ngnpope in 5.0: Updatedjango.test#2005django.utilsby @ngnpope in 5.0: Updatedjango.utils#2006stubtestby @sobolevn in Clean the cache on each run ofstubtest#2015Qmethods:check(),flatten()by @Alexerson in Adding missingQmethods:check(),flatten()#1899utils.termcolorsby @Viicos in Improve types inutils.termcolors#1901PRI_MYPYinget_additional_depshook by @sobolevn in UsePRI_MYPYinget_additional_depshook #2024_default_managerand_base_managerto beManagerby @flaeppe in Update_default_managerand_base_managerto beManager#2022django.contrib.adminby @ngnpope in 5.0: Updatedjango.contrib.admin#2004core.filesby @Viicos in [5.0] Updatecore.files#1949core.cache.backends, addRedisCacheand related classes by @Viicos in [5.0] Updatecore.cache.backends, addRedisCacheand related classes #1948AsyncClient.defaultsattribute typing by @flaeppe in FixAsyncClient.defaultsattribute typing #1878fieldsargument ofModel.refresh_from_db()by @mthuurne in Relax type forfieldsargument ofModel.refresh_from_db()#2035AdminSite.get_model_admingeneric by @Viicos in MakeAdminSite.get_model_admingeneric #2038db_default=parameter to modelsFieldclasses by @Skorpyon in [5.0] Adddb_default=parameter to modelsFieldclasses #1876class MetafromModelandFormclass stubs by @jorenham in Removeclass MetafromModelandFormclass stubs #2000ManyToOneRel.get_accessor_name()by @mthuurne in Refine return type forManyToOneRel.get_accessor_name()#2052DeferredAttribute.__get__()by @mthuurne in AddDeferredAttribute.__get__()#2050FieldFileby @mthuurne in Add missing methods and superclass toFieldFile#2051db_comment=parameter to Postgres and GIS model fields by @saJaeHyukc in Adddb_comment=parameter to Postgres and GIS model fields #2054db.models.sql.query.Query.join()argument by @mthuurne in Correct type fordb.models.sql.query.Query.join()argument #2055django.db.backends.oracle.baseby @sudosubin in 5.0: Updatedjango.db.backends.oracle.base#2057django.test.clientby @sudosubin in 5.0: Updatedjango.test.client#2059django.test.htmlby @sudosubin in 5.0: Updatedjango.test.html#2060django.test.runnerby @sudosubin in 5.0: Updatedjango.test.runner#2061django.template,django.templatetagsby @sudosubin in 5.0: Updatedjango.template,django.templatetags#2063django.test.testcasesby @sudosubin in 5.0: Updatedjango.test.testcases#2062django.httpby @sudosubin in 5.0: Updatedjango.http#2064django.core.managementby @sudosubin in 5.0: Updatedjango.core.management#2067django.core.handlersby @sudosubin in 5.0: Updatedjango.core.handlers#2066django.contrib.sessions.serializers,django.core.serializersby @sudosubin in 5.0: Updatedjango.contrib.sessions.serializers,django.core.serializers#2068returncodeattribute toCommandErrorby @flaeppe in Add areturncodeattribute toCommandError#2072ignore_missing_importsoption by @sudosubin in Disable mypyignore_missing_importsoption #2058django.core.servers.basehttpby @sudosubin in 5.0: Updatedjango.core.servers.basehttp#2070django.template.base.Template.render()argument type by @Majsvaffla in Updatedjango.template.base.Template.render()argument type #1160django.utils.choicesby @sudosubin in 5.0: Adddjango.utils.choices#2075django.contrib.sitemaps,django.contrib.staticfilesby @sudosubin in 5.0: Updatedjango.contrib.sitemaps,django.contrib.staticfiles#2076reportMissingTypeArgument,reportPrivateUsage) by @sudosubin in Update pyright report options (reportMissingTypeArgument,reportPrivateUsage) #2077django.contrib.postgresby @sudosubin in 5.0: Updatedjango.contrib.postgres#2078pathsignature for async views by @jlost in Addpathsignature for async views #2085Reversiblebase class fromQuerySetby @intgr in Remove incorrectReversiblebase class fromQuerySet#2094New Contributors
AppConfig.models_module#1866CommandParsertocommands.__init__#1927extra_contextonTemplateViews #1994Collectionbase class and__contains__method fromQuerySet#1925db_default=parameter to modelsFieldclasses #1876db_comment=parameter to Postgres and GIS model fields #2054django.db.backends.oracle.base#2057django.template.base.Template.render()argument type #1160pathsignature for async views #2085Full Changelog: 4.2.7...5.0.0
This discussion was created from the release 5.0.0.
Beta Was this translation helpful? Give feedback.
All reactions