pypi django-stubs 5.0.2

latest releases: 5.2.4, 5.2.3, 5.2.2...
15 months ago

What's Changed

This is a re-release of django-stubs 5.0.1 with a minor fix:

  • Set lower bound of django-stubs-ext dependency to 5.0.2 by @flaeppe in #2186

Full Changelog: 5.0.1...5.0.2

Release notes for version 5.0.1

Headline changes

What's Changed

  • 5.0: Update django.contrib.admin.views and django.forms.forms.Form metaclass by @sudosubin in #2079
  • Fix IndexError for custom queryset managers by @meshy in #1913
  • 5.0: Update django.db.models.lookups by @saJaeHyukc in #2103
  • 5.0: Update django.db.backends.utils by @saJaeHyukc in #2102
  • 5.0: Update django.forms.field.Field by @saJaeHyukc in #2107
  • 5.0: Update django.contrib.messages.storage.cookie by @saJaeHyukc in #2106
  • Tests: Add test case for settings import cycle by @intgr in #2098
  • 5.0: Update django.db.models.expressions by @saJaeHyukc in #2110
  • 5.0: Update django.contrib.auth.backends by @saJaeHyukc in #2111
  • 5.0: Update django.contrib.auth.base_user by @saJaeHyukc in #2113
  • 5.0: Update django.db.migrations.serializer by @saJaeHyukc in #2109
  • 5.0: Update django.db.backends.base.features.BaseDatabaseFeature by @saJaeHyukc in #2099
  • 5.0: Update django.db.backends.base.operations.BaseDatabaseOperations by @saJaeHyukc in #2100
  • Fix annotation for request.auser by @bshelkhonov in #2108
  • 5.0: Update django.contrib.gis.admin.widgets and django.contrib.gis.admin.options by @saJaeHyukc in #2116
  • 5.0: Update django.forms.boundfield and django.forms.utils by @saJaeHyukc in #2118
  • Prepare django-stubs-ext for QuerySet typevar refactor by @intgr in #2117
  • BaseBackend.get_user: Relax user_id param type by @tony in #2121
  • 5.0: Update django.forms.renderers by @saJaeHyukc in #2119
  • 5.0: Update django.forms.forms by @saJaeHyukc in #2122
  • 5.0: Update django.contrib.gis.db.backends.sqatialite.schema by @saJaeHyukc in #2123
  • Improve types in DB backend schema modules by @saJaeHyukc in #2124
  • 5.0: Update django.contrib.messages.test by @saJaeHyukc in #2126
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #2129
  • More pre-commit checks by @sobolevn in #2132
  • Bump django from 5.0.5 to 5.0.6 by @dependabot in #2135
  • 5.0: Update django.contrib.contenttypes.prefetch by @saJaeHyukc in #2115
  • 5.0: Update django.contrib.admin.widgets by @saJaeHyukc in #2105
  • 5.0: Update django.contrib.contenttypes.fields.GenericForeignKey methods by @saJaeHyukc in #2137
  • Relax typing of backend in django.contrib.auth (ModelBackend -> BaseBackend) by @tony in #2141
  • fix: UserAdmin accepts AbstractUser by @vadimshvetsov in #2139
  • 4.2.8: Update Query.resolve_lookup_value() parameters by @saJaeHyukc in #2136
  • Increase priority of mypy internal Django settings import by @intgr in #2127
  • Fix 'Import cycle from Django settings module' errors function context by @intgr in #2142
  • Adjust priority of Django settings import again by @intgr in #2143
  • 5.0: Update django.forms.models by @saJaeHyukc in #2146
  • Add typing of django.db.migrations.autodetector by @saJaeHyukc in #2149
  • 5.0: Update django.db.models.enums by @saJaeHyukc in #2148
  • 5.0: Update django.forms.widgets by @saJaeHyukc in #2147
  • Add GitHub actions release workflow for django-stubs-ext by @flaeppe in #2150
  • 5.0: Update django.db.models.field.related by @saJaeHyukc in #2151
  • Bump pre-commit from 3.7.0 to 3.7.1 by @dependabot in #2155
  • Fix TextChoices.__new__() parameter type by @mvaled in #2156
  • Ensure ManyToManyField related managers supports renamed imports by @flaeppe in #2153
  • 5.0: Update django.contrib.gis.db.backends.postgis.operations by @saJaeHyukc in #2138
  • 5.0: Update django.db.models.fields.reverse_related by @saJaeHyukc in #2158
  • 5.0: Update django.db.models.field: add generated attribute to model fields by @saJaeHyukc in #2152
  • 5.0: Update django.db.models.sql.datastructures by @saJaeHyukc in #2159
  • 5.0: Update django.db.models.query by @saJaeHyukc in #2160
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #2161
  • 5.0: Update django.db.models.sql.compiler by @saJaeHyukc in #2166
  • 5.0: Update django.db.models.functions.datetime by @saJaeHyukc in #2167
  • 5.0: Update django.forms.formsets by @saJaeHyukc in #2145
  • 5.0: Update django.db.models.query_utils by @saJaeHyukc in #2165
  • Bump pytest from 8.2.0 to 8.2.1 by @dependabot in #2169
  • 5.0: Update django.db.models.functions.datetime.Now by @saJaeHyukc in #2173
  • 5.0: Update django.db.models.sql.query.Query by @saJaeHyukc in #2172
  • 5.0: Update django.db.models.field.related_descriptors by @saJaeHyukc in #2157
  • 5.0: Update django.db.models.constraints.UniqueConstraint by @steve148 in #2175
  • 5.0: Update django.db.models.expressions by @saJaeHyukc in #2176
  • Add BaseConstraint.get_violation_error_message() by @q0w in #2178
  • Fix signature of Choices member creation, add assert_type test cases, run pyright by @Viicos in #2162
  • AbstractBaseSession: Use model fields for subclassed cases by @tony in #2180
  • Migrate 'test_conf.yml' to 'assert_type' tests by @flaeppe in #2182
  • Don't crash when inspecting classes loaded from cache by @flaeppe in #2185
  • Formset get_queryset() returns QuerySet by @MrkGrgsn in #2174
  • Prepare for a release 5.0.1 by @flaeppe in #2183

New Contributors

Full Changelog: 5.0.0...5.0.1

Don't miss a new django-stubs release

NewReleases is sending notifications on new releases.