django-rest-framework/community/release-notes/index.html

1607 lines
149 KiB
HTML
Raw Normal View History

2013-11-17 22:26:41 +04:00
<!DOCTYPE html>
<html lang="en">
2014-11-25 19:04:38 +03:00
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
2015-05-15 11:19:49 +03:00
<title>Release Notes - Django REST framework</title>
2014-11-25 19:04:38 +03:00
<link href="../../img/favicon.ico" rel="icon" type="image/x-icon">
<link rel="canonical" href="https://www.django-rest-framework.org/community/release-notes/" />
2014-11-25 19:04:38 +03:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Django, API, REST, Release Notes">
<meta name="author" content="Tom Christie">
<!-- Le styles -->
<link href="../../css/prettify.css" rel="stylesheet">
<link href="../../css/bootstrap.css" rel="stylesheet">
<link href="../../css/bootstrap-responsive.css" rel="stylesheet">
<link href="../../css/default.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18852272-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<style>
2016-05-26 13:48:39 +03:00
#sidebarInclude img {
margin-bottom: 10px;
}
#sidebarInclude a.promo {
2014-11-25 19:04:38 +03:00
color: black;
2016-05-26 13:48:39 +03:00
}
2014-11-25 19:04:38 +03:00
@media (max-width: 767px) {
div.promo {
display: none;
}
}
</style>
</head>
<body onload="prettyPrint()" class="-page">
2013-11-17 22:26:41 +04:00
<div class="wrapper">
2014-11-25 19:04:38 +03:00
<div class="navbar navbar-inverse navbar-fixed-top">
2013-11-17 22:26:41 +04:00
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="prev" href="../3.9-announcement/">
2014-11-25 19:04:38 +03:00
Next <i class="icon-arrow-right icon-white"></i>
</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../project-management/">
2014-11-25 19:04:38 +03:00
<i class="icon-arrow-left icon-white"></i> Previous
</a>
2015-06-04 17:37:22 +03:00
<a id="search_modal_show" class="repo-link btn btn-inverse btn-small" href="#mkdocs_search_modal" data-toggle="modal" data-target="#mkdocs_search_modal"><i class="icon-search icon-white"></i> Search</a>
2013-11-17 22:26:41 +04:00
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="https://www.django-rest-framework.org/">Django REST framework</a>
2013-11-17 22:26:41 +04:00
<div class="nav-collapse collapse">
2014-11-25 19:04:38 +03:00
<!-- Main navigation -->
<ul class="nav navbar-nav">
2015-06-04 17:37:22 +03:00
<li >
<a href="../..">Home</a>
</li>
2013-11-17 22:26:41 +04:00
<li class="dropdown">
2014-11-25 19:31:00 +03:00
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Tutorial <b class="caret"></b></a>
2013-11-17 22:26:41 +04:00
<ul class="dropdown-menu">
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/quickstart/">Quickstart</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/1-serialization/">1 - Serialization</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/2-requests-and-responses/">2 - Requests and responses</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/3-class-based-views/">3 - Class based views</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/4-authentication-and-permissions/">4 - Authentication and permissions</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/5-relationships-and-hyperlinked-apis/">5 - Relationships and hyperlinked APIs</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../tutorial/6-viewsets-and-routers/">6 - Viewsets and routers</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
<a href="../../tutorial/7-schemas-and-client-libraries/">7 - Schemas and client libraries</a>
</li>
2013-11-17 22:26:41 +04:00
</ul>
</li>
2014-11-25 19:04:38 +03:00
2013-11-17 22:26:41 +04:00
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">API Guide <b class="caret"></b></a>
<ul class="dropdown-menu">
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/requests/">Requests</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/responses/">Responses</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/views/">Views</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/generic-views/">Generic views</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/viewsets/">Viewsets</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/routers/">Routers</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/parsers/">Parsers</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/renderers/">Renderers</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/serializers/">Serializers</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/fields/">Serializer fields</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/relations/">Serializer relations</a>
2014-11-25 19:04:38 +03:00
</li>
2014-12-01 15:20:07 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/validators/">Validators</a>
2014-12-01 15:20:07 +03:00
</li>
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/authentication/">Authentication</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/permissions/">Permissions</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
<a href="../../api-guide/caching/">Caching</a>
</li>
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/throttling/">Throttling</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/filtering/">Filtering</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/pagination/">Pagination</a>
2014-11-25 19:04:38 +03:00
</li>
2015-03-06 15:05:16 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/versioning/">Versioning</a>
2015-03-06 15:05:16 +03:00
</li>
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/content-negotiation/">Content negotiation</a>
2014-11-25 19:04:38 +03:00
</li>
2014-12-18 18:42:42 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/metadata/">Metadata</a>
2014-12-18 18:42:42 +03:00
</li>
<li >
<a href="../../api-guide/schemas/">Schemas</a>
</li>
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/format-suffixes/">Format suffixes</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/reverse/">Returning URLs</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/exceptions/">Exceptions</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/status-codes/">Status codes</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/testing/">Testing</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../../api-guide/settings/">Settings</a>
2014-11-25 19:04:38 +03:00
</li>
2013-11-17 22:26:41 +04:00
</ul>
</li>
2014-11-25 19:04:38 +03:00
<li class="dropdown">
2013-11-17 22:26:41 +04:00
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Topics <b class="caret"></b></a>
<ul class="dropdown-menu">
2014-11-25 19:04:38 +03:00
<li >
<a href="../../topics/documenting-your-api/">Documenting your API</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
<a href="../../topics/api-clients/">API Clients</a>
</li>
2015-03-06 15:05:16 +03:00
<li >
<a href="../../topics/internationalization/">Internationalization</a>
2015-03-06 15:05:16 +03:00
</li>
2014-11-25 19:04:38 +03:00
<li >
<a href="../../topics/ajax-csrf-cors/">AJAX, CSRF & CORS</a>
2014-11-25 19:04:38 +03:00
</li>
2015-10-28 14:35:39 +03:00
<li >
<a href="../../topics/html-and-forms/">HTML & Forms</a>
2015-10-28 14:35:39 +03:00
</li>
2014-11-25 19:04:38 +03:00
<li >
<a href="../../topics/browser-enhancements/">Browser Enhancements</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
<a href="../../topics/browsable-api/">The Browsable API</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
<a href="../../topics/rest-hypermedia-hateoas/">REST, Hypermedia & HATEOAS</a>
2014-11-25 19:04:38 +03:00
</li>
</ul>
</li>
<li class="dropdown active">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b class="caret"></b></a>
<ul class="dropdown-menu">
2014-11-25 19:04:38 +03:00
<li >
<a href="../tutorials-and-resources/">Tutorials and Resources</a>
</li>
<li >
<a href="../third-party-packages/">Third Party Packages</a>
2014-11-25 19:04:38 +03:00
</li>
<li >
2015-06-04 17:37:22 +03:00
<a href="../contributing/">Contributing to REST framework</a>
2014-11-25 19:04:38 +03:00
</li>
2014-12-18 16:49:50 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../project-management/">Project management</a>
2014-12-18 16:49:50 +03:00
</li>
<li class="active" >
<a href="./">Release Notes</a>
</li>
<li >
<a href="../3.9-announcement/">3.9 Announcement</a>
</li>
2014-11-25 19:04:38 +03:00
<li >
<a href="../3.8-announcement/">3.8 Announcement</a>
2014-11-25 19:04:38 +03:00
</li>
2014-12-01 15:20:07 +03:00
<li >
<a href="../3.7-announcement/">3.7 Announcement</a>
2014-12-01 15:20:07 +03:00
</li>
2015-08-06 16:31:52 +03:00
<li >
<a href="../3.6-announcement/">3.6 Announcement</a>
2015-08-06 16:31:52 +03:00
</li>
2015-10-28 14:35:39 +03:00
<li >
<a href="../3.5-announcement/">3.5 Announcement</a>
2015-10-28 14:35:39 +03:00
</li>
<li >
<a href="../3.4-announcement/">3.4 Announcement</a>
</li>
<li >
<a href="../3.3-announcement/">3.3 Announcement</a>
</li>
<li >
<a href="../3.2-announcement/">3.2 Announcement</a>
</li>
<li >
<a href="../3.1-announcement/">3.1 Announcement</a>
</li>
<li >
<a href="../3.0-announcement/">3.0 Announcement</a>
</li>
2014-11-25 19:04:38 +03:00
<li >
2015-06-04 17:37:22 +03:00
<a href="../kickstarter-announcement/">Kickstarter Announcement</a>
2014-11-25 19:04:38 +03:00
</li>
2016-05-26 13:48:39 +03:00
<li >
<a href="../mozilla-grant/">Mozilla Grant</a>
</li>
<li >
<a href="../funding/">Funding</a>
</li>
<li >
<a href="../jobs/">Jobs</a>
2014-11-25 19:04:38 +03:00
</li>
2013-11-17 22:26:41 +04:00
</ul>
</li>
2014-11-25 19:04:38 +03:00
2013-11-17 22:26:41 +04:00
</ul>
2014-11-25 19:04:38 +03:00
</div>
<!--/.nav-collapse -->
2013-11-17 22:26:41 +04:00
</div>
</div>
</div>
<div class="body-content">
<div class="container-fluid">
2014-11-25 19:04:38 +03:00
<!-- Search Modal -->
2015-06-04 17:37:22 +03:00
<div id="mkdocs_search_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
2014-11-25 19:04:38 +03:00
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3 id="myModalLabel">Documentation search</h3>
</div>
<div class="modal-body">
2015-08-06 16:31:52 +03:00
<form role="form" autocomplete="off">
2015-06-04 17:37:22 +03:00
<div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search..." id="mkdocs-search-query">
</div>
</form>
<div id="mkdocs-search-results"></div>
2014-11-25 19:04:38 +03:00
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
2013-11-17 22:26:41 +04:00
<div class="row-fluid">
<div class="span3">
<div id="table-of-contents">
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
2014-11-25 19:04:38 +03:00
<li class="main">
<a href="#release-notes">Release Notes</a>
</li>
<li>
<a href="#versioning">Versioning</a>
</li>
<li>
<a href="#deprecation-policy">Deprecation policy</a>
</li>
<li>
<a href="#upgrading">Upgrading</a>
</li>
<li>
<a href="#39x-series">3.9.x series</a>
</li>
<li>
<a href="#38x-series">3.8.x series</a>
</li>
<li>
<a href="#37x-series">3.7.x series</a>
</li>
<li>
<a href="#36x-series">3.6.x series</a>
</li>
<li>
<a href="#35x-series">3.5.x series</a>
</li>
2016-05-26 13:48:39 +03:00
<li>
<a href="#34x-series">3.4.x series</a>
</li>
2015-10-28 14:35:39 +03:00
<li>
<a href="#33x-series">3.3.x series</a>
</li>
2015-08-06 16:31:52 +03:00
<li>
<a href="#32x-series">3.2.x series</a>
</li>
2015-03-23 14:37:42 +03:00
<li>
<a href="#31x-series">3.1.x series</a>
</li>
2014-12-08 18:16:45 +03:00
<li>
<a href="#30x-series">3.0.x series</a>
</li>
2014-11-25 19:04:38 +03:00
2016-05-26 13:48:39 +03:00
<div class="promo">
<hr/>
<div id="sidebarInclude">
</div>
2014-11-25 19:04:38 +03:00
</ul>
2013-11-17 22:26:41 +04:00
</div>
</div>
<div id="main-content" class="span9">
2014-11-25 19:04:38 +03:00
2015-06-04 17:37:22 +03:00
2015-11-04 17:59:23 +03:00
<h1 id="release-notes"><a class="toclink" href="#release-notes">Release Notes</a></h1>
2013-11-17 22:26:41 +04:00
<blockquote>
<p>Release Early, Release Often</p>
<p>&mdash; Eric S. Raymond, <a href="http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s04.html">The Cathedral and the Bazaar</a>.</p>
</blockquote>
2015-11-04 17:59:23 +03:00
<h2 id="versioning"><a class="toclink" href="#versioning">Versioning</a></h2>
2013-11-17 22:26:41 +04:00
<p>Minor version numbers (0.0.x) are used for changes that are API compatible. You should be able to upgrade between minor point releases without any other code changes.</p>
<p>Medium version numbers (0.x.0) may include API changes, in line with the <a href="#deprecation-policy">deprecation policy</a>. You should read the release notes carefully before upgrading between medium point releases.</p>
2014-09-19 17:31:49 +04:00
<p>Major version numbers (x.0.0) are reserved for substantial project milestones.</p>
2015-11-04 17:59:23 +03:00
<h2 id="deprecation-policy"><a class="toclink" href="#deprecation-policy">Deprecation policy</a></h2>
<p>REST framework releases follow a formal deprecation policy, which is in line with <a href="https://docs.djangoproject.com/en/stable/internals/release-process/#internal-release-deprecation-policy">Django's deprecation policy</a>.</p>
2013-11-17 22:26:41 +04:00
<p>The timeline for deprecation of a feature present in version 1.0 would work as follows:</p>
<ul>
<li>
<p>Version 1.1 would remain <strong>fully backwards compatible</strong> with 1.0, but would raise <code>PendingDeprecationWarning</code> warnings if you use the feature that are due to be deprecated. These warnings are <strong>silent by default</strong>, but can be explicitly enabled when you're ready to start migrating any required changes. For example if you start running your tests using <code>python -Wd manage.py test</code>, you'll be warned of any API changes you need to make.</p>
</li>
<li>
<p>Version 1.2 would escalate these warnings to <code>DeprecationWarning</code>, which is loud by default.</p>
</li>
<li>
<p>Version 1.3 would remove the deprecated bits of API entirely.</p>
</li>
</ul>
<p>Note that in line with Django's policy, any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change.</p>
2015-11-04 17:59:23 +03:00
<h2 id="upgrading"><a class="toclink" href="#upgrading">Upgrading</a></h2>
2013-11-17 22:26:41 +04:00
<p>To upgrade Django REST framework to the latest version, use pip:</p>
2014-11-25 19:04:38 +03:00
<pre><code>pip install -U djangorestframework
2013-11-17 22:26:41 +04:00
</code></pre>
<p>You can determine your currently installed version using <code>pip show</code>:</p>
<pre><code>pip show djangorestframework
2013-11-17 22:26:41 +04:00
</code></pre>
<hr />
<h2 id="39x-series"><a class="toclink" href="#39x-series">3.9.x series</a></h2>
<h3 id="391"><a class="toclink" href="#391">3.9.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/70?closed=1">16th Janurary 2019</a></p>
<ul>
<li>Resolve XSS issue in browsable API. <a href="https://github.com/encode/django-rest-framework/issues/6330">#6330</a></li>
<li>Resolve issues with composable permissions. <a href="https://github.com/encode/django-rest-framework/issues/6299">#6299</a></li>
<li>Respect <code>limit_choices_to</code> on foreign keys. <a href="https://github.com/encode/django-rest-framework/issues/6371">#6371</a></li>
</ul>
<h3 id="390"><a class="toclink" href="#390">3.9.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/66?closed=1">18th October 2018</a></p>
<ul>
<li>Improvements to ViewSet extra actions <a href="https://github.com/encode/django-rest-framework/issues/5605">#5605</a></li>
<li>Fix <code>action</code> support for ViewSet suffixes <a href="https://github.com/encode/django-rest-framework/issues/6081">#6081</a></li>
<li>Allow <code>action</code> docs sections <a href="https://github.com/encode/django-rest-framework/issues/6060">#6060</a></li>
<li>Deprecate the <code>Router.register</code> <code>base_name</code> argument in favor of <code>basename</code>. <a href="https://github.com/encode/django-rest-framework/issues/5990">#5990</a></li>
<li>Deprecate the <code>Router.get_default_base_name</code> method in favor of <code>Router.get_default_basename</code>. <a href="https://github.com/encode/django-rest-framework/issues/5990">#5990</a></li>
<li>Change <code>CharField</code> to disallow null bytes. <a href="https://github.com/encode/django-rest-framework/issues/6073">#6073</a>
To revert to the old behavior, subclass <code>CharField</code> and remove <code>ProhibitNullCharactersValidator</code> from the validators.
<code>python
class NullableCharField(serializers.CharField):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.validators = [v for v in self.validators if not isinstance(v, ProhibitNullCharactersValidator)]</code></li>
<li>Add <code>OpenAPIRenderer</code> and <code>generate_schema</code> management command. <a href="https://github.com/encode/django-rest-framework/issues/6229">#6229</a></li>
<li>Add OpenAPIRenderer by default, and add schema docs. <a href="https://github.com/encode/django-rest-framework/issues/6233">#6233</a></li>
<li>Allow permissions to be composed <a href="https://github.com/encode/django-rest-framework/issues/5753">#5753</a></li>
<li>Allow nullable BooleanField in Django 2.1 <a href="https://github.com/encode/django-rest-framework/issues/6183">#6183</a></li>
<li>Add testing of Python 3.7 support <a href="https://github.com/encode/django-rest-framework/issues/6141">#6141</a></li>
<li>Test using Django 2.1 final release. <a href="https://github.com/encode/django-rest-framework/issues/6109">#6109</a></li>
<li>Added djangorestframework-datatables to third-party packages <a href="https://github.com/encode/django-rest-framework/issues/5931">#5931</a></li>
<li>Change ISO 8601 date format to exclude year/month <a href="https://github.com/encode/django-rest-framework/issues/5936">#5936</a></li>
<li>Update all pypi.python.org URLs to pypi.org <a href="https://github.com/encode/django-rest-framework/issues/5942">#5942</a></li>
<li>Ensure that html forms (multipart form data) respect optional fields <a href="https://github.com/encode/django-rest-framework/issues/5927">#5927</a></li>
<li>Allow hashing of ErrorDetail. <a href="https://github.com/encode/django-rest-framework/issues/5932">#5932</a></li>
<li>Correct schema parsing for JSONField <a href="https://github.com/encode/django-rest-framework/issues/5878">#5878</a></li>
<li>Render descriptions (from help_text) using safe <a href="https://github.com/encode/django-rest-framework/issues/5869">#5869</a></li>
<li>Removed input value from deault_error_message <a href="https://github.com/encode/django-rest-framework/issues/5881">#5881</a></li>
<li>Added min_value/max_value support in DurationField <a href="https://github.com/encode/django-rest-framework/issues/5643">#5643</a></li>
<li>Fixed instance being overwritten in pk-only optimization try/except block <a href="https://github.com/encode/django-rest-framework/issues/5747">#5747</a></li>
<li>Fixed AttributeError from items filter when value is None <a href="https://github.com/encode/django-rest-framework/issues/5981">#5981</a></li>
<li>Fixed Javascript <code>e.indexOf</code> is not a function error <a href="https://github.com/encode/django-rest-framework/issues/5982">#5982</a></li>
<li>Fix schemas for extra actions <a href="https://github.com/encode/django-rest-framework/issues/5992">#5992</a></li>
<li>Improved get_error_detail to use error_dict/error_list <a href="https://github.com/encode/django-rest-framework/issues/5785">#5785</a></li>
<li>Imprvied URLs in Admin renderer <a href="https://github.com/encode/django-rest-framework/issues/5988">#5988</a></li>
<li>Add "Community" section to docs, minor cleanup <a href="https://github.com/encode/django-rest-framework/issues/5993">#5993</a></li>
<li>Moved guardian imports out of compat <a href="https://github.com/encode/django-rest-framework/issues/6054">#6054</a></li>
<li>Deprecate the <code>DjangoObjectPermissionsFilter</code> class, moved to the <code>djangorestframework-guardian</code> package. <a href="https://github.com/encode/django-rest-framework/issues/6075">#6075</a></li>
<li>Drop Django 1.10 support <a href="https://github.com/encode/django-rest-framework/issues/5657">#5657</a></li>
<li>Only catch TypeError/ValueError for object lookups <a href="https://github.com/encode/django-rest-framework/issues/6028">#6028</a></li>
<li>Handle models without .objects manager in ModelSerializer. <a href="https://github.com/encode/django-rest-framework/issues/6111">#6111</a></li>
<li>Improve ModelSerializer.create() error message. <a href="https://github.com/encode/django-rest-framework/issues/6112">#6112</a></li>
<li>Fix CSRF cookie check failure when using session auth with django 1.11.6+ <a href="https://github.com/encode/django-rest-framework/issues/6113">#6113</a></li>
<li>Updated JWT docs. <a href="https://github.com/encode/django-rest-framework/issues/6138">#6138</a></li>
<li>Fix autoescape not getting passed to urlize_quoted_links filter <a href="https://github.com/encode/django-rest-framework/issues/6191">#6191</a></li>
</ul>
<h2 id="38x-series"><a class="toclink" href="#38x-series">3.8.x series</a></h2>
<h3 id="382"><a class="toclink" href="#382">3.8.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/68?closed=1">6th April 2018</a></p>
<ul>
<li>Fix <code>read_only</code> + <code>default</code> <code>unique_together</code> validation. <a href="https://github.com/encode/django-rest-framework/issues/5922">#5922</a></li>
<li>authtoken.views import coreapi from rest_framework.compat, not directly. <a href="https://github.com/encode/django-rest-framework/issues/5921">#5921</a></li>
<li>Docs: Add missing argument 'detail' to Route <a href="https://github.com/encode/django-rest-framework/issues/5920">#5920</a></li>
</ul>
<h3 id="381"><a class="toclink" href="#381">3.8.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/67?closed=1">4th April 2018</a></p>
<ul>
<li>
<p>Use old <code>url_name</code> behavior in route decorators <a href="https://github.com/encode/django-rest-framework/issues/5915">#5915</a></p>
<p>For <code>list_route</code> and <code>detail_route</code> maintain the old behavior of <code>url_name</code>,
basing it on the <code>url_path</code> instead of the function name.</p>
</li>
</ul>
<h3 id="380"><a class="toclink" href="#380">3.8.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/61?closed=1">3rd April 2018</a></p>
<ul>
<li>
<p><strong>Breaking Change</strong>: Alter <code>read_only</code> plus <code>default</code> behaviour. <a href="https://github.com/encode/django-rest-framework/issues/5886">#5886</a></p>
<p><code>read_only</code> fields will now <strong>always</strong> be excluded from writable fields.</p>
<p>Previously <code>read_only</code> fields with a <code>default</code> value would use the <code>default</code> for create and update operations.</p>
<p>In order to maintain the old behaviour you may need to pass the value of <code>read_only</code> fields when calling <code>save()</code> in
the view:</p>
<pre><code>def perform_create(self, serializer):
serializer.save(owner=self.request.user)
</code></pre>
<p>Alternatively you may override <code>save()</code> or <code>create()</code> or <code>update()</code> on the serialiser as appropriate.</p>
</li>
<li>
<p>Correct allow_null behaviour when required=False <a href="https://github.com/encode/django-rest-framework/issues/5888">#5888</a></p>
<p>Without an explicit <code>default</code>, <code>allow_null</code> implies a default of <code>null</code> for outgoing serialisation. Previously such
fields were being skipped when read-only or otherwise not required.</p>
<p><strong>Possible backwards compatibility break</strong> if you were relying on such fields being excluded from the outgoing
representation. In order to restore the old behaviour you can override <code>data</code> to exclude the field when <code>None</code>.</p>
<p>For example:</p>
<pre><code>@property
def data(self):
"""
Drop `maybe_none` field if None.
"""
data = super().data
if 'maybe_none' in data and data['maybe_none'] is None:
del data['maybe_none']
return data
</code></pre>
</li>
<li>
<p>Refactor dynamic route generation and improve viewset action introspectibility. <a href="https://github.com/encode/django-rest-framework/issues/5705">#5705</a></p>
<p><code>ViewSet</code>s have been provided with new attributes and methods that allow
it to introspect its set of actions and the details of the current action.</p>
<ul>
<li>Merged <code>list_route</code> and <code>detail_route</code> into a single <code>action</code> decorator.</li>
<li>Get all extra actions on a <code>ViewSet</code> with <code>.get_extra_actions()</code>.</li>
<li>Extra actions now set the <code>url_name</code> and <code>url_path</code> on the decorated method.</li>
<li><code>url_name</code> is now based on the function name, instead of the <code>url_path</code>,
as the path is not always suitable (e.g., capturing arguments in the path).</li>
<li>Enable action url reversing through <code>.reverse_action()</code> method (added in 3.7.4)</li>
<li>Example reverse call: <code>self.reverse_action(self.custom_action.url_name)</code></li>
<li>Add <code>detail</code> initkwarg to indicate if the current action is operating on a
collection or a single instance.</li>
</ul>
<p>Additional changes:</p>
<ul>
<li>Deprecated <code>list_route</code> &amp; <code>detail_route</code> in favor of <code>action</code> decorator with <code>detail</code> boolean.</li>
<li>Deprecated dynamic list/detail route variants in favor of <code>DynamicRoute</code> with <code>detail</code> boolean.</li>
<li>Refactored the router's dynamic route generation.</li>
<li><code>list_route</code> and <code>detail_route</code> maintain the old behavior of <code>url_name</code>,
basing it on the <code>url_path</code> instead of the function name.</li>
</ul>
</li>
<li>
<p>Fix formatting of the 3.7.4 release note <a href="https://github.com/encode/django-rest-framework/issues/5704">#5704</a></p>
</li>
<li>Docs: Update DRF Writable Nested Serializers references <a href="https://github.com/encode/django-rest-framework/issues/5711">#5711</a></li>
<li>Docs: Fixed typo in auth URLs example. <a href="https://github.com/encode/django-rest-framework/issues/5713">#5713</a></li>
<li>Improve composite field child errors <a href="https://github.com/encode/django-rest-framework/issues/5655">#5655</a></li>
<li>Disable HTML inputs for dict/list fields <a href="https://github.com/encode/django-rest-framework/issues/5702">#5702</a></li>
<li>Fix typo in HostNameVersioning doc <a href="https://github.com/encode/django-rest-framework/issues/5709">#5709</a></li>
<li>Use rsplit to get module and classname for imports <a href="https://github.com/encode/django-rest-framework/issues/5712">#5712</a></li>
<li>Formalize URLPatternsTestCase <a href="https://github.com/encode/django-rest-framework/issues/5703">#5703</a></li>
<li>Add exception translation test <a href="https://github.com/encode/django-rest-framework/issues/5700">#5700</a></li>
<li>Test staticfiles <a href="https://github.com/encode/django-rest-framework/issues/5701">#5701</a></li>
<li>Add drf-yasg to documentation and schema 3rd party packages <a href="https://github.com/encode/django-rest-framework/issues/5720">#5720</a></li>
<li>Remove unused <code>compat._resolve_model()</code> <a href="https://github.com/encode/django-rest-framework/issues/5733">#5733</a></li>
<li>Drop compat workaround for unsupported Python 3.2 <a href="https://github.com/encode/django-rest-framework/issues/5734">#5734</a></li>
<li>Prefer <code>iter(dict)</code> over <code>iter(dict.keys())</code> <a href="https://github.com/encode/django-rest-framework/issues/5736">#5736</a></li>
<li>Pass <code>python_requires</code> argument to setuptools <a href="https://github.com/encode/django-rest-framework/issues/5739">#5739</a></li>
<li>Remove unused links from docs <a href="https://github.com/encode/django-rest-framework/issues/5735">#5735</a></li>
<li>Prefer https protocol for links in docs when available <a href="https://github.com/encode/django-rest-framework/issues/5729">#5729</a></li>
<li>Add HStoreField, postgres fields tests <a href="https://github.com/encode/django-rest-framework/issues/5654">#5654</a></li>
<li>Always fully qualify ValidationError in docs <a href="https://github.com/encode/django-rest-framework/issues/5751">#5751</a></li>
<li>Remove unreachable code from ManualSchema <a href="https://github.com/encode/django-rest-framework/issues/5766">#5766</a></li>
<li>Allowed customising API documentation code samples <a href="https://github.com/encode/django-rest-framework/issues/5752">#5752</a></li>
<li>Updated docs to use <code>pip show</code> <a href="https://github.com/encode/django-rest-framework/issues/5757">#5757</a></li>
<li>Load 'static' instead of 'staticfiles' in templates <a href="https://github.com/encode/django-rest-framework/issues/5773">#5773</a></li>
<li>Fixed a typo in <code>fields</code> docs <a href="https://github.com/encode/django-rest-framework/issues/5783">#5783</a></li>
<li>Refer to "NamespaceVersioning" instead of "NamespacedVersioning" in the documentation <a href="https://github.com/encode/django-rest-framework/issues/5754">#5754</a></li>
<li>ErrorDetail: add <code>__eq__</code>/<code>__ne__</code> and <code>__repr__</code> <a href="https://github.com/encode/django-rest-framework/issues/5787">#5787</a></li>
<li>Replace <code>background-attachment: fixed</code> in docs <a href="https://github.com/encode/django-rest-framework/issues/5777">#5777</a></li>
<li>Make 404 &amp; 403 responses consistent with <code>exceptions.APIException</code> output <a href="https://github.com/encode/django-rest-framework/issues/5763">#5763</a></li>
<li>Small fix to API documentation: schemas <a href="https://github.com/encode/django-rest-framework/issues/5796">#5796</a></li>
<li>Fix schema generation for PrimaryKeyRelatedField <a href="https://github.com/encode/django-rest-framework/issues/5764">#5764</a></li>
<li>Represent serializer DictField as an Object in schema <a href="https://github.com/encode/django-rest-framework/issues/5765">#5765</a></li>
<li>Added docs example reimplementing ObtainAuthToken <a href="https://github.com/encode/django-rest-framework/issues/5802">#5802</a></li>
<li>Add schema to the ObtainAuthToken view <a href="https://github.com/encode/django-rest-framework/issues/5676">#5676</a></li>
<li>Fix request formdata handling <a href="https://github.com/encode/django-rest-framework/issues/5800">#5800</a></li>
<li>Fix authtoken views imports <a href="https://github.com/encode/django-rest-framework/issues/5818">#5818</a></li>
<li>Update pytest, isort <a href="https://github.com/encode/django-rest-framework/issues/5815">#5815</a> <a href="https://github.com/encode/django-rest-framework/issues/5817">#5817</a> <a href="https://github.com/encode/django-rest-framework/issues/5894">#5894</a></li>
<li>Fixed active timezone handling for non ISO8601 datetimes. <a href="https://github.com/encode/django-rest-framework/issues/5833">#5833</a></li>
<li>Made TemplateHTMLRenderer render IntegerField inputs when value is <code>0</code>. <a href="https://github.com/encode/django-rest-framework/issues/5834">#5834</a></li>
<li>Corrected endpoint in tutorial instructions <a href="https://github.com/encode/django-rest-framework/issues/5835">#5835</a></li>
<li>Add Django Rest Framework Role Filters to Third party packages <a href="https://github.com/encode/django-rest-framework/issues/5809">#5809</a></li>
<li>Use single copy of static assets. Update jQuery <a href="https://github.com/encode/django-rest-framework/issues/5823">#5823</a></li>
<li>Changes ternary conditionals to be PEP308 compliant <a href="https://github.com/encode/django-rest-framework/issues/5827">#5827</a></li>
<li>Added links to 'A Todo List API with React' and 'Blog API' tutorials <a href="https://github.com/encode/django-rest-framework/issues/5837">#5837</a></li>
<li>Fix comment typo in ModelSerializer <a href="https://github.com/encode/django-rest-framework/issues/5844">#5844</a></li>
<li>Add admin to installed apps to avoid test failures. <a href="https://github.com/encode/django-rest-framework/issues/5870">#5870</a></li>
<li>Fixed schema for UUIDField in SimpleMetadata. <a href="https://github.com/encode/django-rest-framework/issues/5872">#5872</a></li>
<li>Corrected docs on router include with namespaces. <a href="https://github.com/encode/django-rest-framework/issues/5843">#5843</a></li>
<li>Test using model objects for dotted source default <a href="https://github.com/encode/django-rest-framework/issues/5880">#5880</a></li>
<li>Allow traversing nullable related fields <a href="https://github.com/encode/django-rest-framework/issues/5849">#5849</a></li>
<li>Added: Tutorial: Django REST with React (Django 2.0) <a href="https://github.com/encode/django-rest-framework/issues/5891">#5891</a></li>
<li>Add <code>LimitOffsetPagination.get_count</code> to allow method override <a href="https://github.com/encode/django-rest-framework/issues/5846">#5846</a></li>
<li>Don't show hidden fields in metadata <a href="https://github.com/encode/django-rest-framework/issues/5854">#5854</a></li>
<li>Enable OrderingFilter to handle an empty tuple (or list) for the 'ordering' field. <a href="https://github.com/encode/django-rest-framework/issues/5899">#5899</a></li>
<li>Added generic 500 and 400 JSON error handlers. <a href="https://github.com/encode/django-rest-framework/issues/5904">#5904</a></li>
</ul>
<h2 id="37x-series"><a class="toclink" href="#37x-series">3.7.x series</a></h2>
<h3 id="377"><a class="toclink" href="#377">3.7.7</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/65?closed=1">21st December 2017</a></p>
<ul>
<li>Fix typo to include *.mo locale files to packaging. <a href="https://github.com/encode/django-rest-framework/issues/5697">#5697</a>, <a href="https://github.com/encode/django-rest-framework/issues/5695">#5695</a></li>
</ul>
<h3 id="376"><a class="toclink" href="#376">3.7.6</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/64?closed=1">21st December 2017</a></p>
<ul>
<li>Add missing *.ico icon files to packaging.</li>
</ul>
<h3 id="375"><a class="toclink" href="#375">3.7.5</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/63?closed=1">21st December 2017</a></p>
<ul>
<li>Add missing *.woff2 font files to packaging. <a href="https://github.com/encode/django-rest-framework/issues/5692">#5692</a></li>
<li>Add missing *.mo locale files to packaging. <a href="https://github.com/encode/django-rest-framework/issues/5695">#5695</a>, <a href="https://github.com/encode/django-rest-framework/issues/5696">#5696</a></li>
</ul>
<h3 id="374"><a class="toclink" href="#374">3.7.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/62?closed=1">20th December 2017</a></p>
<ul>
<li>
<p>Schema: Extract method for <code>manual_fields</code> processing <a href="https://github.com/encode/django-rest-framework/issues/5633">#5633</a></p>
<p>Allows for easier customisation of <code>manual_fields</code> processing, for example
to provide per-method manual fields. <code>AutoSchema</code> adds <code>get_manual_fields</code>,
as the intended override point, and a utility method <code>update_fields</code>, to
handle by-name field replacement from a list, which, in general, you are not
expected to override.</p>
<p>Note: <code>AutoSchema.__init__</code> now ensures <code>manual_fields</code> is a list.
Previously may have been stored internally as <code>None</code>.</p>
</li>
<li>
<p>Remove ulrparse compatability shim; use six instead <a href="https://github.com/encode/django-rest-framework/issues/5579">#5579</a></p>
</li>
<li>Drop compat wrapper for <code>TimeDelta.total_seconds()</code> <a href="https://github.com/encode/django-rest-framework/issues/5577">#5577</a></li>
<li>Clean up all whitespace throughout project <a href="https://github.com/encode/django-rest-framework/issues/5578">#5578</a></li>
<li>Compat cleanup <a href="https://github.com/encode/django-rest-framework/issues/5581">#5581</a></li>
<li>Add pygments CSS block in browsable API views <a href="https://github.com/encode/django-rest-framework/issues/5584">#5584</a> <a href="https://github.com/encode/django-rest-framework/issues/5587">#5587</a></li>
<li>Remove <code>set_rollback()</code> from compat <a href="https://github.com/encode/django-rest-framework/issues/5591">#5591</a></li>
<li>Fix request body/POST access <a href="https://github.com/encode/django-rest-framework/issues/5590">#5590</a></li>
<li>Rename test to reference correct issue <a href="https://github.com/encode/django-rest-framework/issues/5610">#5610</a></li>
<li>Documentation Fixes <a href="https://github.com/encode/django-rest-framework/issues/5611">#5611</a> <a href="https://github.com/encode/django-rest-framework/issues/5612">#5612</a></li>
<li>Remove references to unsupported Django versions in docs and code <a href="https://github.com/encode/django-rest-framework/issues/5602">#5602</a></li>
<li>Test Serializer exclude for declared fields <a href="https://github.com/encode/django-rest-framework/issues/5599">#5599</a></li>
<li>Fixed schema generation for filter backends <a href="https://github.com/encode/django-rest-framework/issues/5613">#5613</a></li>
<li>Minor cleanup for ModelSerializer tests <a href="https://github.com/encode/django-rest-framework/issues/5598">#5598</a></li>
<li>Reimplement request attribute access w/ <code>__getattr__</code> <a href="https://github.com/encode/django-rest-framework/issues/5617">#5617</a></li>
<li>Fixed SchemaJSRenderer renders invalid Javascript <a href="https://github.com/encode/django-rest-framework/issues/5607">#5607</a></li>
<li>Make Django 2.0 support official/explicit <a href="https://github.com/encode/django-rest-framework/issues/5619">#5619</a></li>
<li>Perform type check on passed request argument <a href="https://github.com/encode/django-rest-framework/issues/5618">#5618</a></li>
<li>Fix AttributeError hiding on request authenticators <a href="https://github.com/encode/django-rest-framework/issues/5600">#5600</a></li>
<li>Update test requirements <a href="https://github.com/encode/django-rest-framework/issues/5626">#5626</a></li>
<li>Docs: <code>Serializer._declared_fields</code> enable modifying fields on a serializer <a href="https://github.com/encode/django-rest-framework/issues/5629">#5629</a></li>
<li>Fix packaging <a href="https://github.com/encode/django-rest-framework/issues/5624">#5624</a></li>
<li>Fix readme rendering for PyPI, add readme build to CI <a href="https://github.com/encode/django-rest-framework/issues/5625">#5625</a></li>
<li>Update tutorial <a href="https://github.com/encode/django-rest-framework/issues/5622">#5622</a></li>
<li>Non-required fields with <code>allow_null=True</code> should not imply a default value <a href="https://github.com/encode/django-rest-framework/issues/5639">#5639</a></li>
<li>Docs: Add <code>allow_null</code> serialization output note <a href="https://github.com/encode/django-rest-framework/issues/5641">#5641</a></li>
<li>Update to use the Django 2.0 release in tox.ini <a href="https://github.com/encode/django-rest-framework/issues/5645">#5645</a></li>
<li>Fix <code>Serializer.data</code> for Browsable API rendering when provided invalid <code>data</code> <a href="https://github.com/encode/django-rest-framework/issues/5646">#5646</a></li>
<li>Docs: Note AutoSchema limitations on bare APIView <a href="https://github.com/encode/django-rest-framework/issues/5649">#5649</a></li>
<li>Add <code>.basename</code> and <code>.reverse_action()</code> to ViewSet <a href="https://github.com/encode/django-rest-framework/issues/5648">#5648</a></li>
<li>Docs: Fix typos in serializers documentation <a href="https://github.com/encode/django-rest-framework/issues/5652">#5652</a></li>
<li>Fix <code>override_settings</code> compat <a href="https://github.com/encode/django-rest-framework/issues/5668">#5668</a></li>
<li>Add DEFAULT_SCHEMA_CLASS setting <a href="https://github.com/encode/django-rest-framework/issues/5658">#5658</a></li>
<li>Add docs note re generated BooleanField being <code>required=False</code> <a href="https://github.com/encode/django-rest-framework/issues/5665">#5665</a></li>
<li>Add 'dist' build <a href="https://github.com/encode/django-rest-framework/issues/5656">#5656</a></li>
<li>Fix typo in docstring <a href="https://github.com/encode/django-rest-framework/issues/5678">#5678</a></li>
<li>Docs: Add <code>UNAUTHENTICATED_USER = None</code> note <a href="https://github.com/encode/django-rest-framework/issues/5679">#5679</a></li>
<li>Update OPTIONS example from “Documenting Your API” <a href="https://github.com/encode/django-rest-framework/issues/5680">#5680</a></li>
<li>Docs: Add note on object permissions for FBVs <a href="https://github.com/encode/django-rest-framework/issues/5681">#5681</a></li>
<li>Docs: Add example to <code>to_representation</code> docs <a href="https://github.com/encode/django-rest-framework/issues/5682">#5682</a></li>
<li>Add link to Classy DRF in docs <a href="https://github.com/encode/django-rest-framework/issues/5683">#5683</a></li>
<li>Document ViewSet.action <a href="https://github.com/encode/django-rest-framework/issues/5685">#5685</a></li>
<li>Fix schema docs typo <a href="https://github.com/encode/django-rest-framework/issues/5687">#5687</a></li>
<li>Fix URL pattern parsing in schema generation <a href="https://github.com/encode/django-rest-framework/issues/5689">#5689</a></li>
<li>Add example using <code>source=*</code> to custom field docs. <a href="https://github.com/encode/django-rest-framework/issues/5688">#5688</a></li>
<li>Fix format_suffix_patterns behavior with Django 2 path() routes <a href="https://github.com/encode/django-rest-framework/issues/5691">#5691</a></li>
</ul>
<h3 id="373"><a class="toclink" href="#373">3.7.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/60?closed=1">6th November 2017</a></p>
<ul>
<li>Fix <code>AppRegistryNotReady</code> error from contrib.auth view imports <a href="https://github.com/encode/django-rest-framework/issues/5567">#5567</a></li>
</ul>
<h3 id="372"><a class="toclink" href="#372">3.7.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/59?closed=1">6th November 2017</a></p>
<ul>
<li>Fixed Django 2.1 compatibility due to removal of django.contrib.auth.login()/logout() views. <a href="https://github.com/encode/django-rest-framework/issues/5510">#5510</a></li>
<li>Add missing import for TextLexer. <a href="https://github.com/encode/django-rest-framework/issues/5512">#5512</a></li>
<li>Adding examples and documentation for caching <a href="https://github.com/encode/django-rest-framework/issues/5514">#5514</a></li>
<li>Include date and date-time format for schema generation <a href="https://github.com/encode/django-rest-framework/issues/5511">#5511</a></li>
<li>Use triple backticks for markdown code blocks <a href="https://github.com/encode/django-rest-framework/issues/5513">#5513</a></li>
<li>Interactive docs - make bottom sidebar items sticky <a href="https://github.com/encode/django-rest-framework/issues/5516">#5516</a></li>
<li>Clarify pagination system check <a href="https://github.com/encode/django-rest-framework/issues/5524">#5524</a></li>
<li>Stop JSONBoundField mangling invalid JSON <a href="https://github.com/encode/django-rest-framework/issues/5527">#5527</a></li>
<li>Have JSONField render as textarea in Browsable API <a href="https://github.com/encode/django-rest-framework/issues/5530">#5530</a></li>
<li>Schema: Exclude OPTIONS/HEAD for ViewSet actions <a href="https://github.com/encode/django-rest-framework/issues/5532">#5532</a></li>
<li>Fix ordering for dotted sources <a href="https://github.com/encode/django-rest-framework/issues/5533">#5533</a></li>
<li>Fix: Fields with <code>allow_null=True</code> should imply a default serialization value <a href="https://github.com/encode/django-rest-framework/issues/5518">#5518</a></li>
<li>Ensure Location header is strictly a 'str', not subclass. <a href="https://github.com/encode/django-rest-framework/issues/5544">#5544</a></li>
<li>Add import to example in api-guide/parsers <a href="https://github.com/encode/django-rest-framework/issues/5547">#5547</a></li>
<li>Catch OverflowError for "out of range" datetimes <a href="https://github.com/encode/django-rest-framework/issues/5546">#5546</a></li>
<li>Add djangorestframework-rapidjson to third party packages <a href="https://github.com/encode/django-rest-framework/issues/5549">#5549</a></li>
<li>Increase test coverage for <code>drf_create_token</code> command <a href="https://github.com/encode/django-rest-framework/issues/5550">#5550</a></li>
<li>Add trove classifier for Python 3.6 support. <a href="https://github.com/encode/django-rest-framework/issues/5555">#5555</a></li>
<li>Add pip cache support to the Travis CI configuration <a href="https://github.com/encode/django-rest-framework/issues/5556">#5556</a></li>
<li>Rename [<code>wheel</code>] section to [<code>bdist_wheel</code>] as the former is legacy <a href="https://github.com/encode/django-rest-framework/issues/5557">#5557</a></li>
<li>Fix invalid escape sequence deprecation warnings <a href="https://github.com/encode/django-rest-framework/issues/5560">#5560</a></li>
<li>Add interactive docs error template <a href="https://github.com/encode/django-rest-framework/issues/5548">#5548</a></li>
<li>Add rounding parameter to DecimalField <a href="https://github.com/encode/django-rest-framework/issues/5562">#5562</a></li>
<li>Fix all BytesWarning caught during tests <a href="https://github.com/encode/django-rest-framework/issues/5561">#5561</a></li>
<li>Use dict and set literals instead of calls to dict() and set() <a href="https://github.com/encode/django-rest-framework/issues/5559">#5559</a></li>
<li>Change ImageField validation pattern, use validators from DjangoImageField <a href="https://github.com/encode/django-rest-framework/issues/5539">#5539</a></li>
<li>Fix processing unicode symbols in query_string by Python 2 <a href="https://github.com/encode/django-rest-framework/issues/5552">#5552</a></li>
</ul>
<h3 id="371"><a class="toclink" href="#371">3.7.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/58?closed=1">16th October 2017</a></p>
<ul>
<li>Fix Interactive documentation always uses false for boolean fields in requests <a href="https://github.com/encode/django-rest-framework/issues/5492">#5492</a></li>
<li>Improve compatibility with Django 2.0 alpha. <a href="https://github.com/encode/django-rest-framework/issues/5500">#5500</a> <a href="https://github.com/encode/django-rest-framework/issues/5503">#5503</a></li>
<li>Improved handling of schema naming collisions <a href="https://github.com/encode/django-rest-framework/issues/5486">#5486</a></li>
<li>Added additional docs and tests around providing a default value for dotted <code>source</code> fields <a href="https://github.com/encode/django-rest-framework/issues/5489">#5489</a></li>
</ul>
<h3 id="370"><a class="toclink" href="#370">3.7.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.7.0+Release%22">6th October 2017</a></p>
<ul>
<li>Fix <code>DjangoModelPermissions</code> to ensure user authentication before calling the view's <code>get_queryset()</code> method. As a side effect, this changes the order of the HTTP method permissions and authentication checks, and 405 responses will only be returned when authenticated. If you want to replicate the old behavior, see the PR for details. <a href="https://github.com/encode/django-rest-framework/issues/5376">#5376</a></li>
<li>Deprecated <code>exclude_from_schema</code> on <code>APIView</code> and <code>api_view</code> decorator. Set <code>schema = None</code> or <code>@schema(None)</code> as appropriate. <a href="https://github.com/encode/django-rest-framework/issues/5422">#5422</a></li>
<li>
<p>Timezone-aware <code>DateTimeField</code>s now respect active or default <code>timezone</code> during serialization, instead of always using UTC. <a href="https://github.com/encode/django-rest-framework/issues/5435">#5435</a></p>
<p>Resolves inconsistency whereby instances were serialised with supplied datetime for <code>create</code> but UTC for <code>retrieve</code>. <a href="https://github.com/encode/django-rest-framework/issues/3732">#3732</a></p>
<p><strong>Possible backwards compatibility break</strong> if you were relying on datetime strings being UTC. Have client interpret datetimes or <a href="https://docs.djangoproject.com/en/1.11/topics/i18n/timezones/#default-time-zone-and-current-time-zone">set default or active timezone (docs)</a> to UTC if needed.</p>
</li>
<li>
<p>Removed DjangoFilterBackend inline with deprecation policy. Use <code>django_filters.rest_framework.FilterSet</code> and/or <code>django_filters.rest_framework.DjangoFilterBackend</code> instead. <a href="https://github.com/encode/django-rest-framework/issues/5273">#5273</a></p>
</li>
<li>Don't strip microseconds from <code>time</code> when encoding. Makes consistent with <code>datetime</code>.
<strong>BC Change</strong>: Previously only milliseconds were encoded. <a href="https://github.com/encode/django-rest-framework/issues/5440">#5440</a></li>
<li>Added <code>STRICT_JSON</code> setting (default <code>True</code>) to raise exception for the extended float values (<code>nan</code>, <code>inf</code>, <code>-inf</code>) accepted by Python's <code>json</code> module.
<strong>BC Change</strong>: Previously these values would converted to corresponding strings. Set <code>STRICT_JSON</code> to <code>False</code> to restore the previous behaviour. <a href="https://github.com/encode/django-rest-framework/issues/5265">#5265</a></li>
<li>Add support for <code>page_size</code> parameter in CursorPaginator class <a href="https://github.com/encode/django-rest-framework/issues/5250">#5250</a></li>
<li>Make <code>DEFAULT_PAGINATION_CLASS</code> <code>None</code> by default.
<strong>BC Change</strong>: If your were <strong>just</strong> setting <code>PAGE_SIZE</code> to enable pagination you will need to add <code>DEFAULT_PAGINATION_CLASS</code>.
The previous default was <code>rest_framework.pagination.PageNumberPagination</code>. There is a system check warning to catch this case. You may silence that if you are setting pagination class on a per-view basis. <a href="https://github.com/encode/django-rest-framework/issues/5170">#5170</a></li>
<li>Catch <code>APIException</code> from <code>get_serializer_fields</code> in schema generation. <a href="https://github.com/encode/django-rest-framework/issues/5443">#5443</a></li>
<li>Allow custom authentication and permission classes when using <code>include_docs_urls</code> <a href="https://github.com/encode/django-rest-framework/issues/5448">#5448</a></li>
<li>Defer translated string evaluation on validators. <a href="https://github.com/encode/django-rest-framework/issues/5452">#5452</a></li>
<li>Added default value for 'detail' param into 'ValidationError' exception <a href="https://github.com/encode/django-rest-framework/issues/5342">#5342</a></li>
<li>Adjust schema get_filter_fields rules to match framework <a href="https://github.com/encode/django-rest-framework/issues/5454">#5454</a></li>
<li>Updated test matrix to add Django 2.0 and drop Django 1.8 &amp; 1.9
<strong>BC Change</strong>: This removes Django 1.8 and Django 1.9 from Django REST Framework supported versions. <a href="https://github.com/encode/django-rest-framework/issues/5457">#5457</a></li>
<li>Fixed a deprecation warning in serializers.ModelField <a href="https://github.com/encode/django-rest-framework/issues/5058">#5058</a></li>
<li>Added a more explicit error message when <code>get_queryset</code> returned <code>None</code> <a href="https://github.com/encode/django-rest-framework/issues/5348">#5348</a></li>
<li>Fix docs for Response <code>data</code> description <a href="https://github.com/encode/django-rest-framework/issues/5361">#5361</a></li>
<li>Fix <strong>pycache</strong>/.pyc excludes when packaging <a href="https://github.com/encode/django-rest-framework/issues/5373">#5373</a></li>
<li>Fix default value handling for dotted sources <a href="https://github.com/encode/django-rest-framework/issues/5375">#5375</a></li>
<li>Ensure content_type is set when passing empty body to RequestFactory <a href="https://github.com/encode/django-rest-framework/issues/5351">#5351</a></li>
<li>Fix ErrorDetail Documentation <a href="https://github.com/encode/django-rest-framework/issues/5380">#5380</a></li>
<li>Allow optional content in the generic content form <a href="https://github.com/encode/django-rest-framework/issues/5372">#5372</a></li>
<li>Updated supported values for the NullBooleanField <a href="https://github.com/encode/django-rest-framework/issues/5387">#5387</a></li>
<li>Fix ModelSerializer custom named fields with source on model <a href="https://github.com/encode/django-rest-framework/issues/5388">#5388</a></li>
<li>Fixed the MultipleFieldLookupMixin documentation example to properly check for object level permission <a href="https://github.com/encode/django-rest-framework/issues/5398">#5398</a></li>
<li>Update get_object() example in permissions.md <a href="https://github.com/encode/django-rest-framework/issues/5401">#5401</a></li>
<li>Fix authtoken management command <a href="https://github.com/encode/django-rest-framework/issues/5415">#5415</a></li>
<li>Fix schema generation markdown <a href="https://github.com/encode/django-rest-framework/issues/5421">#5421</a></li>
<li>Allow <code>ChoiceField.choices</code> to be set dynamically <a href="https://github.com/encode/django-rest-framework/issues/5426">#5426</a></li>
<li>Add the project layout to the quickstart <a href="https://github.com/encode/django-rest-framework/issues/5434">#5434</a></li>
<li>Reuse 'apply_markdown' function in 'render_markdown' templatetag <a href="https://github.com/encode/django-rest-framework/issues/5469">#5469</a></li>
<li>Added links to <code>drf-openapi</code> package in docs <a href="https://github.com/encode/django-rest-framework/issues/5470">#5470</a></li>
<li>Added docstrings code highlighting with pygments <a href="https://github.com/encode/django-rest-framework/issues/5462">#5462</a></li>
<li>Fixed documentation rendering for views named <code>data</code> <a href="https://github.com/encode/django-rest-framework/issues/5472">#5472</a></li>
<li>Docs: Clarified 'to_internal_value()' validation behavior <a href="https://github.com/encode/django-rest-framework/issues/5466">#5466</a></li>
<li>Fix missing six.text_type() call on APIException.<strong>str</strong> <a href="https://github.com/encode/django-rest-framework/issues/5476">#5476</a></li>
<li>Document documentation.py <a href="https://github.com/encode/django-rest-framework/issues/5478">#5478</a></li>
<li>Fix naming collisions in Schema Generation <a href="https://github.com/encode/django-rest-framework/issues/5464">#5464</a></li>
<li>Call Django's authenticate function with the request object <a href="https://github.com/encode/django-rest-framework/issues/5295">#5295</a></li>
<li>Update coreapi JS to 0.1.1 <a href="https://github.com/encode/django-rest-framework/issues/5479">#5479</a></li>
<li>Have <code>is_list_view</code> recognise RetrieveModel… views <a href="https://github.com/encode/django-rest-framework/issues/5480">#5480</a></li>
<li>Remove Django 1.8 &amp; 1.9 compatibility code <a href="https://github.com/encode/django-rest-framework/issues/5481">#5481</a></li>
<li>Remove deprecated schema code from DefaultRouter <a href="https://github.com/encode/django-rest-framework/issues/5482">#5482</a></li>
<li>Refactor schema generation to allow per-view customisation.
<strong>BC Change</strong>: <code>SchemaGenerator.get_serializer_fields</code> has been refactored as <code>AutoSchema.get_serializer_fields</code> and drops the <code>view</code> argument [#5354][gh5354]</li>
</ul>
<h2 id="36x-series"><a class="toclink" href="#36x-series">3.6.x series</a></h2>
<h3 id="364"><a class="toclink" href="#364">3.6.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.4+Release%22">21st August 2017</a></p>
<ul>
<li>Ignore any invalidly formed query parameters for OrderingFilter. <a href="https://github.com/encode/django-rest-framework/issues/5131">#5131</a></li>
<li>Improve memory footprint when reading large JSON requests. <a href="https://github.com/encode/django-rest-framework/issues/5147">#5147</a></li>
<li>Fix schema generation for pagination. <a href="https://github.com/encode/django-rest-framework/issues/5161">#5161</a></li>
<li>Fix exception when <code>HTML_CUTOFF</code> is set to <code>None</code>. <a href="https://github.com/encode/django-rest-framework/issues/5174">#5174</a></li>
<li>Fix browsable API not supporting <code>multipart/form-data</code> correctly. <a href="https://github.com/encode/django-rest-framework/issues/5176">#5176</a></li>
<li>Fixed <code>test_hyperlinked_related_lookup_url_encoded_exists</code>. <a href="https://github.com/encode/django-rest-framework/issues/5179">#5179</a></li>
<li>Make sure max_length is in FileField kwargs. <a href="https://github.com/encode/django-rest-framework/issues/5186">#5186</a></li>
<li>Fix <code>list_route</code> &amp; <code>detail_route</code> with kwargs contains curly bracket in <code>url_path</code> <a href="https://github.com/encode/django-rest-framework/issues/5187">#5187</a></li>
<li>Add Django manage command to create a DRF user Token. <a href="https://github.com/encode/django-rest-framework/issues/5188">#5188</a></li>
<li>Ensure API documentation templates do not check for user authentication <a href="https://github.com/encode/django-rest-framework/issues/5162">#5162</a></li>
<li>Fix special case where OneToOneField is also primary key. <a href="https://github.com/encode/django-rest-framework/issues/5192">#5192</a></li>
<li>Added aria-label and a new region for accessibility purposes in base.html <a href="https://github.com/encode/django-rest-framework/issues/5196">#5196</a></li>
<li>Quote nested API parameters in api.js. <a href="https://github.com/encode/django-rest-framework/issues/5214">#5214</a></li>
<li>Set ViewSet args/kwargs/request before dispatch. <a href="https://github.com/encode/django-rest-framework/issues/5229">#5229</a></li>
<li>Added unicode support to SlugField. <a href="https://github.com/encode/django-rest-framework/issues/5231">#5231</a></li>
<li>Fix HiddenField appears in Raw Data form initial content. <a href="https://github.com/encode/django-rest-framework/issues/5259">#5259</a></li>
<li>Raise validation error on invalid timezone parsing. <a href="https://github.com/encode/django-rest-framework/issues/5261">#5261</a></li>
<li>Fix SearchFilter to-many behavior/performance. <a href="https://github.com/encode/django-rest-framework/issues/5264">#5264</a></li>
<li>Simplified chained comparisons and minor code fixes. <a href="https://github.com/encode/django-rest-framework/issues/5276">#5276</a></li>
<li>RemoteUserAuthentication, docs, and tests. <a href="https://github.com/encode/django-rest-framework/issues/5306">#5306</a></li>
<li>Revert "Cached the field's root and context property" <a href="https://github.com/encode/django-rest-framework/issues/5313">#5313</a></li>
<li>Fix introspection of list field in schema. <a href="https://github.com/encode/django-rest-framework/issues/5326">#5326</a></li>
<li>Fix interactive docs for multiple nested and extra methods. <a href="https://github.com/encode/django-rest-framework/issues/5334">#5334</a></li>
<li>Fix/remove undefined template var "schema" <a href="https://github.com/encode/django-rest-framework/issues/5346">#5346</a></li>
</ul>
<h3 id="363"><a class="toclink" href="#363">3.6.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.3+Release%22">12th May 2017</a></p>
<ul>
<li>Raise 404 if a URL lookup results in ValidationError. (<a href="https://github.com/encode/django-rest-framework/issues/5126">#5126</a>)</li>
<li>Honor http_method_names on class based view, when generating API schemas. (<a href="https://github.com/encode/django-rest-framework/issues/5085">#5085</a>)</li>
<li>Allow overridden <code>get_limit</code> in LimitOffsetPagination to return all records. (<a href="https://github.com/encode/django-rest-framework/issues/4437">#4437</a>)</li>
<li>Fix partial update for the ListSerializer. (<a href="https://github.com/encode/django-rest-framework/issues/4222">#4222</a>)</li>
<li>Render JSONField control correctly in browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/4999">#4999</a>, <a href="https://github.com/encode/django-rest-framework/issues/5042">#5042</a>)</li>
<li>Raise validation errors for invalid datetime in given timezone. (<a href="https://github.com/encode/django-rest-framework/issues/4987">#4987</a>)</li>
<li>Support restricting doc &amp; schema shortcuts to a subset of urls. (<a href="https://github.com/encode/django-rest-framework/issues/4979">#4979</a>)</li>
<li>Resolve SchemaGenerator error with paginators that have no <code>page_size</code> attribute. (<a href="https://github.com/encode/django-rest-framework/issues/5086">#5086</a>, <a href="https://github.com/encode/django-rest-framework/issues/3692">#3692</a>)</li>
<li>Resolve HyperlinkedRelatedField exception on string with %20 instead of space. (<a href="https://github.com/encode/django-rest-framework/issues/4748">#4748</a>, <a href="https://github.com/encode/django-rest-framework/issues/5078">#5078</a>)</li>
<li>Customizable schema generator classes. (<a href="https://github.com/encode/django-rest-framework/issues/5082">#5082</a>)</li>
<li>Update existing vary headers in response instead of overwriting them. (<a href="https://github.com/encode/django-rest-framework/issues/5047">#5047</a>)</li>
<li>Support passing <code>.as_view()</code> to view instance. (<a href="https://github.com/encode/django-rest-framework/issues/5053">#5053</a>)</li>
<li>Use correct exception handler when settings overridden on a view. (<a href="https://github.com/encode/django-rest-framework/issues/5055">#5055</a>, <a href="https://github.com/encode/django-rest-framework/issues/5054">#5054</a>)</li>
<li>Update Boolean field to support 'yes' and 'no' values. (<a href="https://github.com/encode/django-rest-framework/issues/5038">#5038</a>)</li>
<li>Fix unique validator for ChoiceField. (<a href="https://github.com/encode/django-rest-framework/issues/5004">#5004</a>, <a href="https://github.com/encode/django-rest-framework/issues/5026">#5026</a>, <a href="https://github.com/encode/django-rest-framework/issues/5028">#5028</a>)</li>
<li>JavaScript cleanups in API Docs. (<a href="https://github.com/encode/django-rest-framework/issues/5001">#5001</a>)</li>
<li>Include URL path regexs in API schemas where valid. (<a href="https://github.com/encode/django-rest-framework/issues/5014">#5014</a>)</li>
<li>Correctly set scheme in coreapi TokenAuthentication. (<a href="https://github.com/encode/django-rest-framework/issues/5000">#5000</a>, <a href="https://github.com/encode/django-rest-framework/issues/4994">#4994</a>)</li>
<li>HEAD requests on ViewSets should not return 405. (<a href="https://github.com/encode/django-rest-framework/issues/4705">#4705</a>, <a href="https://github.com/encode/django-rest-framework/issues/4973">#4973</a>, <a href="https://github.com/encode/django-rest-framework/issues/4864">#4864</a>)</li>
<li>Support usage of 'source' in <code>extra_kwargs</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4688">#4688</a>)</li>
<li>Fix invalid content type for schema.js (<a href="https://github.com/encode/django-rest-framework/issues/4968">#4968</a>)</li>
<li>Fix DjangoFilterBackend inheritance issues. (<a href="https://github.com/encode/django-rest-framework/issues/5089">#5089</a>, <a href="https://github.com/encode/django-rest-framework/issues/5117">#5117</a>)</li>
</ul>
<h3 id="362"><a class="toclink" href="#362">3.6.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.2+Release%22">10th March 2017</a></p>
<ul>
<li>Support for Safari &amp; IE in API docs. (<a href="https://github.com/encode/django-rest-framework/issues/4959">#4959</a>, <a href="https://github.com/encode/django-rest-framework/issues/4961">#4961</a>)</li>
<li>Add missing <code>mark_safe</code> in API docs template tags. (<a href="https://github.com/encode/django-rest-framework/issues/4952">#4952</a>, <a href="https://github.com/encode/django-rest-framework/issues/4953">#4953</a>)</li>
<li>Add missing glyphicon fonts. (<a href="https://github.com/encode/django-rest-framework/issues/4950">#4950</a>, <a href="https://github.com/encode/django-rest-framework/issues/4951">#4951</a>)</li>
<li>Fix One-to-one fields in API docs. (<a href="https://github.com/encode/django-rest-framework/issues/4955">#4955</a>, <a href="https://github.com/encode/django-rest-framework/issues/4956">#4956</a>)</li>
<li>Test clean ups. (<a href="https://github.com/encode/django-rest-framework/issues/4949">#4949</a>)</li>
</ul>
<h3 id="361"><a class="toclink" href="#361">3.6.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.1+Release%22">9th March 2017</a></p>
<ul>
<li>Ensure <code>markdown</code> dependency is optional. (<a href="https://github.com/encode/django-rest-framework/issues/4947">#4947</a>)</li>
</ul>
<h3 id="360"><a class="toclink" href="#360">3.6.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.6.0+Release%22">9th March 2017</a></p>
<p>See the <a href="../3.6-announcement/">release announcement</a>.</p>
<hr />
<h2 id="35x-series"><a class="toclink" href="#35x-series">3.5.x series</a></h2>
<h3 id="354"><a class="toclink" href="#354">3.5.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.5.4+Release%22">10th February 2017</a></p>
<ul>
<li>Add max_length and min_length arguments for ListField. (<a href="https://github.com/encode/django-rest-framework/issues/4877">#4877</a>)</li>
<li>Add per-view custom exception handler support. (<a href="https://github.com/encode/django-rest-framework/issues/4753">#4753</a>)</li>
<li>Support disabling of declared fields on serializer subclasses. (<a href="https://github.com/encode/django-rest-framework/issues/4764">#4764</a>)</li>
<li>Support custom view names on <code>@list_route</code> and <code>@detail_route</code> endpoints. (<a href="https://github.com/encode/django-rest-framework/issues/4821">#4821</a>)</li>
<li>Correct labels for fields in login template when custom user model is used. (<a href="https://github.com/encode/django-rest-framework/issues/4841">#4841</a>)</li>
<li>Whitespace fixes for descriptions generated from docstrings. (<a href="https://github.com/encode/django-rest-framework/issues/4759">#4759</a>, <a href="https://github.com/encode/django-rest-framework/issues/4869">#4869</a>, <a href="https://github.com/encode/django-rest-framework/issues/4870">#4870</a>)</li>
<li>Better error reporting when schemas are returned by views without a schema renderer. (<a href="https://github.com/encode/django-rest-framework/issues/4790">#4790</a>)</li>
<li>Fix for returned response of <code>PUT</code> requests when <code>prefetch_related</code> is used. (<a href="https://github.com/encode/django-rest-framework/issues/4661">#4661</a>, <a href="https://github.com/encode/django-rest-framework/issues/4668">#4668</a>)</li>
<li>Fix for breadcrumb view names. (<a href="https://github.com/encode/django-rest-framework/issues/4750">#4750</a>)</li>
<li>Fix for RequestsClient ensuring fully qualified URLs. (<a href="https://github.com/encode/django-rest-framework/issues/4678">#4678</a>)</li>
<li>Fix for incorrect behavior of writable-nested fields check in some cases. (<a href="https://github.com/encode/django-rest-framework/issues/4634">#4634</a>, <a href="https://github.com/encode/django-rest-framework/issues/4669">#4669</a>)</li>
<li>Resolve Django deprecation warnings. (<a href="https://github.com/encode/django-rest-framework/issues/4712">#4712</a>)</li>
<li>Various cleanup of test cases.</li>
</ul>
<h3 id="353"><a class="toclink" href="#353">3.5.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.5.3+Release%22">7th November 2016</a></p>
<ul>
<li>Don't raise incorrect FilterSet deprecation warnings. (<a href="https://github.com/encode/django-rest-framework/issues/4660">#4660</a>, <a href="https://github.com/encode/django-rest-framework/issues/4643">#4643</a>, <a href="https://github.com/encode/django-rest-framework/issues/4644">#4644</a>)</li>
<li>Schema generation should not raise 404 when a view permission class does. (<a href="https://github.com/encode/django-rest-framework/issues/4645">#4645</a>, <a href="https://github.com/encode/django-rest-framework/issues/4646">#4646</a>)</li>
<li>Add <code>autofocus</code> support for input controls. (<a href="https://github.com/encode/django-rest-framework/issues/4650">#4650</a>)</li>
</ul>
<h3 id="352"><a class="toclink" href="#352">3.5.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.5.2+Release%22">1st November 2016</a></p>
<ul>
<li>Restore exception tracebacks in Python 2.7. (<a href="https://github.com/encode/django-rest-framework/issues/4631">#4631</a>, <a href="https://github.com/encode/django-rest-framework/issues/4638">#4638</a>)</li>
<li>Properly display dicts in the admin console. (<a href="https://github.com/encode/django-rest-framework/issues/4532">#4532</a>, <a href="https://github.com/encode/django-rest-framework/issues/4636">#4636</a>)</li>
<li>Fix is_simple_callable with variable args, kwargs. (<a href="https://github.com/encode/django-rest-framework/issues/4622">#4622</a>, <a href="https://github.com/encode/django-rest-framework/issues/4602">#4602</a>)</li>
<li>Support 'on'/'off' literals with BooleanField. (<a href="https://github.com/encode/django-rest-framework/issues/4640">#4640</a>, <a href="https://github.com/encode/django-rest-framework/issues/4624">#4624</a>)</li>
<li>Enable cursor pagination of value querysets. (<a href="https://github.com/encode/django-rest-framework/issues/4569">#4569</a>)</li>
<li>Fix support of get_full_details() for Throttled exceptions. (<a href="https://github.com/encode/django-rest-framework/issues/4627">#4627</a>)</li>
<li>Fix FilterSet proxy. (<a href="https://github.com/encode/django-rest-framework/issues/4620">#4620</a>)</li>
<li>Make serializer fields import explicit. (<a href="https://github.com/encode/django-rest-framework/issues/4628">#4628</a>)</li>
<li>Drop redundant requests adapter. (<a href="https://github.com/encode/django-rest-framework/issues/4639">#4639</a>)</li>
</ul>
<h3 id="351"><a class="toclink" href="#351">3.5.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.5.1+Release%22">21st October 2016</a></p>
<ul>
<li>Make <code>rest_framework/compat.py</code> imports. (<a href="https://github.com/encode/django-rest-framework/issues/4612">#4612</a>, <a href="https://github.com/encode/django-rest-framework/issues/4608">#4608</a>, <a href="https://github.com/encode/django-rest-framework/issues/4601">#4601</a>)</li>
<li>Fix bug in schema base path generation. (<a href="https://github.com/encode/django-rest-framework/issues/4611">#4611</a>, <a href="https://github.com/encode/django-rest-framework/issues/4605">#4605</a>)</li>
<li>Fix broken case of ListSerializer with single item. (<a href="https://github.com/encode/django-rest-framework/issues/4609">#4609</a>, <a href="https://github.com/encode/django-rest-framework/issues/4606">#4606</a>)</li>
<li>Remove bare <code>raise</code> for Python 3.5 compat. (<a href="https://github.com/encode/django-rest-framework/issues/4600">#4600</a>)</li>
</ul>
<h3 id="350"><a class="toclink" href="#350">3.5.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.5.0+Release%22">20th October 2016</a></p>
<hr />
2016-05-26 13:48:39 +03:00
<h2 id="34x-series"><a class="toclink" href="#34x-series">3.4.x series</a></h2>
<h3 id="347"><a class="toclink" href="#347">3.4.7</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.7+Release%22">21st September 2016</a></p>
<ul>
<li>Fallback behavior for request parsing when request.POST already accessed. (<a href="https://github.com/encode/django-rest-framework/issues/3951">#3951</a>, <a href="https://github.com/encode/django-rest-framework/issues/4500">#4500</a>)</li>
<li>Fix regression of <code>RegexField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4489">#4489</a>, <a href="https://github.com/encode/django-rest-framework/issues/4490">#4490</a>, <a href="https://github.com/encode/django-rest-framework/issues/2617">#2617</a>)</li>
<li>Missing comma in <code>admin.html</code> causing CSRF error. (<a href="https://github.com/encode/django-rest-framework/issues/4472">#4472</a>, <a href="https://github.com/encode/django-rest-framework/issues/4473">#4473</a>)</li>
<li>Fix response rendering with empty context. (<a href="https://github.com/encode/django-rest-framework/issues/4495">#4495</a>)</li>
<li>Fix indentation regression in API listing. (<a href="https://github.com/encode/django-rest-framework/issues/4493">#4493</a>)</li>
<li>Fixed an issue where the incorrect value is set to <code>ResolverMatch.func_name</code> of api_view decorated view. (<a href="https://github.com/encode/django-rest-framework/issues/4465">#4465</a>, <a href="https://github.com/encode/django-rest-framework/issues/4462">#4462</a>)</li>
<li>Fix <code>APIClient.get()</code> when path contains unicode arguments (<a href="https://github.com/encode/django-rest-framework/issues/4458">#4458</a>)</li>
</ul>
<h3 id="346"><a class="toclink" href="#346">3.4.6</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.6+Release%22">23rd August 2016</a></p>
<ul>
<li>Fix malformed Javascript in browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/4435">#4435</a>)</li>
<li>Skip HiddenField from Schema fields. (<a href="https://github.com/encode/django-rest-framework/issues/4425">#4425</a>, <a href="https://github.com/encode/django-rest-framework/issues/4429">#4429</a>)</li>
<li>Improve Create to show the original exception traceback. (<a href="https://github.com/encode/django-rest-framework/issues/3508">#3508</a>)</li>
<li>Fix <code>AdminRenderer</code> display of PK only related fields. (<a href="https://github.com/encode/django-rest-framework/issues/4419">#4419</a>, <a href="https://github.com/encode/django-rest-framework/issues/4423">#4423</a>)</li>
</ul>
<h3 id="345"><a class="toclink" href="#345">3.4.5</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.5+Release%22">19th August 2016</a></p>
<ul>
<li>Improve debug error handling. (<a href="https://github.com/encode/django-rest-framework/issues/4416">#4416</a>, <a href="https://github.com/encode/django-rest-framework/issues/4409">#4409</a>)</li>
<li>Allow custom CSRF_HEADER_NAME setting. (<a href="https://github.com/encode/django-rest-framework/issues/4415">#4415</a>, <a href="https://github.com/encode/django-rest-framework/issues/4410">#4410</a>)</li>
<li>Include .action attribute on viewsets when generating schemas. (<a href="https://github.com/encode/django-rest-framework/issues/4408">#4408</a>, <a href="https://github.com/encode/django-rest-framework/issues/4398">#4398</a>)</li>
<li>Do not include request.FILES items in request.POST. (<a href="https://github.com/encode/django-rest-framework/issues/4407">#4407</a>)</li>
<li>Fix rendering of checkbox multiple. (<a href="https://github.com/encode/django-rest-framework/issues/4403">#4403</a>)</li>
<li>Fix docstring of Field.get_default. (<a href="https://github.com/encode/django-rest-framework/issues/4404">#4404</a>)</li>
<li>Replace utf8 character with its ascii counterpart in README. (<a href="https://github.com/encode/django-rest-framework/issues/4412">#4412</a>)</li>
</ul>
<h3 id="344"><a class="toclink" href="#344">3.4.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.4+Release%22">12th August 2016</a></p>
<ul>
<li>Ensure views are fully initialized when generating schemas. (<a href="https://github.com/encode/django-rest-framework/issues/4373">#4373</a>, <a href="https://github.com/encode/django-rest-framework/issues/4382">#4382</a>, <a href="https://github.com/encode/django-rest-framework/issues/4383">#4383</a>, <a href="https://github.com/encode/django-rest-framework/issues/4279">#4279</a>, <a href="https://github.com/encode/django-rest-framework/issues/4278">#4278</a>)</li>
<li>Add form field descriptions to schemas. (<a href="https://github.com/encode/django-rest-framework/issues/4387">#4387</a>)</li>
<li>Fix category generation for schema endpoints. (<a href="https://github.com/encode/django-rest-framework/issues/4391">#4391</a>, <a href="https://github.com/encode/django-rest-framework/issues/4394">#4394</a>, <a href="https://github.com/encode/django-rest-framework/issues/4390">#4390</a>, <a href="https://github.com/encode/django-rest-framework/issues/4386">#4386</a>, <a href="https://github.com/encode/django-rest-framework/issues/4376">#4376</a>, <a href="https://github.com/encode/django-rest-framework/issues/4329">#4329</a>)</li>
<li>Don't strip empty query params when paginating. (<a href="https://github.com/encode/django-rest-framework/issues/4392">#4392</a>, <a href="https://github.com/encode/django-rest-framework/issues/4393">#4393</a>, <a href="https://github.com/encode/django-rest-framework/issues/4260">#4260</a>)</li>
<li>Do not re-run query for empty results with LimitOffsetPagination. (<a href="https://github.com/encode/django-rest-framework/issues/4201">#4201</a>, <a href="https://github.com/encode/django-rest-framework/issues/4388">#4388</a>)</li>
<li>Stricter type validation for CharField. (<a href="https://github.com/encode/django-rest-framework/issues/4380">#4380</a>, <a href="https://github.com/encode/django-rest-framework/issues/3394">#3394</a>)</li>
<li>RelatedField.choices should preserve non-string values. (<a href="https://github.com/encode/django-rest-framework/issues/4111">#4111</a>, <a href="https://github.com/encode/django-rest-framework/issues/4379">#4379</a>, <a href="https://github.com/encode/django-rest-framework/issues/3365">#3365</a>)</li>
<li>Test case for rendering checkboxes in vertical form style. (<a href="https://github.com/encode/django-rest-framework/issues/4378">#4378</a>, <a href="https://github.com/encode/django-rest-framework/issues/3868">#3868</a>, <a href="https://github.com/encode/django-rest-framework/issues/3868">#3868</a>)</li>
<li>Show error traceback HTML in browsable API (<a href="https://github.com/encode/django-rest-framework/issues/4042">#4042</a>, <a href="https://github.com/encode/django-rest-framework/issues/4172">#4172</a>)</li>
<li>Fix handling of ALLOWED_VERSIONS and no DEFAULT_VERSION. <a href="https://github.com/encode/django-rest-framework/issues/4370">#4370</a></li>
<li>Allow <code>max_digits=None</code> on DecimalField. (<a href="https://github.com/encode/django-rest-framework/issues/4377">#4377</a>, <a href="https://github.com/encode/django-rest-framework/issues/4372">#4372</a>)</li>
<li>Limit queryset when rendering relational choices. (<a href="https://github.com/encode/django-rest-framework/issues/4375">#4375</a>, <a href="https://github.com/encode/django-rest-framework/issues/4122">#4122</a>, <a href="https://github.com/encode/django-rest-framework/issues/3329">#3329</a>, <a href="https://github.com/encode/django-rest-framework/issues/3330">#3330</a>, <a href="https://github.com/encode/django-rest-framework/issues/3877">#3877</a>)</li>
<li>Resolve form display with ChoiceField, MultipleChoiceField and non-string choices. (<a href="https://github.com/encode/django-rest-framework/issues/4374">#4374</a>, <a href="https://github.com/encode/django-rest-framework/issues/4119">#4119</a>, <a href="https://github.com/encode/django-rest-framework/issues/4121">#4121</a>, <a href="https://github.com/encode/django-rest-framework/issues/4137">#4137</a>, <a href="https://github.com/encode/django-rest-framework/issues/4120">#4120</a>)</li>
<li>Fix call to TemplateHTMLRenderer.resolve_context() fallback method. (<a href="https://github.com/encode/django-rest-framework/issues/4371">#4371</a>)</li>
</ul>
<h3 id="343"><a class="toclink" href="#343">3.4.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.3+Release%22">5th August 2016</a></p>
<ul>
<li>Include fallback for users of older TemplateHTMLRenderer internal API. (<a href="https://github.com/encode/django-rest-framework/issues/4361">#4361</a>)</li>
</ul>
<h3 id="342"><a class="toclink" href="#342">3.4.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.2+Release%22">5th August 2016</a></p>
<ul>
<li>Include kwargs passed to 'as_view' when generating schemas. (<a href="https://github.com/encode/django-rest-framework/issues/4359">#4359</a>, <a href="https://github.com/encode/django-rest-framework/issues/4330">#4330</a>, <a href="https://github.com/encode/django-rest-framework/issues/4331">#4331</a>)</li>
<li>Access <code>request.user.is_authenticated</code> as property not method, under Django 1.10+ (<a href="https://github.com/encode/django-rest-framework/issues/4358">#4358</a>, <a href="https://github.com/encode/django-rest-framework/issues/4354">#4354</a>)</li>
<li>Filter HEAD out from schemas. (<a href="https://github.com/encode/django-rest-framework/issues/4357">#4357</a>)</li>
<li>extra_kwargs takes precedence over uniqueness kwargs. (<a href="https://github.com/encode/django-rest-framework/issues/4198">#4198</a>, <a href="https://github.com/encode/django-rest-framework/issues/4199">#4199</a>, <a href="https://github.com/encode/django-rest-framework/issues/4349">#4349</a>)</li>
<li>Correct descriptions when tabs are used in code indentation. (<a href="https://github.com/encode/django-rest-framework/issues/4345">#4345</a>, <a href="https://github.com/encode/django-rest-framework/issues/4347">#4347</a>)*</li>
<li>Change template context generation in TemplateHTMLRenderer. (<a href="https://github.com/encode/django-rest-framework/issues/4236">#4236</a>)</li>
<li>Serializer defaults should not be included in partial updates. (<a href="https://github.com/encode/django-rest-framework/issues/4346">#4346</a>, <a href="https://github.com/encode/django-rest-framework/issues/3565">#3565</a>)</li>
<li>Consistent behavior &amp; descriptive error from FileUploadParser when filename not included. (<a href="https://github.com/encode/django-rest-framework/issues/4340">#4340</a>, <a href="https://github.com/encode/django-rest-framework/issues/3610">#3610</a>, <a href="https://github.com/encode/django-rest-framework/issues/4292">#4292</a>, <a href="https://github.com/encode/django-rest-framework/issues/4296">#4296</a>)</li>
<li>DecimalField quantizes incoming digitals. (<a href="https://github.com/encode/django-rest-framework/issues/4339">#4339</a>, <a href="https://github.com/encode/django-rest-framework/issues/4318">#4318</a>)</li>
<li>Handle non-string input for IP fields. (<a href="https://github.com/encode/django-rest-framework/issues/4335">#4335</a>, <a href="https://github.com/encode/django-rest-framework/issues/4336">#4336</a>, <a href="https://github.com/encode/django-rest-framework/issues/4338">#4338</a>)</li>
<li>Fix leading slash handling when Schema generation includes a root URL. (<a href="https://github.com/encode/django-rest-framework/issues/4332">#4332</a>)</li>
<li>Test cases for DictField with allow_null options. (<a href="https://github.com/encode/django-rest-framework/issues/4348">#4348</a>)</li>
<li>Update tests from Django 1.10 beta to Django 1.10. (<a href="https://github.com/encode/django-rest-framework/issues/4344">#4344</a>)</li>
</ul>
<h3 id="341"><a class="toclink" href="#341">3.4.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.1+Release%22">28th July 2016</a></p>
<ul>
<li>Added <code>root_renderers</code> argument to <code>DefaultRouter</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4323">#4323</a>, <a href="https://github.com/encode/django-rest-framework/issues/4268">#4268</a>)</li>
<li>Added <code>url</code> and <code>schema_url</code> arguments. (<a href="https://github.com/encode/django-rest-framework/issues/4321">#4321</a>, <a href="https://github.com/encode/django-rest-framework/issues/4308">#4308</a>, <a href="https://github.com/encode/django-rest-framework/issues/4305">#4305</a>)</li>
<li>Unique together checks should apply to read-only fields which have a default. (<a href="https://github.com/encode/django-rest-framework/issues/4316">#4316</a>, <a href="https://github.com/encode/django-rest-framework/issues/4294">#4294</a>)</li>
<li>Set view.format_kwarg in schema generator. (<a href="https://github.com/encode/django-rest-framework/issues/4293">#4293</a>, <a href="https://github.com/encode/django-rest-framework/issues/4315">#4315</a>)</li>
<li>Fix schema generator for views with <code>pagination_class = None</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4314">#4314</a>, <a href="https://github.com/encode/django-rest-framework/issues/4289">#4289</a>)</li>
<li>Fix schema generator for views with no <code>get_serializer_class</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4265">#4265</a>, <a href="https://github.com/encode/django-rest-framework/issues/4285">#4285</a>)</li>
<li>Fixes for media type parameters in <code>Accept</code> and <code>Content-Type</code> headers. (<a href="https://github.com/encode/django-rest-framework/issues/4287">#4287</a>, <a href="https://github.com/encode/django-rest-framework/issues/4313">#4313</a>, <a href="https://github.com/encode/django-rest-framework/issues/4281">#4281</a>)</li>
<li>Use verbose_name instead of object_name in error messages. (<a href="https://github.com/encode/django-rest-framework/issues/4299">#4299</a>)</li>
<li>Minor version update to Twitter Bootstrap. (<a href="https://github.com/encode/django-rest-framework/issues/4307">#4307</a>)</li>
<li>SearchFilter raises error when using with related field. (<a href="https://github.com/encode/django-rest-framework/issues/4302">#4302</a>, <a href="https://github.com/encode/django-rest-framework/issues/4303">#4303</a>, <a href="https://github.com/encode/django-rest-framework/issues/4298">#4298</a>)</li>
<li>Adding support for RFC 4918 status codes. (<a href="https://github.com/encode/django-rest-framework/issues/4291">#4291</a>)</li>
<li>Add LICENSE.md to the built wheel. (<a href="https://github.com/encode/django-rest-framework/issues/4270">#4270</a>)</li>
<li>Serializing "complex" field returns None instead of the value since 3.4 (<a href="https://github.com/encode/django-rest-framework/issues/4272">#4272</a>, <a href="https://github.com/encode/django-rest-framework/issues/4273">#4273</a>, <a href="https://github.com/encode/django-rest-framework/issues/4288">#4288</a>)</li>
</ul>
<h3 id="340"><a class="toclink" href="#340">3.4.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.4.0+Release%22">14th July 2016</a></p>
2016-05-26 13:48:39 +03:00
<ul>
<li>Don't strip microseconds in JSON output. (<a href="https://github.com/encode/django-rest-framework/issues/4256">#4256</a>)</li>
<li>Two slightly different iso 8601 datetime serialization. (<a href="https://github.com/encode/django-rest-framework/issues/4255">#4255</a>)</li>
<li>Resolve incorrect inclusion of media type parameters. (<a href="https://github.com/encode/django-rest-framework/issues/4254">#4254</a>)</li>
<li>Response Content-Type potentially malformed. (<a href="https://github.com/encode/django-rest-framework/issues/4253">#4253</a>)</li>
<li>Fix setup.py error on some platforms. (<a href="https://github.com/encode/django-rest-framework/issues/4246">#4246</a>)</li>
<li>Move alternate formats in coreapi into separate packages. (<a href="https://github.com/encode/django-rest-framework/issues/4244">#4244</a>)</li>
<li>Add localize keyword argument to <code>DecimalField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4233">#4233</a>)</li>
<li>Fix issues with routers for custom list-route and detail-routes. (<a href="https://github.com/encode/django-rest-framework/issues/4229">#4229</a>)</li>
<li>Namespace versioning with nested namespaces. (<a href="https://github.com/encode/django-rest-framework/issues/4219">#4219</a>)</li>
<li>Robust uniqueness checks. (<a href="https://github.com/encode/django-rest-framework/issues/4217">#4217</a>)</li>
<li>Minor refactoring of <code>must_call_distinct</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4215">#4215</a>)</li>
<li>Overridable offset cutoff in CursorPagination. (<a href="https://github.com/encode/django-rest-framework/issues/4212">#4212</a>)</li>
<li>Pass through strings as-in with date/time fields. (<a href="https://github.com/encode/django-rest-framework/issues/4196">#4196</a>)</li>
<li>Add test confirming that required=False is valid on a relational field. (<a href="https://github.com/encode/django-rest-framework/issues/4195">#4195</a>)</li>
<li>In LimitOffsetPagination <code>limit=0</code> should revert to default limit. (<a href="https://github.com/encode/django-rest-framework/issues/4194">#4194</a>)</li>
<li>Exclude read_only=True fields from unique_together validation &amp; add docs. (<a href="https://github.com/encode/django-rest-framework/issues/4192">#4192</a>)</li>
<li>Handle bytestrings in JSON. (<a href="https://github.com/encode/django-rest-framework/issues/4191">#4191</a>)</li>
<li>JSONField(binary=True) represents using binary strings, which JSONRenderer does not support. (<a href="https://github.com/encode/django-rest-framework/issues/4187">#4187</a>)</li>
<li>JSONField(binary=True) represents using binary strings, which JSONRenderer does not support. (<a href="https://github.com/encode/django-rest-framework/issues/4185">#4185</a>)</li>
<li>More robust form rendering in the browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/4181">#4181</a>)</li>
<li>Empty cases of <code>.validated_data</code> and <code>.errors</code> as lists not dicts for ListSerializer. (<a href="https://github.com/encode/django-rest-framework/issues/4180">#4180</a>)</li>
<li>Schemas &amp; client libraries. (<a href="https://github.com/encode/django-rest-framework/issues/4179">#4179</a>)</li>
<li>Removed <code>AUTH_USER_MODEL</code> compat property. (<a href="https://github.com/encode/django-rest-framework/issues/4176">#4176</a>)</li>
<li>Clean up existing deprecation warnings. (<a href="https://github.com/encode/django-rest-framework/issues/4166">#4166</a>)</li>
<li>Django 1.10 support. (<a href="https://github.com/encode/django-rest-framework/issues/4158">#4158</a>)</li>
<li>Updated jQuery version to 1.12.4. (<a href="https://github.com/encode/django-rest-framework/issues/4157">#4157</a>)</li>
<li>More robust default behavior on OrderingFilter. (<a href="https://github.com/encode/django-rest-framework/issues/4156">#4156</a>)</li>
<li>description.py codes and tests removal. (<a href="https://github.com/encode/django-rest-framework/issues/4153">#4153</a>)</li>
<li>Wrap guardian.VERSION in tuple. (<a href="https://github.com/encode/django-rest-framework/issues/4149">#4149</a>)</li>
<li>Refine validator for fields with <source=> kwargs. (<a href="https://github.com/encode/django-rest-framework/issues/4146">#4146</a>)</li>
<li>Fix None values representation in childs of ListField, DictField. (<a href="https://github.com/encode/django-rest-framework/issues/4118">#4118</a>)</li>
<li>Resolve TimeField representation for midnight value. (<a href="https://github.com/encode/django-rest-framework/issues/4107">#4107</a>)</li>
<li>Set proper status code in AdminRenderer for the redirection after POST/DELETE requests. (<a href="https://github.com/encode/django-rest-framework/issues/4106">#4106</a>)</li>
<li>TimeField render returns None instead of 00:00:00. (<a href="https://github.com/encode/django-rest-framework/issues/4105">#4105</a>)</li>
<li>Fix incorrectly named zh-hans and zh-hant locale path. (<a href="https://github.com/encode/django-rest-framework/issues/4103">#4103</a>)</li>
<li>Prevent raising exception when limit is 0. (<a href="https://github.com/encode/django-rest-framework/issues/4098">#4098</a>)</li>
<li>TokenAuthentication: Allow custom keyword in the header. (<a href="https://github.com/encode/django-rest-framework/issues/4097">#4097</a>)</li>
<li>Handle incorrectly padded HTTP basic auth header. (<a href="https://github.com/encode/django-rest-framework/issues/4090">#4090</a>)</li>
<li>LimitOffset pagination crashes Browseable API when limit=0. (<a href="https://github.com/encode/django-rest-framework/issues/4079">#4079</a>)</li>
<li>Fixed DecimalField arbitrary precision support. (<a href="https://github.com/encode/django-rest-framework/issues/4075">#4075</a>)</li>
<li>Added support for custom CSRF cookie names. (<a href="https://github.com/encode/django-rest-framework/issues/4049">#4049</a>)</li>
<li>Fix regression introduced by #4035. (<a href="https://github.com/encode/django-rest-framework/issues/4041">#4041</a>)</li>
<li>No auth view failing permission should raise 403. (<a href="https://github.com/encode/django-rest-framework/issues/4040">#4040</a>)</li>
<li>Fix string_types / text_types confusion. (<a href="https://github.com/encode/django-rest-framework/issues/4025">#4025</a>)</li>
<li>Do not list related field choices in OPTIONS requests. (<a href="https://github.com/encode/django-rest-framework/issues/4021">#4021</a>)</li>
<li>Fix typo. (<a href="https://github.com/encode/django-rest-framework/issues/4008">#4008</a>)</li>
<li>Reorder initializing the view. (<a href="https://github.com/encode/django-rest-framework/issues/4006">#4006</a>)</li>
<li>Type error in DjangoObjectPermissionsFilter on Python 3.4. (<a href="https://github.com/encode/django-rest-framework/issues/4005">#4005</a>)</li>
<li>Fixed use of deprecated Query.aggregates. (<a href="https://github.com/encode/django-rest-framework/issues/4003">#4003</a>)</li>
<li>Fix blank lines around docstrings. (<a href="https://github.com/encode/django-rest-framework/issues/4002">#4002</a>)</li>
<li>Fixed admin pagination when limit is 0. (<a href="https://github.com/encode/django-rest-framework/issues/3990">#3990</a>)</li>
<li>OrderingFilter adjustments. (<a href="https://github.com/encode/django-rest-framework/issues/3983">#3983</a>)</li>
<li>Non-required serializer related fields. (<a href="https://github.com/encode/django-rest-framework/issues/3976">#3976</a>)</li>
<li>Using safer calling way of "@api_view" in tutorial. (<a href="https://github.com/encode/django-rest-framework/issues/3971">#3971</a>)</li>
<li>ListSerializer doesn't handle unique_together constraints. (<a href="https://github.com/encode/django-rest-framework/issues/3970">#3970</a>)</li>
<li>Add missing migration file. (<a href="https://github.com/encode/django-rest-framework/issues/3968">#3968</a>)</li>
<li><code>OrderingFilter</code> should call <code>get_serializer_class()</code> to determine default fields. (<a href="https://github.com/encode/django-rest-framework/issues/3964">#3964</a>)</li>
<li>Remove old Django checks from tests and compat. (<a href="https://github.com/encode/django-rest-framework/issues/3953">#3953</a>)</li>
<li>Support callable as the value of <code>initial</code> for any <code>serializer.Field</code>. (<a href="https://github.com/encode/django-rest-framework/issues/3943">#3943</a>)</li>
<li>Prevented unnecessary distinct() call in SearchFilter. (<a href="https://github.com/encode/django-rest-framework/issues/3938">#3938</a>)</li>
<li>Fix None UUID ForeignKey serialization. (<a href="https://github.com/encode/django-rest-framework/issues/3936">#3936</a>)</li>
<li>Drop EOL Django 1.7. (<a href="https://github.com/encode/django-rest-framework/issues/3933">#3933</a>)</li>
<li>Add missing space in serializer error message. (<a href="https://github.com/encode/django-rest-framework/issues/3926">#3926</a>)</li>
<li>Fixed _force_text_recursive typo. (<a href="https://github.com/encode/django-rest-framework/issues/3908">#3908</a>)</li>
<li>Attempt to address Django 2.0 deprecate warnings related to <code>field.rel</code>. (<a href="https://github.com/encode/django-rest-framework/issues/3906">#3906</a>)</li>
<li>Fix parsing multipart data using a nested serializer with list. (<a href="https://github.com/encode/django-rest-framework/issues/3820">#3820</a>)</li>
<li>Resolving APIs URL to different namespaces. (<a href="https://github.com/encode/django-rest-framework/issues/3816">#3816</a>)</li>
<li>Do not HTML-escape <code>help_text</code> in Browsable API forms. (<a href="https://github.com/encode/django-rest-framework/issues/3812">#3812</a>)</li>
<li>OPTIONS fetches and shows all possible foreign keys in choices field. (<a href="https://github.com/encode/django-rest-framework/issues/3751">#3751</a>)</li>
<li>Django 1.9 deprecation warnings (<a href="https://github.com/encode/django-rest-framework/issues/3729">#3729</a>)</li>
<li>Test case for #3598 (<a href="https://github.com/encode/django-rest-framework/issues/3710">#3710</a>)</li>
<li>Adding support for multiple values for search filter. (<a href="https://github.com/encode/django-rest-framework/issues/3541">#3541</a>)</li>
<li>Use get_serializer_class in ordering filter. (<a href="https://github.com/encode/django-rest-framework/issues/3487">#3487</a>)</li>
<li>Serializers with many=True should return empty list rather than empty dict. (<a href="https://github.com/encode/django-rest-framework/issues/3476">#3476</a>)</li>
<li>LimitOffsetPagination limit=0 fix. (<a href="https://github.com/encode/django-rest-framework/issues/3444">#3444</a>)</li>
<li>Enable Validators to defer string evaluation and handle new string format. (<a href="https://github.com/encode/django-rest-framework/issues/3438">#3438</a>)</li>
<li>Unique validator is executed and breaks if field is invalid. (<a href="https://github.com/encode/django-rest-framework/issues/3381">#3381</a>)</li>
<li>Do not ignore overridden View.get_view_name() in breadcrumbs. (<a href="https://github.com/encode/django-rest-framework/issues/3273">#3273</a>)</li>
<li>Retry form rendering when rendering with serializer fails. (<a href="https://github.com/encode/django-rest-framework/issues/3164">#3164</a>)</li>
<li>Unique constraint prevents nested serializers from updating. (<a href="https://github.com/encode/django-rest-framework/issues/2996">#2996</a>)</li>
<li>Uniqueness validators should not be run for excluded (read_only) fields. (<a href="https://github.com/encode/django-rest-framework/issues/2848">#2848</a>)</li>
<li>UniqueValidator raises exception for nested objects. (<a href="https://github.com/encode/django-rest-framework/issues/2403">#2403</a>)</li>
<li><code>lookup_type</code> is deprecated in favor of <code>lookup_expr</code>. (<a href="https://github.com/encode/django-rest-framework/issues/4259">#4259</a>)</li>
2016-05-26 13:48:39 +03:00
</ul>
<hr />
2015-11-04 17:59:23 +03:00
<h2 id="33x-series"><a class="toclink" href="#33x-series">3.3.x series</a></h2>
2016-03-14 10:52:29 +03:00
<h3 id="333"><a class="toclink" href="#333">3.3.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.3.3+Release%22">14th March 2016</a>.</p>
2016-03-14 10:52:29 +03:00
<ul>
<li>Remove version string from templates. Thanks to @blag for the report and fixes. (<a href="https://github.com/encode/django-rest-framework/issues/3878">#3878</a>, <a href="https://github.com/encode/django-rest-framework/issues/3913">#3913</a>, <a href="https://github.com/encode/django-rest-framework/issues/3912">#3912</a>)</li>
<li>Fixes vertical html layout for <code>BooleanField</code>. Thanks to Mikalai Radchuk for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3910">#3910</a>)</li>
<li>Silenced deprecation warnings on Django 1.8. Thanks to Simon Charette for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3903">#3903</a>)</li>
<li>Internationalization for authtoken. Thanks to Michael Nacharov for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3887">#3887</a>, <a href="https://github.com/encode/django-rest-framework/issues/3968">#3968</a>)</li>
<li>Fix <code>Token</code> model as <code>abstract</code> when the authtoken application isn't declared. Thanks to Adam Thomas for the report. (<a href="https://github.com/encode/django-rest-framework/issues/3860">#3860</a>, <a href="https://github.com/encode/django-rest-framework/issues/3858">#3858</a>)</li>
<li>Improve Markdown version compatibility. Thanks to Michael J. Schultz for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3604">#3604</a>, <a href="https://github.com/encode/django-rest-framework/issues/3842">#3842</a>)</li>
<li><code>QueryParameterVersioning</code> does not use <code>DEFAULT_VERSION</code> setting. Thanks to Brad Montgomery for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3833">#3833</a>)</li>
<li>Add an explicit <code>on_delete</code> on the models. Thanks to Mads Jensen for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3832">#3832</a>)</li>
<li>Fix <code>DateField.to_representation</code> to work with Python 2 unicode. Thanks to Mikalai Radchuk for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3819">#3819</a>)</li>
<li>Fixed <code>TimeField</code> not handling string times. Thanks to Areski Belaid for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3809">#3809</a>)</li>
<li>Avoid updates of <code>Meta.extra_kwargs</code>. Thanks to Kevin Massey for the report and fix. (<a href="https://github.com/encode/django-rest-framework/issues/3805">#3805</a>, <a href="https://github.com/encode/django-rest-framework/issues/3804">#3804</a>)</li>
<li>Fix nested validation error being rendered incorrectly. Thanks to Craig de Stigter for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3801">#3801</a>)</li>
<li>Document how to avoid CSRF and missing button issues with <code>django-crispy-forms</code>. Thanks to Emmanuelle Delescolle, José Padilla and Luis San Pablo for the report, analysis and fix. (<a href="https://github.com/encode/django-rest-framework/issues/3787">#3787</a>, <a href="https://github.com/encode/django-rest-framework/issues/3636">#3636</a>, <a href="https://github.com/encode/django-rest-framework/issues/3637">#3637</a>)</li>
<li>Improve Rest Framework Settings file setup time. Thanks to Miles Hutson for the report and Mads Jensen for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3786">#3786</a>, <a href="https://github.com/encode/django-rest-framework/issues/3815">#3815</a>)</li>
<li>Improve authtoken compatibility with Django 1.9. Thanks to S. Andrew Sheppard for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3785">#3785</a>)</li>
<li>Fix <code>Min/MaxValueValidator</code> transfer from a model's <code>DecimalField</code>. Thanks to Kevin Brown for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3774">#3774</a>)</li>
<li>Improve HTML title in the Browsable API. Thanks to Mike Lissner for the report and fix. (<a href="https://github.com/encode/django-rest-framework/issues/3769">#3769</a>)</li>
<li>Fix <code>AutoFilterSet</code> to inherit from <code>default_filter_set</code>. Thanks to Tom Linford for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3753">#3753</a>)</li>
<li>Fix transifex config to handle the new Chinese language codes. Thanks to @nypisces for the report and fix. (<a href="https://github.com/encode/django-rest-framework/issues/3739">#3739</a>)</li>
<li><code>DateTimeField</code> does not handle empty values correctly. Thanks to Mick Parker for the report and fix. (<a href="https://github.com/encode/django-rest-framework/issues/3731">#3731</a>, <a href="https://github.com/encode/django-rest-framework/issues/3726">#3726</a>)</li>
<li>Raise error when setting a removed rest_framework setting. Thanks to Luis San Pablo for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3715">#3715</a>)</li>
<li>Add missing csrf_token in AdminRenderer post form. Thanks to Piotr Śniegowski for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3703">#3703</a>)</li>
<li>Refactored <code>_get_reverse_relationships()</code> to use correct <code>to_field</code>. Thanks to Benjamin Phillips for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3696">#3696</a>)</li>
<li>Document the use of <code>get_queryset</code> for <code>RelatedField</code>. Thanks to Ryan Hiebert for the fix. (<a href="https://github.com/encode/django-rest-framework/issues/3605">#3605</a>)</li>
<li>Fix empty pk detection in HyperlinkRelatedField.get_url. Thanks to @jslang for the fix (<a href="https://github.com/encode/django-rest-framework/issues/3962">#3962</a>)</li>
2016-03-14 10:52:29 +03:00
</ul>
2015-12-14 15:52:03 +03:00
<h3 id="332"><a class="toclink" href="#332">3.3.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.3.2+Release%22">14th December 2015</a>.</p>
2015-12-14 15:52:03 +03:00
<ul>
<li><code>ListField</code> enforces input is a list. (<a href="https://github.com/encode/django-rest-framework/issues/3513">#3513</a>)</li>
<li>Fix regression hiding raw data form. (<a href="https://github.com/encode/django-rest-framework/issues/3600">#3600</a>, <a href="https://github.com/encode/django-rest-framework/issues/3578">#3578</a>)</li>
<li>Fix Python 3.5 compatibility. (<a href="https://github.com/encode/django-rest-framework/issues/3534">#3534</a>, <a href="https://github.com/encode/django-rest-framework/issues/3626">#3626</a>)</li>
<li>Allow setting a custom Django Paginator in <code>pagination.PageNumberPagination</code>. (<a href="https://github.com/encode/django-rest-framework/issues/3631">#3631</a>, <a href="https://github.com/encode/django-rest-framework/issues/3684">#3684</a>)</li>
<li>Fix relational fields without <code>to_fields</code> attribute. (<a href="https://github.com/encode/django-rest-framework/issues/3635">#3635</a>, <a href="https://github.com/encode/django-rest-framework/issues/3634">#3634</a>)</li>
<li>Fix <code>template.render</code> deprecation warnings for Django 1.9. (<a href="https://github.com/encode/django-rest-framework/issues/3654">#3654</a>)</li>
<li>Sort response headers in browsable API renderer. (<a href="https://github.com/encode/django-rest-framework/issues/3655">#3655</a>)</li>
<li>Use related_objects api for Django 1.9+. (<a href="https://github.com/encode/django-rest-framework/issues/3656">#3656</a>, <a href="https://github.com/encode/django-rest-framework/issues/3252">#3252</a>)</li>
<li>Add confirm modal when deleting. (<a href="https://github.com/encode/django-rest-framework/issues/3228">#3228</a>, <a href="https://github.com/encode/django-rest-framework/issues/3662">#3662</a>)</li>
<li>Reveal previously hidden AttributeErrors and TypeErrors while calling has_[object_]permissions. (<a href="https://github.com/encode/django-rest-framework/issues/3668">#3668</a>)</li>
<li>Make DRF compatible with multi template engine in Django 1.8. (<a href="https://github.com/encode/django-rest-framework/issues/3672">#3672</a>)</li>
<li>Update <code>NestedBoundField</code> to also handle empty string when rendering its form. (<a href="https://github.com/encode/django-rest-framework/issues/3677">#3677</a>)</li>
<li>Fix UUID validation to properly catch invalid input types. (<a href="https://github.com/encode/django-rest-framework/issues/3687">#3687</a>, <a href="https://github.com/encode/django-rest-framework/issues/3679">#3679</a>)</li>
<li>Fix caching issues. (<a href="https://github.com/encode/django-rest-framework/issues/3628">#3628</a>, <a href="https://github.com/encode/django-rest-framework/issues/3701">#3701</a>)</li>
<li>Fix Admin and API browser for views without a filter_class. (<a href="https://github.com/encode/django-rest-framework/issues/3705">#3705</a>, <a href="https://github.com/encode/django-rest-framework/issues/3596">#3596</a>, <a href="https://github.com/encode/django-rest-framework/issues/3597">#3597</a>)</li>
<li>Add app_name to rest_framework.urls. (<a href="https://github.com/encode/django-rest-framework/issues/3714">#3714</a>)</li>
<li>Improve authtoken's views to support url versioning. (<a href="https://github.com/encode/django-rest-framework/issues/3718">#3718</a>, <a href="https://github.com/encode/django-rest-framework/issues/3723">#3723</a>)</li>
2015-12-14 15:52:03 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="331"><a class="toclink" href="#331">3.3.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.3.1+Release%22">4th November 2015</a>.</p>
2015-11-04 17:59:23 +03:00
<ul>
<li>Resolve parsing bug when accessing <code>request.POST</code> (<a href="https://github.com/encode/django-rest-framework/issues/3592">#3592</a>)</li>
<li>Correctly deal with <code>to_field</code> referring to primary key. (<a href="https://github.com/encode/django-rest-framework/issues/3593">#3593</a>)</li>
<li>Allow filter HTML to render when no <code>filter_class</code> is defined. (<a href="https://github.com/encode/django-rest-framework/issues/3560">#3560</a>)</li>
<li>Fix admin rendering issues. (<a href="https://github.com/encode/django-rest-framework/issues/3564">#3564</a>, <a href="https://github.com/encode/django-rest-framework/issues/3556">#3556</a>)</li>
<li>Fix issue with DecimalValidator. (<a href="https://github.com/encode/django-rest-framework/issues/3568">#3568</a>)</li>
2015-11-04 17:59:23 +03:00
</ul>
<h3 id="330"><a class="toclink" href="#330">3.3.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.3.0+Release%22">28th October 2015</a>.</p>
2015-10-28 14:35:39 +03:00
<ul>
<li>HTML controls for filters. (<a href="https://github.com/encode/django-rest-framework/issues/3315">#3315</a>)</li>
<li>Forms API. (<a href="https://github.com/encode/django-rest-framework/issues/3475">#3475</a>)</li>
<li>AJAX browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/3410">#3410</a>)</li>
<li>Added JSONField. (<a href="https://github.com/encode/django-rest-framework/issues/3454">#3454</a>)</li>
<li>Correctly map <code>to_field</code> when creating <code>ModelSerializer</code> relational fields. (<a href="https://github.com/encode/django-rest-framework/issues/3526">#3526</a>)</li>
<li>Include keyword arguments when mapping <code>FilePathField</code> to a serializer field. (<a href="https://github.com/encode/django-rest-framework/issues/3536">#3536</a>)</li>
<li>Map appropriate model <code>error_messages</code> on <code>ModelSerializer</code> uniqueness constraints. (<a href="https://github.com/encode/django-rest-framework/issues/3435">#3435</a>)</li>
<li>Include <code>max_length</code> constraint for <code>ModelSerializer</code> fields mapped from TextField. (<a href="https://github.com/encode/django-rest-framework/issues/3509">#3509</a>)</li>
<li>Added support for Django 1.9. (<a href="https://github.com/encode/django-rest-framework/issues/3450">#3450</a>, <a href="https://github.com/encode/django-rest-framework/issues/3525">#3525</a>)</li>
<li>Removed support for Django 1.5 &amp; 1.6. (<a href="https://github.com/encode/django-rest-framework/issues/3421">#3421</a>, <a href="https://github.com/encode/django-rest-framework/issues/3429">#3429</a>)</li>
<li>Removed 'south' migrations. (<a href="https://github.com/encode/django-rest-framework/issues/3495">#3495</a>)</li>
2015-10-28 14:35:39 +03:00
</ul>
<hr />
2015-11-04 17:59:23 +03:00
<h2 id="32x-series"><a class="toclink" href="#32x-series">3.2.x series</a></h2>
<h3 id="325"><a class="toclink" href="#325">3.2.5</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.5+Release%22">27th October 2015</a>.</p>
2015-10-27 17:44:29 +03:00
<ul>
<li>Escape <code>username</code> in optional logout tag. (<a href="https://github.com/encode/django-rest-framework/issues/3550">#3550</a>)</li>
2015-10-27 17:44:29 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="324"><a class="toclink" href="#324">3.2.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.4+Release%22">21th September 2015</a>.</p>
2015-09-23 02:55:03 +03:00
<ul>
<li>Don't error on missing <code>ViewSet.search_fields</code> attribute. (<a href="https://github.com/encode/django-rest-framework/issues/3324">#3324</a>, <a href="https://github.com/encode/django-rest-framework/issues/3323">#3323</a>)</li>
<li>Fix <code>allow_empty</code> not working on serializers with <code>many=True</code>. (<a href="https://github.com/encode/django-rest-framework/issues/3361">#3361</a>, <a href="https://github.com/encode/django-rest-framework/issues/3364">#3364</a>)</li>
<li>Let <code>DurationField</code> accepts integers. (<a href="https://github.com/encode/django-rest-framework/issues/3359">#3359</a>)</li>
<li>Multi-level dictionaries not supported in multipart requests. (<a href="https://github.com/encode/django-rest-framework/issues/3314">#3314</a>)</li>
<li>Fix <code>ListField</code> truncation on HTTP PATCH (<a href="https://github.com/encode/django-rest-framework/issues/3415">#3415</a>, <a href="https://github.com/encode/django-rest-framework/issues/2761">#2761</a>)</li>
2015-09-23 02:55:03 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="323"><a class="toclink" href="#323">3.2.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.3+Release%22">24th August 2015</a>.</p>
2015-08-24 13:04:47 +03:00
<ul>
<li>Added <code>html_cutoff</code> and <code>html_cutoff_text</code> for limiting select dropdowns. (<a href="https://github.com/encode/django-rest-framework/issues/3313">#3313</a>)</li>
<li>Added regex style to <code>SearchFilter</code>. (<a href="https://github.com/encode/django-rest-framework/issues/3316">#3316</a>)</li>
<li>Resolve issues with setting blank HTML fields. (<a href="https://github.com/encode/django-rest-framework/issues/3318">#3318</a>) (<a href="https://github.com/encode/django-rest-framework/issues/3321">#3321</a>)</li>
<li>Correctly display existing 'select multiple' values in browsable API forms. (<a href="https://github.com/encode/django-rest-framework/issues/3290">#3290</a>)</li>
<li>Resolve duplicated validation message for <code>IPAddressField</code>. ([#3249[gh3249]) (<a href="https://github.com/encode/django-rest-framework/issues/3250">#3250</a>)</li>
<li>Fix to ensure admin renderer continues to work when pagination is disabled. (<a href="https://github.com/encode/django-rest-framework/issues/3275">#3275</a>)</li>
<li>Resolve error with <code>LimitOffsetPagination</code> when count=0, offset=0. (<a href="https://github.com/encode/django-rest-framework/issues/3303">#3303</a>)</li>
2015-08-24 13:04:47 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="322"><a class="toclink" href="#322">3.2.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.2+Release%22">13th August 2015</a>.</p>
2015-08-13 12:25:15 +03:00
<ul>
<li>Add <code>display_value()</code> method for use when displaying relational field select inputs. (<a href="https://github.com/encode/django-rest-framework/issues/3254">#3254</a>)</li>
<li>Fix issue with <code>BooleanField</code> checkboxes incorrectly displaying as checked. (<a href="https://github.com/encode/django-rest-framework/issues/3258">#3258</a>)</li>
<li>Ensure empty checkboxes properly set <code>BooleanField</code> to <code>False</code> in all cases. (<a href="https://github.com/encode/django-rest-framework/issues/2776">#2776</a>)</li>
<li>Allow <code>WSGIRequest.FILES</code> property without raising incorrect deprecated error. (<a href="https://github.com/encode/django-rest-framework/issues/3261">#3261</a>)</li>
<li>Resolve issue with rendering nested serializers in forms. (<a href="https://github.com/encode/django-rest-framework/issues/3260">#3260</a>)</li>
<li>Raise an error if user accidentally pass a serializer instance to a response, rather than data. (<a href="https://github.com/encode/django-rest-framework/issues/3241">#3241</a>)</li>
2015-08-13 12:25:15 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="321"><a class="toclink" href="#321">3.2.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.1+Release%22">7th August 2015</a>.</p>
2015-08-07 16:56:12 +03:00
<ul>
<li>Fix for relational select widgets rendering without any choices. (<a href="https://github.com/encode/django-rest-framework/issues/3237">#3237</a>)</li>
<li>Fix for <code>1</code>, <code>0</code> rendering as <code>true</code>, <code>false</code> in the admin interface. <a href="https://github.com/encode/django-rest-framework/issues/3227">#3227</a>)</li>
<li>Fix for ListFields with single value in HTML form input. (<a href="https://github.com/encode/django-rest-framework/issues/3238">#3238</a>)</li>
<li>Allow <code>request.FILES</code> for compat with Django's <code>HTTPRequest</code> class. (<a href="https://github.com/encode/django-rest-framework/issues/3239">#3239</a>)</li>
2015-08-07 16:56:12 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="320"><a class="toclink" href="#320">3.2.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.2.0+Release%22">6th August 2015</a>.</p>
2015-08-06 16:31:52 +03:00
<ul>
<li>Add <code>AdminRenderer</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2926">#2926</a>)</li>
<li>Add <code>FilePathField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/1854">#1854</a>)</li>
<li>Add <code>allow_empty</code> to <code>ListField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2250">#2250</a>)</li>
<li>Support django-guardian 1.3. (<a href="https://github.com/encode/django-rest-framework/issues/3165">#3165</a>)</li>
<li>Support grouped choices. (<a href="https://github.com/encode/django-rest-framework/issues/3225">#3225</a>)</li>
<li>Support error forms in browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/3024">#3024</a>)</li>
<li>Allow permission classes to customize the error message. (<a href="https://github.com/encode/django-rest-framework/issues/2539">#2539</a>)</li>
<li>Support <code>source=&lt;method&gt;</code> on hyperlinked fields. (<a href="https://github.com/encode/django-rest-framework/issues/2690">#2690</a>)</li>
<li><code>ListField(allow_null=True)</code> now allows null as the list value, not null items in the list. (<a href="https://github.com/encode/django-rest-framework/issues/2766">#2766</a>)</li>
<li><code>ManyToMany()</code> maps to <code>allow_empty=False</code>, <code>ManyToMany(blank=True)</code> maps to <code>allow_empty=True</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2804">#2804</a>)</li>
<li>Support custom serialization styles for primary key fields. (<a href="https://github.com/encode/django-rest-framework/issues/2789">#2789</a>)</li>
<li><code>OPTIONS</code> requests support nested representations. (<a href="https://github.com/encode/django-rest-framework/issues/2915">#2915</a>)</li>
<li>Set <code>view.action == "metadata"</code> for viewsets with <code>OPTIONS</code> requests. (<a href="https://github.com/encode/django-rest-framework/issues/3115">#3115</a>)</li>
2015-08-06 16:31:52 +03:00
<li>Support <code>allow_blank</code> on <code>UUIDField</code>. ([#3130][gh#3130])</li>
<li>Do not display view docstrings with 401 or 403 response codes. (<a href="https://github.com/encode/django-rest-framework/issues/3216">#3216</a>)</li>
<li>Resolve Django 1.8 deprecation warnings. (<a href="https://github.com/encode/django-rest-framework/issues/2886">#2886</a>)</li>
<li>Fix for <code>DecimalField</code> validation. (<a href="https://github.com/encode/django-rest-framework/issues/3139">#3139</a>)</li>
<li>Fix behavior of <code>allow_blank=False</code> when used with <code>trim_whitespace=True</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2712">#2712</a>)</li>
<li>Fix issue with some field combinations incorrectly mapping to an invalid <code>allow_blank</code> argument. (<a href="https://github.com/encode/django-rest-framework/issues/3011">#3011</a>)</li>
<li>Fix for output representations with prefetches and modified querysets. (<a href="https://github.com/encode/django-rest-framework/issues/2704">#2704</a>, <a href="https://github.com/encode/django-rest-framework/issues/2727">#2727</a>)</li>
<li>Fix assertion error when CursorPagination is provided with certain invalid query parameters. (#2920)<a href="https://github.com/encode/django-rest-framework/issues/2920">gh2920</a>.</li>
<li>Fix <code>UnicodeDecodeError</code> when invalid characters included in header with <code>TokenAuthentication</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2928">#2928</a>)</li>
<li>Fix transaction rollbacks with <code>@non_atomic_requests</code> decorator. (<a href="https://github.com/encode/django-rest-framework/issues/3016">#3016</a>)</li>
<li>Fix duplicate results issue with Oracle databases using <code>SearchFilter</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2935">#2935</a>)</li>
<li>Fix checkbox alignment and rendering in browsable API forms. (<a href="https://github.com/encode/django-rest-framework/issues/2783">#2783</a>)</li>
<li>Fix for unsaved file objects which should use <code>"url": null</code> in the representation. (<a href="https://github.com/encode/django-rest-framework/issues/2759">#2759</a>)</li>
<li>Fix field value rendering in browsable API. (<a href="https://github.com/encode/django-rest-framework/issues/2416">#2416</a>)</li>
<li>Fix <code>HStoreField</code> to include <code>allow_blank=True</code> in <code>DictField</code> mapping. (<a href="https://github.com/encode/django-rest-framework/issues/2659">#2659</a>)</li>
2015-08-06 16:31:52 +03:00
<li>Numerous other cleanups, improvements to error messaging, private API &amp; minor fixes.</li>
</ul>
<hr />
2015-11-04 17:59:23 +03:00
<h2 id="31x-series"><a class="toclink" href="#31x-series">3.1.x series</a></h2>
<h3 id="313"><a class="toclink" href="#313">3.1.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.1.3+Release%22">4th June 2015</a>.</p>
2015-06-04 17:37:22 +03:00
<ul>
<li>Add <code>DurationField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2481">#2481</a>, <a href="https://github.com/encode/django-rest-framework/issues/2989">#2989</a>)</li>
<li>Add <code>format</code> argument to <code>UUIDField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2788">#2788</a>, <a href="https://github.com/encode/django-rest-framework/issues/3000">#3000</a>)</li>
<li><code>MultipleChoiceField</code> empties incorrectly on a partial update using multipart/form-data (<a href="https://github.com/encode/django-rest-framework/issues/2993">#2993</a>, <a href="https://github.com/encode/django-rest-framework/issues/2894">#2894</a>)</li>
<li>Fix a bug in options related to read-only <code>RelatedField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2981">#2981</a>, <a href="https://github.com/encode/django-rest-framework/issues/2811">#2811</a>)</li>
<li>Fix nested serializers with <code>unique_together</code> relations. (<a href="https://github.com/encode/django-rest-framework/issues/2975">#2975</a>)</li>
<li>Allow unexpected values for <code>ChoiceField</code>/<code>MultipleChoiceField</code> representations. (<a href="https://github.com/encode/django-rest-framework/issues/2839">#2839</a>, <a href="https://github.com/encode/django-rest-framework/issues/2940">#2940</a>)</li>
<li>Rollback the transaction on error if <code>ATOMIC_REQUESTS</code> is set. (<a href="https://github.com/encode/django-rest-framework/issues/2887">#2887</a>, <a href="https://github.com/encode/django-rest-framework/issues/2034">#2034</a>)</li>
<li>Set the action on a view when override_method regardless of its None-ness. (<a href="https://github.com/encode/django-rest-framework/issues/2933">#2933</a>)</li>
<li><code>DecimalField</code> accepts <code>2E+2</code> as 200 and validates decimal place correctly. (<a href="https://github.com/encode/django-rest-framework/issues/2948">#2948</a>, <a href="https://github.com/encode/django-rest-framework/issues/2947">#2947</a>)</li>
<li>Support basic authentication with custom <code>UserModel</code> that change <code>username</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2952">#2952</a>)</li>
<li><code>IPAddressField</code> improvements. (<a href="https://github.com/encode/django-rest-framework/issues/2747">#2747</a>, <a href="https://github.com/encode/django-rest-framework/issues/2618">#2618</a>, <a href="https://github.com/encode/django-rest-framework/issues/3008">#3008</a>)</li>
<li>Improve <code>DecimalField</code> for easier subclassing. (<a href="https://github.com/encode/django-rest-framework/issues/2695">#2695</a>)</li>
2015-06-04 17:37:22 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="312"><a class="toclink" href="#312">3.1.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.1.2+Release%22">13rd May 2015</a>.</p>
2015-05-14 12:03:42 +03:00
<ul>
<li><code>DateField.to_representation</code> can handle str and empty values. (<a href="https://github.com/encode/django-rest-framework/issues/2656">#2656</a>, <a href="https://github.com/encode/django-rest-framework/issues/2687">#2687</a>, <a href="https://github.com/encode/django-rest-framework/issues/2869">#2869</a>)</li>
<li>Use default reason phrases from HTTP standard. (<a href="https://github.com/encode/django-rest-framework/issues/2764">#2764</a>, <a href="https://github.com/encode/django-rest-framework/issues/2763">#2763</a>)</li>
<li>Raise error when <code>ModelSerializer</code> used with abstract model. (<a href="https://github.com/encode/django-rest-framework/issues/2757">#2757</a>, <a href="https://github.com/encode/django-rest-framework/issues/2630">#2630</a>)</li>
<li>Handle reversal of non-API view_name in <code>HyperLinkedRelatedField</code> (<a href="https://github.com/encode/django-rest-framework/issues/2724">#2724</a>, <a href="https://github.com/encode/django-rest-framework/issues/2711">#2711</a>)</li>
<li>Don't require pk strictly for related fields. (<a href="https://github.com/encode/django-rest-framework/issues/2745">#2745</a>, <a href="https://github.com/encode/django-rest-framework/issues/2754">#2754</a>)</li>
<li>Metadata detects null boolean field type. (<a href="https://github.com/encode/django-rest-framework/issues/2762">#2762</a>)</li>
<li>Proper handling of depth in nested serializers. (<a href="https://github.com/encode/django-rest-framework/issues/2798">#2798</a>)</li>
<li>Display viewset without paginator. (<a href="https://github.com/encode/django-rest-framework/issues/2807">#2807</a>)</li>
<li>Don't check for deprecated <code>.model</code> attribute in permissions (<a href="https://github.com/encode/django-rest-framework/issues/2818">#2818</a>)</li>
<li>Restrict integer field to integers and strings. (<a href="https://github.com/encode/django-rest-framework/issues/2835">#2835</a>, <a href="https://github.com/encode/django-rest-framework/issues/2836">#2836</a>)</li>
<li>Improve <code>IntegerField</code> to use compiled decimal regex. (<a href="https://github.com/encode/django-rest-framework/issues/2853">#2853</a>)</li>
<li>Prevent empty <code>queryset</code> to raise AssertionError. (<a href="https://github.com/encode/django-rest-framework/issues/2862">#2862</a>)</li>
<li><code>DjangoModelPermissions</code> rely on <code>get_queryset</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2863">#2863</a>)</li>
<li>Check <code>AcceptHeaderVersioning</code> with content negotiation in place. (<a href="https://github.com/encode/django-rest-framework/issues/2868">#2868</a>)</li>
<li>Allow <code>DjangoObjectPermissions</code> to use views that define <code>get_queryset</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2905">#2905</a>)</li>
2015-05-14 12:03:42 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="311"><a class="toclink" href="#311">3.1.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.1.1+Release%22">23rd March 2015</a>.</p>
2015-03-23 14:34:01 +03:00
<ul>
<li><strong>Security fix</strong>: Escape tab switching cookie name in browsable API.</li>
<li>Display input forms in browsable API if <code>serializer_class</code> is used, even when <code>get_serializer</code> method does not exist on the view. (<a href="https://github.com/encode/django-rest-framework/issues/2643">#2743</a>)</li>
<li>Use a password input for the AuthTokenSerializer. (<a href="https://github.com/encode/django-rest-framework/issues/2641">#2741</a>)</li>
<li>Fix missing anchor closing tag after next button. (<a href="https://github.com/encode/django-rest-framework/issues/2691">#2691</a>)</li>
<li>Fix <code>lookup_url_kwarg</code> handling in viewsets. (<a href="https://github.com/encode/django-rest-framework/issues/2685">#2685</a>, <a href="https://github.com/encode/django-rest-framework/issues/2591">#2591</a>)</li>
<li>Fix problem with importing <code>rest_framework.views</code> in <code>apps.py</code> (<a href="https://github.com/encode/django-rest-framework/issues/2678">#2678</a>)</li>
<li>LimitOffsetPagination raises <code>TypeError</code> if PAGE_SIZE not set (<a href="https://github.com/encode/django-rest-framework/issues/2667">#2667</a>, <a href="https://github.com/encode/django-rest-framework/issues/2700">#2700</a>)</li>
<li>German translation for <code>min_value</code> field error message references <code>max_value</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2645">#2645</a>)</li>
<li>Remove <code>MergeDict</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2640">#2640</a>)</li>
<li>Support serializing unsaved models with related fields. (<a href="https://github.com/encode/django-rest-framework/issues/2637">#2637</a>, <a href="https://github.com/encode/django-rest-framework/issues/2641">#2641</a>)</li>
<li>Allow blank/null on radio.html choices. (<a href="https://github.com/encode/django-rest-framework/issues/2631">#2631</a>)</li>
2015-03-23 14:34:01 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="310"><a class="toclink" href="#310">3.1.0</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.1.0+Release%22">5th March 2015</a>.</p>
2015-06-04 17:37:22 +03:00
<p>For full details see the <a href="../3.1-announcement/">3.1 release announcement</a>.</p>
2015-03-23 14:37:42 +03:00
<hr />
2015-11-04 17:59:23 +03:00
<h2 id="30x-series"><a class="toclink" href="#30x-series">3.0.x series</a></h2>
<h3 id="305"><a class="toclink" href="#305">3.0.5</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.5+Release%22">10th February 2015</a>.</p>
2015-02-11 01:56:05 +03:00
<ul>
<li>Fix a bug where <code>_closable_objects</code> breaks pickling. (<a href="https://github.com/encode/django-rest-framework/issues/1850">#1850</a>, <a href="https://github.com/encode/django-rest-framework/issues/2492">#2492</a>)</li>
<li>Allow non-standard <code>User</code> models with <code>Throttling</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2524">#2524</a>)</li>
<li>Support custom <code>User.db_table</code> in TokenAuthentication migration. (<a href="https://github.com/encode/django-rest-framework/issues/2479">#2479</a>)</li>
<li>Fix misleading <code>AttributeError</code> tracebacks on <code>Request</code> objects. (<a href="https://github.com/encode/django-rest-framework/issues/2530">#2530</a>, <a href="https://github.com/encode/django-rest-framework/issues/2108">#2108</a>)</li>
<li><code>ManyRelatedField.get_value</code> clearing field on partial update. (<a href="https://github.com/encode/django-rest-framework/issues/2475">#2475</a>)</li>
<li>Removed '.model' shortcut from code. (<a href="https://github.com/encode/django-rest-framework/issues/2486">#2486</a>)</li>
<li>Fix <code>detail_route</code> and <code>list_route</code> mutable argument. (<a href="https://github.com/encode/django-rest-framework/issues/2518">#2518</a>)</li>
<li>Prefetching the user object when getting the token in <code>TokenAuthentication</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2519">#2519</a>)</li>
2015-02-11 01:56:05 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="304"><a class="toclink" href="#304">3.0.4</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.4+Release%22">28th January 2015</a>.</p>
2015-01-28 01:15:26 +03:00
<ul>
<li>Django 1.8a1 support. (<a href="https://github.com/encode/django-rest-framework/issues/2425">#2425</a>, <a href="https://github.com/encode/django-rest-framework/issues/2446">#2446</a>, <a href="https://github.com/encode/django-rest-framework/issues/2441">#2441</a>)</li>
<li>Add <code>DictField</code> and support Django 1.8 <code>HStoreField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2451">#2451</a>, <a href="https://github.com/encode/django-rest-framework/issues/2106">#2106</a>)</li>
<li>Add <code>UUIDField</code> and support Django 1.8 <code>UUIDField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2448">#2448</a>, <a href="https://github.com/encode/django-rest-framework/issues/2433">#2433</a>, <a href="https://github.com/encode/django-rest-framework/issues/2432">#2432</a>)</li>
<li><code>BaseRenderer.render</code> now raises <code>NotImplementedError</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2434">#2434</a>)</li>
<li>Fix timedelta JSON serialization on Python 2.6. (<a href="https://github.com/encode/django-rest-framework/issues/2430">#2430</a>)</li>
<li><code>ResultDict</code> and <code>ResultList</code> now appear as standard dict/list. (<a href="https://github.com/encode/django-rest-framework/issues/2421">#2421</a>)</li>
<li>Fix visible <code>HiddenField</code> in the HTML form of the web browsable API page. (<a href="https://github.com/encode/django-rest-framework/issues/2410">#2410</a>)</li>
<li>Use <code>OrderedDict</code> for <code>RelatedField.choices</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2408">#2408</a>)</li>
<li>Fix ident format when using <code>HTTP_X_FORWARDED_FOR</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2401">#2401</a>)</li>
<li>Fix invalid key with memcached while using throttling. (<a href="https://github.com/encode/django-rest-framework/issues/2400">#2400</a>)</li>
<li>Fix <code>FileUploadParser</code> with version 3.x. (<a href="https://github.com/encode/django-rest-framework/issues/2399">#2399</a>)</li>
<li>Fix the serializer inheritance. (<a href="https://github.com/encode/django-rest-framework/issues/2388">#2388</a>)</li>
<li>Fix caching issues with <code>ReturnDict</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2360">#2360</a>)</li>
2015-01-28 01:15:26 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="303"><a class="toclink" href="#303">3.0.3</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.3+Release%22">8th January 2015</a>.</p>
2015-01-10 12:41:12 +03:00
<ul>
<li>Fix <code>MinValueValidator</code> on <code>models.DateField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2369">#2369</a>)</li>
<li>Fix serializer missing context when pagination is used. (<a href="https://github.com/encode/django-rest-framework/issues/2355">#2355</a>)</li>
<li>Namespaced router URLs are now supported by the <code>DefaultRouter</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2351">#2351</a>)</li>
<li><code>required=False</code> allows omission of value for output. (<a href="https://github.com/encode/django-rest-framework/issues/2342">#2342</a>)</li>
<li>Use textarea input for <code>models.TextField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2340">#2340</a>)</li>
<li>Use custom <code>ListSerializer</code> for pagination if required. (<a href="https://github.com/encode/django-rest-framework/issues/2331">#2331</a>, <a href="https://github.com/encode/django-rest-framework/issues/2327">#2327</a>)</li>
<li>Better behavior with null and '' for blank HTML fields. (<a href="https://github.com/encode/django-rest-framework/issues/2330">#2330</a>)</li>
<li>Ensure fields in <code>exclude</code> are model fields. (<a href="https://github.com/encode/django-rest-framework/issues/2319">#2319</a>)</li>
<li>Fix <code>IntegerField</code> and <code>max_length</code> argument incompatibility. (<a href="https://github.com/encode/django-rest-framework/issues/2317">#2317</a>)</li>
<li>Fix the YAML encoder for 3.0 serializers. (<a href="https://github.com/encode/django-rest-framework/issues/2315">#2315</a>, <a href="https://github.com/encode/django-rest-framework/issues/2283">#2283</a>)</li>
<li>Fix the behavior of empty HTML fields. (<a href="https://github.com/encode/django-rest-framework/issues/2311">#2311</a>, <a href="https://github.com/encode/django-rest-framework/issues/1101">#1101</a>)</li>
<li>Fix Metaclass attribute depth ignoring fields attribute. (<a href="https://github.com/encode/django-rest-framework/issues/2287">#2287</a>)</li>
<li>Fix <code>format_suffix_patterns</code> to work with Django's <code>i18n_patterns</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2278">#2278</a>)</li>
<li>Ability to customize router URLs for custom actions, using <code>url_path</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2010">#2010</a>)</li>
<li>Don't install Django REST Framework as egg. (<a href="https://github.com/encode/django-rest-framework/issues/2386">#2386</a>)</li>
2015-01-10 12:41:12 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="302"><a class="toclink" href="#302">3.0.2</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.2+Release%22">17th December 2014</a>.</p>
2014-12-18 00:10:17 +03:00
<ul>
<li>Ensure <code>request.user</code> is made available to response middleware. (<a href="https://github.com/encode/django-rest-framework/issues/2155">#2155</a>)</li>
<li><code>Client.logout()</code> also cancels any existing <code>force_authenticate</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2218">#2218</a>, <a href="https://github.com/encode/django-rest-framework/issues/2259">#2259</a>)</li>
<li>Extra assertions and better checks to preventing incorrect serializer API use. (<a href="https://github.com/encode/django-rest-framework/issues/2228">#2228</a>, <a href="https://github.com/encode/django-rest-framework/issues/2234">#2234</a>, <a href="https://github.com/encode/django-rest-framework/issues/2262">#2262</a>, <a href="https://github.com/encode/django-rest-framework/issues/2263">#2263</a>, <a href="https://github.com/encode/django-rest-framework/issues/2266">#2266</a>, <a href="https://github.com/encode/django-rest-framework/issues/2267">#2267</a>, <a href="https://github.com/encode/django-rest-framework/issues/2289">#2289</a>, <a href="https://github.com/encode/django-rest-framework/issues/2291">#2291</a>)</li>
<li>Fixed <code>min_length</code> message for <code>CharField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2255">#2255</a>)</li>
<li>Fix <code>UnicodeDecodeError</code>, which can occur on serializer <code>repr</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2270">#2270</a>, <a href="https://github.com/encode/django-rest-framework/issues/2279">#2279</a>)</li>
<li>Fix empty HTML values when a default is provided. (<a href="https://github.com/encode/django-rest-framework/issues/2280">#2280</a>, <a href="https://github.com/encode/django-rest-framework/issues/2294">#2294</a>)</li>
<li>Fix <code>SlugRelatedField</code> raising <code>UnicodeEncodeError</code> when used as a multiple choice input. (<a href="https://github.com/encode/django-rest-framework/issues/2290">#2290</a>)</li>
2014-12-18 00:10:17 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="301"><a class="toclink" href="#301">3.0.1</a></h3>
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/issues?q=milestone%3A%223.0.1+Release%22">11th December 2014</a>.</p>
2014-12-12 00:11:27 +03:00
<ul>
<li>More helpful error message when the default Serializer <code>create()</code> fails. (<a href="https://github.com/encode/django-rest-framework/issues/2013">#2013</a>)</li>
<li>Raise error when attempting to save serializer if data is not valid. (<a href="https://github.com/encode/django-rest-framework/issues/2098">#2098</a>)</li>
<li>Fix <code>FileUploadParser</code> breaks with empty file names and multiple upload handlers. (<a href="https://github.com/encode/django-rest-framework/issues/2109">#2109</a>)</li>
<li>Improve <code>BindingDict</code> to support standard dict-functions. (<a href="https://github.com/encode/django-rest-framework/issues/2135">#2135</a>, <a href="https://github.com/encode/django-rest-framework/issues/2163">#2163</a>)</li>
<li>Add <code>validate()</code> to <code>ListSerializer</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2168">#2168</a>, <a href="https://github.com/encode/django-rest-framework/issues/2225">#2225</a>, <a href="https://github.com/encode/django-rest-framework/issues/2232">#2232</a>)</li>
<li>Fix JSONP renderer failing to escape some characters. (<a href="https://github.com/encode/django-rest-framework/issues/2169">#2169</a>, <a href="https://github.com/encode/django-rest-framework/issues/2195">#2195</a>)</li>
<li>Add missing default style for <code>FileField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2172">#2172</a>)</li>
<li>Actions are required when calling <code>ViewSet.as_view()</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2175">#2175</a>)</li>
<li>Add <code>allow_blank</code> to <code>ChoiceField</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2184">#2184</a>, <a href="https://github.com/encode/django-rest-framework/issues/2239">#2239</a>)</li>
<li>Cosmetic fixes in the HTML renderer. (<a href="https://github.com/encode/django-rest-framework/issues/2187">#2187</a>)</li>
<li>Raise error if <code>fields</code> on serializer is not a list of strings. (<a href="https://github.com/encode/django-rest-framework/issues/2193">#2193</a>, <a href="https://github.com/encode/django-rest-framework/issues/2213">#2213</a>)</li>
<li>Improve checks for nested creates and updates. (<a href="https://github.com/encode/django-rest-framework/issues/2194">#2194</a>, <a href="https://github.com/encode/django-rest-framework/issues/2196">#2196</a>)</li>
<li><code>validated_attrs</code> argument renamed to <code>validated_data</code> in <code>Serializer</code> <code>create()</code>/<code>update()</code>. (<a href="https://github.com/encode/django-rest-framework/issues/2197">#2197</a>)</li>
<li>Remove deprecated code to reflect the dropped Django versions. (<a href="https://github.com/encode/django-rest-framework/issues/2200">#2200</a>)</li>
<li>Better serializer errors for nested writes. (<a href="https://github.com/encode/django-rest-framework/issues/2202">#2202</a>, <a href="https://github.com/encode/django-rest-framework/issues/2215">#2215</a>)</li>
<li>Fix pagination and custom permissions incompatibility. (<a href="https://github.com/encode/django-rest-framework/issues/2205">#2205</a>)</li>
<li>Raise error if <code>fields</code> on serializer is not a list of strings. (<a href="https://github.com/encode/django-rest-framework/issues/2213">#2213</a>)</li>
<li>Add missing translation markers for relational fields. (<a href="https://github.com/encode/django-rest-framework/issues/2231">#2231</a>)</li>
<li>Improve field lookup behavior for dicts/mappings. (<a href="https://github.com/encode/django-rest-framework/issues/2244">#2244</a>, <a href="https://github.com/encode/django-rest-framework/issues/2243">#2243</a>)</li>
<li>Optimized hyperlinked PK. (<a href="https://github.com/encode/django-rest-framework/issues/2242">#2242</a>)</li>
2014-12-12 00:11:27 +03:00
</ul>
2015-11-04 17:59:23 +03:00
<h3 id="300"><a class="toclink" href="#300">3.0.0</a></h3>
2014-12-08 18:16:45 +03:00
<p><strong>Date</strong>: 1st December 2014</p>
2015-06-04 17:37:22 +03:00
<p>For full details see the <a href="../3.0-announcement/">3.0 release announcement</a>.</p>
2014-12-08 18:16:45 +03:00
<hr />
<p>For older release notes, <a href="https://github.com/encode/django-rest-framework/blob/version-2.4.x/docs/topics/release-notes.md">please see the version 2.x documentation</a>.</p>
2014-12-18 00:10:17 +03:00
<!-- 3.0.1 -->
<!-- 3.0.2 -->
2015-01-28 01:15:26 +03:00
<!-- 3.0.3 -->
2015-02-11 01:56:05 +03:00
<!-- 3.0.4 -->
2015-03-23 14:34:01 +03:00
<!-- 3.0.5 -->
2015-05-14 12:03:42 +03:00
<!-- 3.1.1 -->
2015-06-04 17:37:22 +03:00
<!-- 3.1.2 -->
<!-- 3.1.3 -->
2015-08-06 16:31:52 +03:00
<!-- 3.2.0 -->
2015-08-07 16:56:12 +03:00
<!-- 3.2.1 -->
2015-08-13 12:25:15 +03:00
<!-- 3.2.2 -->
2015-08-24 13:04:47 +03:00
<!-- 3.2.3 -->
2015-09-23 02:55:03 +03:00
<!-- 3.2.4 -->
2015-10-28 14:35:39 +03:00
<!-- 3.2.5 -->
<!-- 3.3.0 -->
2015-11-04 17:59:23 +03:00
<!-- 3.3.1 -->
2015-12-14 15:52:03 +03:00
<!-- 3.3.2 -->
2016-03-14 10:52:29 +03:00
<!-- 3.3.3 -->
<!-- 3.4.0 -->
<!-- 3.4.1 -->
<!-- 3.4.2 -->
<!-- 3.4.3 -->
<!-- 3.4.4 -->
<!-- 3.4.5 -->
<!-- 3.4.6 -->
<!-- 3.4.7 -->
<!-- 3.5.1 -->
<!-- 3.5.2 -->
<!-- 3.5.3 -->
<!-- 3.5.4 -->
<!-- 3.6.1 -->
<!-- 3.6.2 -->
<!-- 3.6.3 -->
<!-- 3.6.4 -->
<!-- 3.7.0 -->
<!-- 3.7.1 -->
<!-- 3.7.2 -->
<!-- 3.7.3 -->
<!-- 3.7.4 -->
<!-- 3.7.5 -->
<!-- 3.8.0 -->
<!-- 3.8.1 -->
<!-- 3.8.2 -->
<!-- 3.9.0 -->
<!-- 3.9.1 -->
2015-06-04 17:37:22 +03:00
2015-05-15 11:19:49 +03:00
2015-06-23 14:05:53 +03:00
</div> <!--/span-->
</div> <!--/row-->
</div> <!--/.fluid-container-->
</div> <!--/.body content-->
2014-11-25 19:04:38 +03:00
<div id="push"></div>
2015-06-23 14:05:53 +03:00
</div> <!--/.wrapper -->
2013-11-17 22:26:41 +04:00
<footer class="span12">
2015-10-28 14:35:39 +03:00
<p>Documentation built with <a href="http://www.mkdocs.org/">MkDocs</a>.
2014-11-25 19:04:38 +03:00
</p>
2013-11-17 22:26:41 +04:00
</footer>
2014-11-25 19:04:38 +03:00
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../js/jquery-1.8.1-min.js"></script>
<script src="../../js/prettify-1.0.js"></script>
<script src="../../js/bootstrap-2.1.1-min.js"></script>
2016-05-26 13:48:39 +03:00
<script src="https://fund.django-rest-framework.org/sidebar_include.js"></script>
2015-06-04 17:37:22 +03:00
<script>var base_url = '../..';</script>
<script src="../../mkdocs/js/require.js"></script>
2014-12-11 12:55:10 +03:00
<script src="../../js/theme.js"></script>
2014-11-25 19:04:38 +03:00
<script>
var shiftWindow = function() {
scrollBy(0, -50)
};
2015-06-23 14:05:53 +03:00
2014-11-25 19:04:38 +03:00
if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow);
2013-11-17 22:26:41 +04:00
2014-11-25 19:04:38 +03:00
$('.dropdown-menu').on('click touchstart', function(event) {
event.stopPropagation();
});
2013-11-17 22:26:41 +04:00
2015-06-23 14:05:53 +03:00
// Dynamically force sidenav/dropdown to no higher than browser window
$('.side-nav, .dropdown-menu').css('max-height', window.innerHeight - 130);
2014-11-25 19:04:38 +03:00
$(function() {
$(window).resize(function() {
2015-06-23 14:05:53 +03:00
$('.side-nav, .dropdown-menu').css('max-height', window.innerHeight - 130);
2013-11-17 22:26:41 +04:00
});
2014-11-25 19:04:38 +03:00
});
</script>
</body>
</html>