chore(deps): update dependency django-stubs to v4.2.2 #164
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:
4.2.1
->4.2.2
4.2.3
Release Notes
typeddjango/django-stubs (django-stubs)
v4.2.2
Compare Source
Headline changes
mypy 1.4: Recommended mypy version updated to 1.4.x
Support for
django-split-settings
,django-configurations
and other Django settings addons withstrict_settings = false
option, see README for detailsWe have now adopted mypy's stubtest to automatically find discrepancies between Django and django-stubs.
If you want to contribute to django-stubs but are not sure where to start, have a look at stubtest's TODO list file, which lists the many issues discovered by stubtest.
Django 4.2 changes
AppConfig
class to match Django 4.2 by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1524ManifestStaticFilesStorage
new parameters by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1528Sitemap
class by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1527headers=
parameter to(Async)RequestFactory
and(Async)Client
classes by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1529^
and~
operator support, JSON lookup classes, Postgres lookup classes,ModelForm
changes,json_script
template filter parameters by @Alexerson in https://github.com/typeddjango/django-stubs/pull/1536db.backends
DatabaseIntrospection
andDatabaseOperations
classes by @GabDug in https://github.com/typeddjango/django-stubs/pull/1571Stubs additions
QuerySet._result_cache
attribute and_fetch_all()
method by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1505ModelAdmin.search_help_text
attribute by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1546EmailBackend.write_message()
method by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1547ModelAdmin.get_formset_kwargs()
method by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1545Signal._live_receivers()
method by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1551SQLCompiler._order_by_pairs()
method by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1586memcache_key_warnings()
function by @rvanlaar in https://github.com/typeddjango/django-stubs/pull/1562Stubs fixes
create_model_instance
incorrect data argument type by @namper in https://github.com/typeddjango/django-stubs/pull/1521RequestSite.{save,delete}
methods asNoReturn
since they always raise by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1530SafeExceptionReporterFilter
attributes and removed obsoleteCLEANSED_SUBSTITUTE
by @mthuurne in https://github.com/typeddjango/django-stubs/pull/1540AppConfig.default_auto_field
to attribute instead of method by @mthuurne in https://github.com/typeddjango/django-stubs/pull/1541default_error_messages
attribute type of baseField
andGenericIPAddressField
classes by @asottile in https://github.com/typeddjango/django-stubs/pull/1538DatabaseWrapper
attributes by @filbasi in https://github.com/typeddjango/django-stubs/pull/1544dispatch.dispatcher
by @GabDug in https://github.com/typeddjango/django-stubs/pull/1567str
field names forWindow.order_by()
, allowNone
forasc/desc
arguments by @GabDug in https://github.com/typeddjango/django-stubs/pull/1574django.utils.*
types from stubtest by @GabDug in https://github.com/typeddjango/django-stubs/pull/1575db.migrations.operations
types from stubtest by @GabDug in https://github.com/typeddjango/django-stubs/pull/1583StepValueValidator
, fixed argument forSRIDCacheEntry
/EmailValidator
, improvedurls.resolvers
types by @GabDug in https://github.com/typeddjango/django-stubs/pull/1589Plugin changes
ForeignKey
queryset filters on un-swapped models by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/1495strict_settings
option, allow runtime fallbacks for custom settings by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1557KeyError: 'model_bases'
and related errors by @intgr in https://github.com/typeddjango/django-stubs/pull/1563django-stubs-ext
TypedDatabaseRouter
as database router base class by @intgr in https://github.com/typeddjango/django-stubs/pull/1522CI/testing
--generate-allowlist
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1576Housekeeping
ArrayField
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1558mypy_extensions
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1566flake8
plugins by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1579New Contributors
Full Changelog: typeddjango/django-stubs@4.2.1...4.2.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.