Release Notes
Release Early, Release Often
— Eric S. Raymond, The Cathedral and the Bazaar.
Versioning
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.
Medium version numbers (0.x.0) may include API changes, in line with the deprecation policy. You should read the release notes carefully before upgrading between medium point releases.
Major version numbers (x.0.0) are reserved for substantial project milestones.
Deprecation policy
REST framework releases follow a formal deprecation policy, which is in line with Django's deprecation policy.
The timeline for deprecation of a feature present in version 1.0 would work as follows:
- 
Version 1.1 would remain fully backwards compatible with 1.0, but would raise PendingDeprecationWarningwarnings if you use the feature that are due to be deprecated. These warnings are silent by default, but can be explicitly enabled when you're ready to start migrating any required changes. For example if you start running your tests usingpython -Wd manage.py test, you'll be warned of any API changes you need to make.
- 
Version 1.2 would escalate these warnings to DeprecationWarning, which is loud by default.
- 
Version 1.3 would remove the deprecated bits of API entirely. 
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.
Upgrading
To upgrade Django REST framework to the latest version, use pip:
pip install -U djangorestframework
You can determine your currently installed version using pip freeze:
pip freeze | grep djangorestframework
3.0.x series
3.1.0
Date: [5th March 2015][3.1.0-milestone].
For full details see the 3.1 release announcement.
3.0.5
Date: 10th February 2015.
- Fix a bug where _closable_objectsbreaks pickling. (#1850, #2492)
- Allow non-standard Usermodels withThrottling. (#2524)
- Support custom User.db_tablein TokenAuthentication migration. (#2479)
- Fix misleading AttributeErrortracebacks onRequestobjects. (#2530, #2108)
- ManyRelatedField.get_valueclearing field on partial update. (#2475)
- Removed '.model' shortcut from code. (#2486)
- Fix detail_routeandlist_routemutable argument. (#2518)
- Prefetching the user object when getting the token in TokenAuthentication. (#2519)
3.0.4
Date: 28th January 2015.
- Django 1.8a1 support. (#2425, #2446, #2441)
- Add DictFieldand support Django 1.8HStoreField. (#2451, #2106)
- Add UUIDFieldand support Django 1.8UUIDField. (#2448, #2433, #2432)
- BaseRenderer.rendernow raises- NotImplementedError. (#2434)
- Fix timedelta JSON serialization on Python 2.6. (#2430)
- ResultDictand- ResultListnow appear as standard dict/list. (#2421)
- Fix visible HiddenFieldin the HTML form of the web browsable API page. (#2410)
- Use OrderedDictforRelatedField.choices. (#2408)
- Fix ident format when using HTTP_X_FORWARDED_FOR. (#2401)
- Fix invalid key with memcached while using throttling. (#2400)
- Fix FileUploadParserwith version 3.x. (#2399)
- Fix the serializer inheritance. (#2388)
- Fix caching issues with ReturnDict. (#2360)
3.0.3
Date: 8th January 2015.
- Fix MinValueValidatoronmodels.DateField. (#2369)
- Fix serializer missing context when pagination is used. (#2355)
- Namespaced router URLs are now supported by the DefaultRouter. (#2351)
- required=Falseallows omission of value for output. (#2342)
- Use textarea input for models.TextField. (#2340)
- Use custom ListSerializerfor pagination if required. (#2331, #2327)
- Better behavior with null and '' for blank HTML fields. (#2330)
- Ensure fields in excludeare model fields. (#2319)
- Fix IntegerFieldandmax_lengthargument incompatibility. (#2317)
- Fix the YAML encoder for 3.0 serializers. (#2315, #2283)
- Fix the behavior of empty HTML fields. (#2311, #1101)
- Fix Metaclass attribute depth ignoring fields attribute. (#2287)
- Fix format_suffix_patternsto work with Django'si18n_patterns. (#2278)
- Ability to customize router URLs for custom actions, using url_path. (#2010)
- Don't install Django REST Framework as egg. (#2386)
3.0.2
Date: 17th December 2014.
- Ensure request.useris made available to response middleware. (#2155)
- Client.logout()also cancels any existing- force_authenticate. (#2218, #2259)
- Extra assertions and better checks to preventing incorrect serializer API use. (#2228, #2234, #2262, #2263, #2266, #2267, #2289, #2291)
- Fixed min_lengthmessage forCharField. (#2255)
- Fix UnicodeDecodeError, which can occur on serializerrepr. (#2270, #2279)
- Fix empty HTML values when a default is provided. (#2280, #2294)
- Fix SlugRelatedFieldraisingUnicodeEncodeErrorwhen used as a multiple choice input. (#2290)
3.0.1
Date: 11th December 2014.
- More helpful error message when the default Serializer create()fails. (#2013)
- Raise error when attempting to save serializer if data is not valid. (#2098)
- Fix FileUploadParserbreaks with empty file names and multiple upload handlers. (#2109)
- Improve BindingDictto support standard dict-functions. (#2135, #2163)
- Add validate()toListSerializer. (#2168, #2225, #2232)
- Fix JSONP renderer failing to escape some characters. (#2169, #2195)
- Add missing default style for FileField. (#2172)
- Actions are required when calling ViewSet.as_view(). (#2175)
- Add allow_blanktoChoiceField. (#2184, #2239)
- Cosmetic fixes in the HTML renderer. (#2187)
- Raise error if fieldson serializer is not a list of strings. (#2193, #2213)
- Improve checks for nested creates and updates. (#2194, #2196)
- validated_attrsargument renamed to- validated_datain- Serializer- create()/- update(). (#2197)
- Remove deprecated code to reflect the dropped Django versions. (#2200)
- Better serializer errors for nested writes. (#2202, #2215)
- Fix pagination and custom permissions incompatibility. (#2205)
- Raise error if fieldson serializer is not a list of strings. (#2213)
- Add missing translation markers for relational fields. (#2231)
- Improve field lookup behavior for dicts/mappings. (#2244, #2243)
- Optimized hyperlinked PK. (#2242)
3.0.0
Date: 1st December 2014
For full details see the 3.0 release announcement.
For older release notes, please see the version 2.x documentation.