Skip to content

Commit 1a8c0b4

Browse files
committed
Merge pull request #2930 from linovia/release/3.1.2
Release 3.1.2
2 parents ea1145c + 47d36f1 commit 1a8c0b4

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

docs/topics/release-notes.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,27 @@ You can determine your currently installed version using `pip freeze`:
4040

4141
## 3.1.x series
4242

43+
### 3.1.2
44+
45+
**Date**: [13rd May 2015][3.1.2-milestone].
46+
47+
* DateField to_representation can handle str and empty values. ([#2656](gh2656), [#2687](gh2687), [#2869](gh2869))
48+
* Use default reason phrases from HTTP standard. ([#2764](gh2764), [#2763](gh2763))
49+
* Raise error when ModelSerializer used with abstract model. ([#2757](gh2757), [#2630](gh2630))
50+
* Handle reversal of non-API view_name in HyperLinkedRelatedField ([#2724](gh2724), [#2711](gh2711))
51+
* Dont require pk strictly for related fields. ([#2745](gh2745), [#2754](gh2754))
52+
* Metadata detects null boolean field type. ([#2762](gh2762))
53+
* Proper handling of depth in nested serializers. ([#2798](gh2798))
54+
* Display viewset without paginator. ([#2807](gh2807))
55+
* Don't check for deprecated '.model' attribute in permissions ([#2818](gh2818))
56+
* Restrict integer field to integers and strings. ([#2835](gh2835), [#2836](gh2836))
57+
* Improve IntegerField to use compiled decimal regex. ([#2853](gh2853))
58+
* Prevent empty `queryset`s to raise AssertionError. ([#2862](gh2862))
59+
* DjangoModelPermissions rely on get_queryset. ([#2863](gh2863))
60+
* Check AcceptHeaderVersioning with content negotiation in place. ([#2868](gh2868))
61+
* Allow DjangoObjectPermissions to use views that define get_queryset ([#2905](gh2905))
62+
63+
4364
### 3.1.1
4465

4566
**Date**: [23rd March 2015][3.1.1-milestone].
@@ -184,6 +205,7 @@ For older release notes, [please see the version 2.x documentation][old-release-
184205
[3.0.5-milestone]: https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.0.5+Release%22
185206
[3.1.0-milestone]: https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.0+Release%22
186207
[3.1.1-milestone]: https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.1+Release%22
208+
[3.1.2-milestone]: https://github.com/tomchristie/django-rest-framework/issues?q=milestone%3A%223.1.2+Release%22
187209

188210
<!-- 3.0.1 -->
189211
[gh2013]: https://github.com/tomchristie/django-rest-framework/issues/2013
@@ -296,3 +318,26 @@ For older release notes, [please see the version 2.x documentation][old-release-
296318
[gh2631]: https://github.com/tomchristie/django-rest-framework/issues/2631
297319
[gh2741]: https://github.com/tomchristie/django-rest-framework/issues/2641
298320
[gh2743]: https://github.com/tomchristie/django-rest-framework/issues/2643
321+
<!-- 3.1.2 -->
322+
[gh2656]: https://github.com/tomchristie/django-rest-framework/issues/2656
323+
[gh2687]: https://github.com/tomchristie/django-rest-framework/issues/2687
324+
[gh2869]: https://github.com/tomchristie/django-rest-framework/issues/2869
325+
[gh2764]: https://github.com/tomchristie/django-rest-framework/issues/2764
326+
[gh2763]: https://github.com/tomchristie/django-rest-framework/issues/2763
327+
[gh2757]: https://github.com/tomchristie/django-rest-framework/issues/2757
328+
[gh2630]: https://github.com/tomchristie/django-rest-framework/issues/2630
329+
[gh2724]: https://github.com/tomchristie/django-rest-framework/issues/2724
330+
[gh2711]: https://github.com/tomchristie/django-rest-framework/issues/2711
331+
[gh2745]: https://github.com/tomchristie/django-rest-framework/issues/2745
332+
[gh2754]: https://github.com/tomchristie/django-rest-framework/issues/2754
333+
[gh2762]: https://github.com/tomchristie/django-rest-framework/issues/2762
334+
[gh2798]: https://github.com/tomchristie/django-rest-framework/issues/2798
335+
[gh2807]: https://github.com/tomchristie/django-rest-framework/issues/2807
336+
[gh2818]: https://github.com/tomchristie/django-rest-framework/issues/2818
337+
[gh2835]: https://github.com/tomchristie/django-rest-framework/issues/2835
338+
[gh2836]: https://github.com/tomchristie/django-rest-framework/issues/2836
339+
[gh2853]: https://github.com/tomchristie/django-rest-framework/issues/2853
340+
[gh2862]: https://github.com/tomchristie/django-rest-framework/issues/2862
341+
[gh2863]: https://github.com/tomchristie/django-rest-framework/issues/2863
342+
[gh2868]: https://github.com/tomchristie/django-rest-framework/issues/2868
343+
[gh2905]: https://github.com/tomchristie/django-rest-framework/issues/2905

rest_framework/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010
__title__ = 'Django REST framework'
11-
__version__ = '3.1.1'
11+
__version__ = '3.1.2'
1212
__author__ = 'Tom Christie'
1313
__license__ = 'BSD 2-Clause'
1414
__copyright__ = 'Copyright 2011-2015 Tom Christie'

0 commit comments

Comments
 (0)