Update dependency django-stubs to v5.2.9 #68
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:
==5.2.0→==5.2.9Release Notes
typeddjango/django-stubs (django-stubs)
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: typeddjango/django-stubs@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: typeddjango/django-stubs@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: typeddjango/django-stubs@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: typeddjango/django-stubs@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: typeddjango/django-stubs@5.2.4...5.2.5
v5.2.4Compare Source
What's Changed
TestClient.getregression by @sobolevn in #2812Full Changelog: typeddjango/django-stubs@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: typeddjango/django-stubs@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: typeddjango/django-stubs@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: typeddjango/django-stubs@5.2.0...5.2.1
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.