Release notes
*Sourced from [djangorestframework's releases](https://github.com/encode/django-rest-framework/releases).*
> ## Version 3.9.3
> This is the last Django REST Framework release that will support Python 2.
> Be sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10.
>
> * Adjusted the compat check for django-guardian to allow the last guardian
> version (v1.4.9) compatible with Python 2. [#6613](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6613)
>
> ## Version 3.9.2
> See [Release Notes](https://www.django-rest-framework.org/community/release-notes/[#392](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/392)) for details.
>
> ## Version 3.9.1
> Change Notes:
> https://www.django-rest-framework.org/community/release-notes/#39x-series
>
> ## Verision 3.9.0
> Release announcement:
> https://www.django-rest-framework.org/community/3.9-announcement/
>
> Change Notes:
> https://www.django-rest-framework.org/community/release-notes/#39x-series
>
> ## Version 3.8.2
> Point release for 3.8.x series
>
> * Fix `read_only` + `default` `unique_together` validation. [#5922](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5922)
> * authtoken.views import coreapi from rest_framework.compat, not directly. [#5921](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5921)
> * Docs: Add missing argument 'detail' to Route [#5920](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5920)
>
> ## Version 3.8.1
> * Use old `url_name` behavior in route decorators [#5915](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5915)
>
> For `list_route` and `detail_route` maintain the old behavior of `url_name`,
> basing it on the `url_path` instead of the function name.
>
>
> ## Version 3.8
> * [Release Announcement](http://www.django-rest-framework.org/topics/3.8-announcement/)
> * [3.8.0 Milestone](https://github.com/encode/django-rest-framework/milestone/61?closed=1)
>
> * **Breaking Change**: Alter `read_only` plus `default` behaviour. [#5886](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5886)
>
> `read_only` fields will now **always** be excluded from writable fields.
>
> Previously `read_only` fields with a `default` value would use the `default` for create and update operations.
>
> In order to maintain the old behaviour you may need to pass the value of `read_only` fields when calling `save()` in
> the view:
>
> def perform_create(self, serializer):
> serializer.save(owner=self.request.user)
> ... (truncated)
Commits
- [`b1c4d8b`](https://github.com/encode/django-rest-framework/commit/b1c4d8b59b67084ed07a35ea9a35629805039aaa) Update version and release notes for v3.9.4.
- [`91e492b`](https://github.com/encode/django-rest-framework/commit/91e492bd2eccca9440597a005717db3413a70d00) Rollback [#6435](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6435)
- [`7f16ed7`](https://github.com/encode/django-rest-framework/commit/7f16ed772720509b476e3cc4208c01b3972fa99b) Correct version number in release notes.
- [`83d09c7`](https://github.com/encode/django-rest-framework/commit/83d09c7bc53c6c0b79e400fe05e1aff6788c2b2d) Update version and release notes for v3.9.3.
- [`bf9859d`](https://github.com/encode/django-rest-framework/commit/bf9859de51b8856014848b3c5eac45ade67b34dd) Adjust django-guardian check for PY2 compatible version. ([#6613](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6613))
- [`59a5a5a`](https://github.com/encode/django-rest-framework/commit/59a5a5a868dd1fed12df12f536804338b6d5e233) Merge pull request [#6611](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6611) from dsanders11/patch-1
- [`95e28b2`](https://github.com/encode/django-rest-framework/commit/95e28b2252b58e7d5d2e33ee5cb705029eb322c5) Fix typo in docs
- [`1ac0f63`](https://github.com/encode/django-rest-framework/commit/1ac0f63aa9a6ceed5e4221926929117528af2714) Fix private attributes ignore in documentation ([#6601](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6601))
- [`db65282`](https://github.com/encode/django-rest-framework/commit/db65282163b91688367095459328de7e9dab94d8) Merge pull request [#6588](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6588) from rawteech/master
- [`f8c4e50`](https://github.com/encode/django-rest-framework/commit/f8c4e5079ee580c354d75523882be184961c05ac) Minor documentation fixes ([#6581](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6581))
- Additional commits viewable in [compare view](https://github.com/encode/django-rest-framework/compare/3.5.3...3.9.4)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps djangorestframework from 3.5.3 to 3.9.4.
Release notes
*Sourced from [djangorestframework's releases](https://github.com/encode/django-rest-framework/releases).* > ## Version 3.9.3 > This is the last Django REST Framework release that will support Python 2. > Be sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10. > > * Adjusted the compat check for django-guardian to allow the last guardian > version (v1.4.9) compatible with Python 2. [#6613](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6613) > > ## Version 3.9.2 > See [Release Notes](https://www.django-rest-framework.org/community/release-notes/[#392](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/392)) for details. > > ## Version 3.9.1 > Change Notes: > https://www.django-rest-framework.org/community/release-notes/#39x-series > > ## Verision 3.9.0 > Release announcement: > https://www.django-rest-framework.org/community/3.9-announcement/ > > Change Notes: > https://www.django-rest-framework.org/community/release-notes/#39x-series > > ## Version 3.8.2 > Point release for 3.8.x series > > * Fix `read_only` + `default` `unique_together` validation. [#5922](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5922) > * authtoken.views import coreapi from rest_framework.compat, not directly. [#5921](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5921) > * Docs: Add missing argument 'detail' to Route [#5920](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5920) > > ## Version 3.8.1 > * Use old `url_name` behavior in route decorators [#5915](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5915) > > For `list_route` and `detail_route` maintain the old behavior of `url_name`, > basing it on the `url_path` instead of the function name. > > > ## Version 3.8 > * [Release Announcement](http://www.django-rest-framework.org/topics/3.8-announcement/) > * [3.8.0 Milestone](https://github.com/encode/django-rest-framework/milestone/61?closed=1) > > * **Breaking Change**: Alter `read_only` plus `default` behaviour. [#5886](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/5886) > > `read_only` fields will now **always** be excluded from writable fields. > > Previously `read_only` fields with a `default` value would use the `default` for create and update operations. > > In order to maintain the old behaviour you may need to pass the value of `read_only` fields when calling `save()` in > the view: > > def perform_create(self, serializer): > serializer.save(owner=self.request.user) > ... (truncated)Commits
- [`b1c4d8b`](https://github.com/encode/django-rest-framework/commit/b1c4d8b59b67084ed07a35ea9a35629805039aaa) Update version and release notes for v3.9.4. - [`91e492b`](https://github.com/encode/django-rest-framework/commit/91e492bd2eccca9440597a005717db3413a70d00) Rollback [#6435](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6435) - [`7f16ed7`](https://github.com/encode/django-rest-framework/commit/7f16ed772720509b476e3cc4208c01b3972fa99b) Correct version number in release notes. - [`83d09c7`](https://github.com/encode/django-rest-framework/commit/83d09c7bc53c6c0b79e400fe05e1aff6788c2b2d) Update version and release notes for v3.9.3. - [`bf9859d`](https://github.com/encode/django-rest-framework/commit/bf9859de51b8856014848b3c5eac45ade67b34dd) Adjust django-guardian check for PY2 compatible version. ([#6613](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6613)) - [`59a5a5a`](https://github.com/encode/django-rest-framework/commit/59a5a5a868dd1fed12df12f536804338b6d5e233) Merge pull request [#6611](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6611) from dsanders11/patch-1 - [`95e28b2`](https://github.com/encode/django-rest-framework/commit/95e28b2252b58e7d5d2e33ee5cb705029eb322c5) Fix typo in docs - [`1ac0f63`](https://github.com/encode/django-rest-framework/commit/1ac0f63aa9a6ceed5e4221926929117528af2714) Fix private attributes ignore in documentation ([#6601](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6601)) - [`db65282`](https://github.com/encode/django-rest-framework/commit/db65282163b91688367095459328de7e9dab94d8) Merge pull request [#6588](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6588) from rawteech/master - [`f8c4e50`](https://github.com/encode/django-rest-framework/commit/f8c4e5079ee580c354d75523882be184961c05ac) Minor documentation fixes ([#6581](https://github-redirect.dependabot.com/encode/django-rest-framework/issues/6581)) - Additional commits viewable in [compare view](https://github.com/encode/django-rest-framework/compare/3.5.3...3.9.4)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.