Update dependency django-stubs to v1.16.0 #9
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:
==1.4.0
->==1.16.0
Release Notes
typeddjango/django-stubs (django-stubs)
v1.16.0
Compare Source
What's Changed
This release updates recommended mypy version to 1.1.x.
Stubs fixes
BaseCreateView.object
attribute asModel | None
by @RyanWalker277 in https://github.com/typeddjango/django-stubs/pull/1377ListFilter.expected_parameters()
return type by @pheki in https://github.com/typeddjango/django-stubs/pull/1373AdminSite.site_url
to allowNone
by @LincolnPuzey in https://github.com/typeddjango/django-stubs/pull/1379@vary_on_headers()
decorator to preserve decorated function type by @RyanWalker277 in https://github.com/typeddjango/django-stubs/pull/1370Stubs additions
validate_constraints=
toModel.full_clean()
method by @lklivingstone in https://github.com/typeddjango/django-stubs/pull/1385Model.validate_constraints()
method by @OvervCW in https://github.com/typeddjango/django-stubs/pull/1388Housekeeping
New Contributors
Full Changelog: typeddjango/django-stubs@1.15.0...1.16.0
v1.15.0
Compare Source
This release updates recommended mypy version to 1.0.x. No changes in Django version compatibility.
Some re-exports that were unintentional have been removed. If you get errors like
error: Module "django.core.cache" has no attribute "ConnectionProxy"
(for any import path), you probably need to change the module you are importing e.g. ConnectionProxy from. These re-exports were never intentional and are not stable across Django versions.In addition to code contributions, I'd like to thank @ngnpope, @sobolevn, @ljodal, @christianbundy, @mschoettle for helping out with reviews.
What's Changed
Fixes
.values_list("pk")
on abstract model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1355Django 4.2 compatibility
Documentation
Housekeeping
Dependencies
New Contributors
Full Changelog: typeddjango/django-stubs@1.14.0...1.15.0
v1.14.0
Compare Source
What's Changed
This release updates recommended mypy version to 0.991 and fixes a few regressions in the last release. No changes in Django version compatibility.
In addition to code contributions, I'd like to thank @flaeppe, @ngnpope and @sobolevn who helped out with reviews.
Fixes for regressions from last version
__iter__
" (not iterable) https://github.com/typeddjango/django-stubs/issues/1333Mypy plugin fixes
pk
field on abstract model by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1328FieldDoesNotExist
raised from attribute on class definition by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1329Enhancements
as_sql()
andas_<engine>()
methods by @intgr in https://github.com/typeddjango/django-stubs/pull/1315Housekeeping, dependencies
New Contributors
Full Changelog: typeddjango/django-stubs@1.13.2...1.14.0
v1.13.2
Compare Source
What's Changed
Mypy plugin fixes
Strings/translations
GeoDjango
Decorators
django.contrib.admin.decorators
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1267Other type stubs changes
django.core.cache.backends.memcached.PyMemcacheCache
by @ngnpope in https://github.com/typeddjango/django-stubs/pull/1314Housekeeping
CI
Dependency updates
New Contributors
Full Changelog: typeddjango/django-stubs@1.13.1...1.13.2
v1.13.1
: Version 1.13.1Compare Source
What's Changed
QuerySetAny
type for QuerySet isinstance checks by @PIG208 in https://github.com/typeddjango/django-stubs/pull/1199gettext_lazy
. by @PIG208 in https://github.com/typeddjango/django-stubs/pull/1233ModelAdmin.fieldsets
'description' option to supportgettext_lazy
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1268Fixes
Housekeeping
Continuous integration
pre-commit.ci
by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1222flake8-pyi
inpre-commit
checks by @hoefling in https://github.com/typeddjango/django-stubs/pull/1253Dependency updates
New Contributors
Full Changelog: typeddjango/django-stubs@1.13.0...1.13.1
v1.13.0
: Version 1.13.0 and [email protected]Compare Source
What's Changed
logger
type in all modules by @sobolevn in https://github.com/typeddjango/django-stubs/pull/1031_AsSqlType
foras_sql
by @PIG208 in https://github.com/typeddjango/django-stubs/pull/1052from_queryset
in model classes by @ljodal in https://github.com/typeddjango/django-stubs/pull/1045PathLike
infinders
by @andersk in https://github.com/typeddjango/django-stubs/pull/1063management.get_commands
type by @andersk in https://github.com/typeddjango/django-stubs/pull/1074@property
by @adamchainz in https://github.com/typeddjango/django-stubs/pull/1129samesite
values as literals 'Lax', 'Strict' or 'None' by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1110RelatedManager
attributes in cache by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1152choices=
type variance for model fields by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1154fields=
arg forrefresh_from_db
to acceptSequence
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1156<QuerySet>.as_manager()
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1025RelatedManager
not callable by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/1191assertQuerysetEqual
to compare with a collection of values by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1201TestCase.captureOnCommitCallbacks
by @flaeppe in https://github.com/typeddjango/django-stubs/pull/1202Configuration
📅 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.