Update dependency django-stubs-ext to v5.2.9 #30
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Aroy/Gallery-Archivist!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/django-stubs-ext-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 PR contains the following updates:
==5.1.2→==5.2.9Release Notes
typeddjango/django-stubs (django-stubs-ext)
v5.2.9Compare Source
Version 5.2.9 will be the last version to target Django 5.2 -- the next version will be updating to 6.0!
🚀 We need your help: Adding Django 6.0 stubs
Many new Django 6.0 APIs are still missing stubs coverage, and changes to existing APIs are not covered.
If you are interested in contributing, please help by opening PRs (check that a PR does not exist already for your topic).
👉 Starting points
And by the way, we are still missing some things from previous Django versions too! Check earlier release note, other
allowlist_todo*.txtfiles and #1493 (comment)🤝 You help us, we help you
If want to help but you are not sure how to implement something in stubs:
What's Changed
EmailMultiAlternativesinoutboxby @alexei in #2922get_auto_imports()to also allow returningNoneby @jamesbeith in #2956prefetch_related_objectsrequiresSequencenotIterableby @emmanuel-ferdman in #2970forms.widgets.Scriptby @brianhelba in #2973list, not aSequenceby @brianhelba in #2992Housekeeping
New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.8...5.2.9
v5.2.8Compare Source
What's Changed
django.shortcuts.resolve_urlto receive a str-promise by @alexei in #2869strfrom enum label types when we know for sure the labels are lazy by @rchen152 in #2888New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.7...5.2.8
v5.2.7Compare Source
What's Changed
Fixes a regression in django-stubs version 5.2.6:
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.6...5.2.7
v5.2.6Compare Source
What's Changed
Improvements
add_orderingsignature too by @UnknownPlatypus in #2822related_query_nameinModel._meta.get_fieldsby @UnknownPlatypus in #2821strict_model_abstract_attrssetting to allowmodels.Model.objectsaccess by @sobolevn in #2830_replace_type_varthat can potentially cause cache problems by @sobolevn in #2834union/intersection/differenceto support QuerySet usingvalues_listandvaluesby @UnknownPlatypus in #2829log_actiondeprecation notice by @UnknownPlatypus in #2839.values/.values_listcalls by @UnknownPlatypus in #2836GenericPrefetchby @UnknownPlatypus in #2851agetcalls by @UnknownPlatypus in #2856fieldsargument tobulk_updateby @UnknownPlatypus in #2808Housekeeping & CI
mypy_primerworkflow by @sobolevn in #2819django.contrib.contenttypesinstalled app in tests by @UnknownPlatypus in #2853pyproject.tomlby @intgr in #2847Ruff
ruffto0.13.0by @sobolevn in #2828uvpackage manageruvby @intgr in #2846uv_buildbuild system & cleanup by @intgr in #2848uvworkspace fordjango-stubs-extalso by @intgr in #2857New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.5...5.2.6
v5.2.5Compare Source
What's Changed
_StrPromisereturned byreverse_lazyby @sobolevn in #2814.order_byto accept anyCombinableby @sobolevn in #2816Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.4...5.2.5
v5.2.4Compare Source
What's Changed
TestClient.getregression by @sobolevn in #2812Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.3...5.2.4
v5.2.3Compare Source
What's Changed
Model._meta.get_field("field_name")type inference by @UnknownPlatypus in #2748__init__calls by @UnknownPlatypus in #2749settings.TEMPLATEtypes by @UnknownPlatypus in #2741content_type_extracontainsbytes, notstrby @alexmv in #2754reverse_lazy()by @pgcd in #2766FormMixin.success_urlto_StrOrPromiseby @pgcd in #2769BaseForm.add_error()in documentation by @CarrotManMatt in #2774OrderedDictusage, this is the default since py 3.6 by @UnknownPlatypus in #2780get_current_moduleutil by @UnknownPlatypus in #2781to_attrinferrence inPrefetchcalls by @UnknownPlatypus in #2779get_class_init_argument_by_nameinresolve_many_to_many_argumentsby @UnknownPlatypus in #2782Modelinference from customQuerySet/Managerby @UnknownPlatypus in #2784Prefetchas generic and do specialization in the plugin by @UnknownPlatypus in #2786Meta.permissionstype by @UnknownPlatypus in #2787prefetch_relatedcalls by @UnknownPlatypus in #2789TypedModelMetaby @UnknownPlatypus in #2788.select_relatedstubs by @UnknownPlatypus in #2792.prefetch_related(..., to_attr="foo")conflict with.annotate(foo=...)by @UnknownPlatypus in #2791to_attrtarget (alredy defined fields) by @UnknownPlatypus in #2794order_by/defer/only/distinct/order_by/explain/dates/datetimesby @UnknownPlatypus in #2795prefetch_relatedtypes with an overload by @UnknownPlatypus in #2793to_attrtargets by @UnknownPlatypus in #2797select_relatedlookups by @UnknownPlatypus in #2806New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.2...5.2.3
v5.2.2Compare Source
What's Changed
reveal_typeto return its argument by @andersk in #2716RawQuerySetby @youtux in #2718jointoJSONObjectby @sobolevn in #2721QuerySet._raw_deleteby @asottile in #2733resolve_callablesargument type toMappingby @rodmk in #2735HttpResponse.context_databy @UnknownPlatypus in #2737django.contrib.auth.formsby @UnknownPlatypus in #2738.values()types when expressions are used by @UnknownPlatypus in #2739BasePasswordHasher.safe_summarycommonly usesStrOrPromiseby @jdelic in #2742FormMixinplugin by @UnknownPlatypus in #2746New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.1...5.2.2
v5.2.1Compare Source
What's Changed
<type> is not present at runtimeerrors by @UnknownPlatypus in #2635BaseManagertoManagerto follow runtime behavior by @UnknownPlatypus in #2637django.template.autoreloadby @rafailmdzdv in #2638_UserTypeby @asottile in #2645.valueof a Choices variable by @asottile in #2644nullkeyword argument toManyToManyFieldinit by @lev-blit in #2648settings.AUTH_PASSWORD_VALIDATORSby @UnknownPlatypus in #2652django.httperrors by @UnknownPlatypus in #2654mysqlclientdeps to reveal mysql module stubtest errors by @UnknownPlatypus in #2656django.core.handlersby @UnknownPlatypus in #2660MediaDefiningClassby @UnknownPlatypus in #2662uvto manage dev dependencies by @UnknownPlatypus in #2698django.db.models.expressions.Expression.identityby @cjwatson in #2685assertFormErrorform arg type to BaseForm by @marxide in #2705LogEntryManager.log_actionsby @youtux in #2710New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.2.0...5.2.1
v5.2.0Compare Source
Important changes
mypy --strictmodemypyversion is updated to1.13What's Changed
format_lazytyping by @ashm-dev in #2504_Choicestype by @stianjensen in #2476context_dataattribute to _MonkeyPatchedW/ASGIResponse. by @PacificGilly in #2509type[Model]does not haveobjectsattribute" by @sobolevn in #2519db.migrations.operationsby @Viicos in #2349select_format()methods by @adamchainz in #2525django.conf.urlsby @adamchainz in #2528Func.functionby @adamchainz in #2529ClassVarannotations on mutableModelAdmintypes forruffby @zyv in #2524ClassVarannotations onMigrationclass attributes by @zyv in #2530Model.[a]save()signature change by @adamchainz in #2535@contextmanagerby @adamchainz in #2561_Choicestype for forms by @mrgalopes in #2565is_postgresql_*properties for Django 5.1 by @adamchainz in #2566db_table_commentto model meta by @ngnpope in #2571BaseModelAdmin.get_inlines()return type by @MaestroXXXVIII in #2576flattenandflatten_fieldsetsby @ngnpope in #2572__slotnames__by @adamchainz in #2584TypedModelMetafields by @ngnpope in #2594django.contrib.gis.geoip2stubs by @ngnpope in #2593django.core.validatorsfor Django 5.2 by @JaeHyuckSa in #2598django.test.clientanddjango.utilsfor Django 5.2 by @JaeHyuckSa in #2599django.contrib.auth.backendsfor Django 5.2 by @JaeHyuckSa in #2600django.contrib.auth.modelsfor Django 5.2 by @JaeHyuckSa in #2601MutableMappingforForm.Initialby @UnknownPlatypus in #2604django.contrib.adminfor Django 5.2 by @JaeHyuckSa in #2607django.db.models.sqlfor Django 5.2 by @JaeHyuckSa in #2606django.forms.widgetsfor Django 5.2 by @federicobond in #2608TypeAliases andTypeVars for "user" and "any user" by @terencehonles in #2384django.contribfor Django 5.2 by @JaeHyuckSa in #2611get_select2_languagefromdjango.contrib.admin.widgetsby @michalpokusa in #2612django.core.management.commandsfor Django 5.2 by @JaeHyuckSa in #2613<79.0.0forSETUPTOOLS_ENABLE_FEATURES=legacy-editableto work by @michalpokusa in #2617Optionsfields by @ngnpope in #2627__all__by @donBarbos in #2624django.http.request.MediaTypeby @sobolevn in #2631django.httpmodule by @sobolevn in #2632django.template.libraryby @sobolevn in #2633django.core.serializersfor Django 5.2 by @JaeHyuckSa in #2614New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.1.3...5.2.0
v5.1.3Compare Source
What's Changed
ContentTypemodel fields to be infered asAny, refs #2446 by @sobolevn in #2483@deprecatedbased on the review by @sobolevn in #2485null=TrueandAnytype param forFieldtypes by @sobolevn in #2492TestCase.assertJSON{Not,}Equalby @nickstenning in #2497New Contributors
Full Changelog: https://github.com/typeddjango/django-stubs/compare/5.1.2...5.1.3
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 has been generated by Renovate Bot.
dcf69078d9dd5dec51c5View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.