Skip to content

Commit 3285916

Browse files
authored
Version 3.15.1 (#9339)
* Version 3.15.1
1 parent eb361d2 commit 3285916

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

docs/community/3.15-announcement.md

-8
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ The current minimum versions of Django still is 3.0 and Python 3.6.
3131

3232
`ModelSerializer` generates validators for [UniqueConstraint](https://docs.djangoproject.com/en/4.0/ref/models/constraints/#uniqueconstraint) (both UniqueValidator and UniqueTogetherValidator)
3333

34-
## ValidationErrors improvements
35-
36-
The `ValidationError` has been aligned with Django's, currently supporting the same style (signature) and nesting.
37-
3834
## SimpleRouter non-regex matching support
3935

4036
By default the URLs created by `SimpleRouter` use regular expressions. This behavior can be modified by setting the `use_regex_path` argument to `False` when instantiating the router.
@@ -47,10 +43,6 @@ Dependency on pytz has been removed and deprecation warnings have been added, Dj
4743

4844
Searches now may contain _quoted phrases_ with spaces, each phrase is considered as a single search term, and it will raise a validation error if any null-character is provided in search. See the [Filtering API guide](../api-guide/filtering.md) for more information.
4945

50-
## Default values propagation
51-
52-
Model fields' default values are now propagated to serializer fields, for more information see the [Serializer fields API guide](../api-guide/fields.md#default).
53-
5446
## Other fixes and improvements
5547

5648
There are a number of fixes and minor improvements in this release, ranging from documentation, internal infrastructure (typing, testing, requirements, deprecation, etc.), security and overall behaviour.

docs/community/release-notes.md

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ You can determine your currently installed version using `pip show`:
3636

3737
## 3.15.x series
3838

39+
### 3.15.1
40+
41+
Date: 22nd March 2024
42+
43+
* Fix `SearchFilter` handling of quoted and comma separated strings, when `.get_search_terms` is being called into by a custom class. See [[#9338](https://github.com/encode/django-rest-framework/issues/9338)]
44+
* Revert number of 3.15.0 issues which included unintended side-effects. See [[#9331](https://github.com/encode/django-rest-framework/issues/9331)]
45+
3946
### 3.15.0
4047

4148
Date: 15th March 2024

rest_framework/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import django
1111

1212
__title__ = 'Django REST framework'
13-
__version__ = '3.15.0'
13+
__version__ = '3.15.1'
1414
__author__ = 'Tom Christie'
1515
__license__ = 'BSD 3-Clause'
1616
__copyright__ = 'Copyright 2011-2023 Encode OSS Ltd'

0 commit comments

Comments
 (0)