Releases: typeddjango/djangorestframework-stubs
Releases · typeddjango/djangorestframework-stubs
3.16.5
What's Changed
Improvements
- Fix
Field.get_attribute()return andRelatedField.to_representation()parameter forPKOnlyObjectby @emmanuel-ferdman in #852 - Add official support & test with Python 3.14 by @intgr in #850
Housekeeping
- CI: Clean up & speed up: remove unneeded apt package installs by @intgr in #842
- Fix Renovate 'lock file maintenance' schedule by @intgr in #843 & #844
- Enable more Ruff rules by @intgr in #845
- Version 3.16.5 release by @intgr in #855
New Contributors
- @emmanuel-ferdman made their first contribution in #852
Full Changelog: 3.16.4...3.16.5
3.16.4
What's Changed
Changes
- Update
schemas.get_schema_view(generator_class=)parameter to accept None by @kwang1215 in #703 - Fix
SlugRelatedField.slug_fieldtype: cannot beNoneby @lev-blit in #830 - Remove non-existant function
schema.generators.common_path()by @kwang1215 in #700 - Remove non-existant function
templatetags.rest_framework.urlize_quoted_links()by @Limsunoh in #699 - Document intentional discrepancies in allowlist & code comments by @intgr in #833
Housekeeping
- Use explicit mypy error codes in ignore comments and output by @intgr in #497
- Switch to
uvto manage dev dependencies by @intgr & @CodingWithSaksham in #797 - Configure Renovate to update
uv.lockunpinned dependencies by @intgr in #835 - Fix Renovate configuration by @intgr in #837
- Switch release workflow to
uvby @intgr in #838 - Test new release workflow: version 3.16.4a1 release by @intgr in #840
- Version 3.16.4 release by @intgr in #841
New Contributors
- @kwang1215 made their first contribution in #703
- @Limsunoh made their first contribution in #699
- @lev-blit made their first contribution in #830
Full Changelog: 3.16.3...3.16.4
3.16.4a1 (testing)
Testing new release workflow.
Using alpha version in case anything goes wrong -- so users won't be updated automatically.
3.16.3
What's Changed
Changes
-
[Breaking change] Remove work-around for
ModelSerializer.instancefield formany=Trueby @JoshFerge in #719 -
Accept lazy strings as path in
APIRequestFactoryandAPIClienthttp methods by @browniebroke in #825
Housekeeping
- Remove entries from allowlist to fix the stubtest CI job by @browniebroke in #826
- Updated
.pre-commit-configandCONTRIBUTING.MDto latest Python version by @CodingWithSaksham in #819 - Version 3.16.3 release by @intgr in #828
New Contributors
- @CodingWithSaksham made their first contribution in #819
- @JoshFerge made their first contribution in #719
Full Changelog: 3.16.2...3.16.3
3.16.2
What's Changed
- Update
djangorestframeworkto3.16.1by @sobolevn in #800 - Remove deprecated schema methods from BaseFilterProtocol by @huynguyengl99 in #809
Housekeeping
- Tests: Fix compatbility with mypy 1.17 due to bump in django-stubs by @intgr in #791
- Tests: Update usages of obsolete Union/Optional types by @intgr in #792
- Tests: Update mypy error message by @intgr in #798
- Version 3.16.2 release by @intgr in #810
New Contributors
- @huynguyengl99 made their first contribution in #809
Full Changelog: 3.16.1...3.16.2
3.16.1
What's Changed
- Fix CI by @sobolevn in #770
- Update mypy to 1.16 by @sobolevn in #781
- Fix
APIView.options()return type to Response by @rohitrhmn1 in #788 - Version 3.16.1 release by @intgr in #789
New Contributors
- @rohitrhmn1 made their first contribution in #788
Full Changelog: 3.16.0...3.16.1
3.16.0
3.15.4
Important
- Compat with
[email protected]was added
What's Changed
- Add
rest_framework.authtoken.models.Token.saveto allowlist by @sobolevn in #743 - Added missing
wsgi_requestto the_MonkeyPatchedResponseby @PedroPerpetua in #747 - Django5.2 by @sobolevn in #753
- Restrict setuptools version to <79.0.0 by @davidmannion in #756
- Fix missing TypeAlias for
request.userby @davidmannion in #758
New Contributors
- @PedroPerpetua made their first contribution in #747
- @davidmannion made their first contribution in #756
Full Changelog: 3.15.3...3.15.4
3.15.3
What's Changed
- Update
django-stubsrequirements - Update
mypyrequirements
Full Changelog: 3.15.2...3.15.3
3.15.2
What's Changed
- Add GitHub actions release workflow by @intgr in #660
- Document the release process by @intgr in #661
- Update project badges by @intgr in #663
- Add Stack Overflow badge as well by @sobolevn in #664
- Remove None from accepted_renderer, accepted_media_type by @q0w in #668
- Improve
GenericAPIView.serializer_classclassvar type generics by @jheld in #672 - use Sequence for default_validators by @asottile in #680
- Update mypy to 1.12 by @sobolevn in #682
- represent choices in ChoiceField as Sequence by @asottile in #686
- Update ruff by @sobolevn in #706
- Version 3.15.2 release by @alexdloia in #710
New Contributors
- @jheld made their first contribution in #672
- @asottile made their first contribution in #680
- @alexdloia made their first contribution in #710
Full Changelog: 3.15.1...3.15.2