Djangorestframework-stubs

Latest version: v3.14.5

Safety actively analyzes 619369 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

3.14.5

Headline changes
* **mypy 1.7:** Recommended mypy version updated to 1.7.x
* Removed direct mypy dependency. If you are using mypy, please add an explicit `mypy` dev dependency to your project, or install djangorestframework-stubs with the extra `djangorestframework-stubs[compatible-mypy]`.

Mypy remains **the only supported type checker**. Improvements for other type checkers may be considered in the future, pull requests welcome. See [1628](https://github.com/typeddjango/django-stubs/issues/1628) for details.

Stubs fixes
* Allow `None` for several `Field` constructor arguments by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/498

Stubs improvements
* Updated `Field` subclasses kwargs-only parameters by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/491
* Added all stubs reported missing by stubtest by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/499
* Improved `Serializer.to_representation()` return type by 4c0n in https://github.com/typeddjango/djangorestframework-stubs/pull/504
* Improved `BaseSerializer` and `ListSerializer` method `to_representation()` by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/509
* Allow `http.HTTPMethod` enum values in `action()` decorator by sshishov in https://github.com/typeddjango/djangorestframework-stubs/pull/512

Housekeeping
* Dropped hard dependency on mypy by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/495
* Tests: Allowlist stubtest `cached_property` error by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/503
* Upgraded to mypy 1.7.0 by intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/506

New Contributors
* sshishov made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/512

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.4...3.14.5

3.14.4

New Contributors
* 4c0n made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/485

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.3...3.14.4

3.14.3

New Contributors
* moosbruggerj made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/452
* ltakens made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/469
* browniebroke made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/444

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.2...3.14.3

3.14.2

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.1...3.14.2

3.14.1

New Contributors
* realsuayip made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/394
* namper made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/415

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.0...3.14.1

3.14.0

New Contributors
* albertocerrone made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/379

**Full Changelog**: https://github.com/typeddjango/djangorestframework-stubs/compare/1.10.0...3.14.0

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.