2015-06-08 20:28:30 +00:00
|
|
|
Version History
|
|
|
|
===============
|
2018-04-12 11:03:17 +00:00
|
|
|
|
2021-10-01 12:35:10 +00:00
|
|
|
:compare:`Next <3.0.4...master>`
|
|
|
|
--------------------------------
|
2021-10-07 10:44:38 +00:00
|
|
|
- Add a transcoder for `application/x-www-formurlencoded`_
|
2021-10-01 12:35:10 +00:00
|
|
|
- Add type annotations (see :ref:`type-info`)
|
2021-10-02 14:36:19 +00:00
|
|
|
- Return a "406 Not Acceptable" if the :http:header:`Accept` header values cannot be matched
|
|
|
|
and there is no default content type configured
|
2021-10-02 15:26:26 +00:00
|
|
|
- Deprecate not having a default content type configured
|
2021-10-02 15:44:57 +00:00
|
|
|
- Fail gracefully when a transcoder does not exist for the default content type
|
2021-10-14 11:06:07 +00:00
|
|
|
- Fail gracefully when a transcoder raises a :exc:`TypeError` or :exc:`ValueError` when encoding
|
|
|
|
the response
|
2021-10-01 12:35:10 +00:00
|
|
|
|
2021-10-07 10:44:38 +00:00
|
|
|
.. _application/x-www-formurlencoded: https://url.spec.whatwg.org/#application/x-www-form-urlencoded
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`3.0.4 <3.0.3...3.0.4>` (2 Nov 2020)
|
|
|
|
---------------------------------------------
|
2020-10-29 17:50:33 +00:00
|
|
|
- Return a "400 Bad Request" when an invalid Content-Type header is received
|
|
|
|
instead of failing with an internal server error
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`3.0.3 <3.0.2...3.0.3>` (14 Sep 2020)
|
|
|
|
----------------------------------------------
|
2020-09-14 11:53:58 +00:00
|
|
|
- Import from collections.abc instead of collections (thanks @nullsvm)
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`3.0.2 <3.0.1...3.0.2>` (4 May 2020)
|
|
|
|
---------------------------------------------
|
2020-05-04 20:55:22 +00:00
|
|
|
- Do not log tracebacks when decoding the request body fails
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`3.0.1 <3.0.0...3.0.1>` (5 Mar 2019)
|
|
|
|
---------------------------------------------
|
2019-03-05 14:32:00 +00:00
|
|
|
- Set Tornado PIN to >=5, <7
|
|
|
|
- Remove setuptools_scm
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`3.0.0 <2.2.2...3.0.0>` (4 Dec 2018)
|
|
|
|
---------------------------------------------
|
2018-12-05 04:52:54 +00:00
|
|
|
- Add MessagePack dependencies to package extras (eg. `pip install sprockets.mixins.mediatype[msgpack]`)
|
2018-12-05 04:20:05 +00:00
|
|
|
- Update to minimum of ietfparse 1.5.1
|
|
|
|
- Drop support for Python < 3.7
|
|
|
|
- Drop support for Tornado < 5
|
|
|
|
- Remove deprecated :meth:`sprockets.mixins.mediatype.content.ContentSettings.from_application`.
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.2.2 <2.2.1...2.2.2>` (7 Apr 2018)
|
|
|
|
---------------------------------------------
|
2018-12-05 03:56:51 +00:00
|
|
|
- Add support for Python 3.5 through 3.7
|
2018-08-07 19:52:59 +00:00
|
|
|
- Add support for Tornado < 6
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.2.1 <2.2.0...2.2.1>` (12 Apr 2018)
|
|
|
|
----------------------------------------------
|
2018-04-12 11:03:17 +00:00
|
|
|
- Pin :mod:`ietfparse` to avoid breakages introduced in 1.5.0.
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.2.0 <2.1.0...2.2.0>` (7 Jun 2017)
|
|
|
|
---------------------------------------------
|
2016-04-03 11:41:15 +00:00
|
|
|
- Add :func:`sprockets.mixins.mediatype.content.install`.
|
|
|
|
- Add :func:`sprockets.mixins.mediatype.content.get_settings`.
|
2016-04-05 11:47:41 +00:00
|
|
|
- Deprecate :meth:`sprockets.mixins.mediatype.content.ContentSettings.from_application`.
|
2017-06-08 17:24:10 +00:00
|
|
|
- Update to ietfparse 1.4.
|
2015-09-09 22:02:06 +00:00
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.1.0 <2.0.1...2.1.0>` (16 Mar 2016)
|
|
|
|
----------------------------------------------
|
2018-04-12 11:03:17 +00:00
|
|
|
- Set the :http:header:`Vary` header if we are setting the content type.
|
2016-03-13 13:34:32 +00:00
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.0.1 <2.0.0...2.0.1>` (29 Feb 2016)
|
|
|
|
----------------------------------------------
|
2016-02-29 19:35:07 +00:00
|
|
|
- Removed deprecation wrapper since it seems to cause really interesting
|
|
|
|
problems including the much feared meta-class error.
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`2.0.0 <1.0.4...2.0.0>` (24 Feb 2016)
|
|
|
|
----------------------------------------------
|
2015-11-03 13:10:08 +00:00
|
|
|
- Repackage from a module into a package. Distributing raw modules inside
|
|
|
|
of a namespace package is unreliable and questionably correct.
|
2016-01-10 18:51:14 +00:00
|
|
|
- Add :func:`sprockets.mixins.mediatype.content.add_transcoder`.
|
2016-02-22 14:58:58 +00:00
|
|
|
- Add :class:`sprockets.mixins.mediatype.transcoders.JSONTranscoder`.
|
|
|
|
- Add :class:`sprockets.mixins.mediatype.transcoders.MsgPackTranscoder`.
|
|
|
|
- Add :class:`sprockets.mixins.mediatype.transcoders.BinaryWrapper`.
|
2016-01-31 17:09:07 +00:00
|
|
|
- Normalize registered MIME types.
|
2016-02-22 14:58:58 +00:00
|
|
|
- Raise a 400 status when content body decoding fails.
|
2015-11-03 13:10:08 +00:00
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`1.0.4 <1.0.3...1.0.4>` (14 Sep 2015)
|
|
|
|
----------------------------------------------
|
2015-09-14 15:15:29 +00:00
|
|
|
- Support using the default_content_type in the settings if request does not
|
|
|
|
contain the Accept header
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`1.0.3 <1.0.2...1.0.3>` (10 Sep 2015)
|
|
|
|
----------------------------------------------
|
2015-09-10 15:16:03 +00:00
|
|
|
- Update installation files
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`1.0.2 <1.0.1...1.0.2>` (9 Sep 2015)
|
|
|
|
---------------------------------------------
|
2015-09-10 15:16:03 +00:00
|
|
|
- Rename package to mediatype
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`1.0.1 <1.0.0...1.0.1>` (9 Sep 2015)
|
|
|
|
---------------------------------------------
|
2015-09-09 22:02:06 +00:00
|
|
|
- Repackaged for Travis-CI configuration.
|
|
|
|
|
2021-09-12 13:19:59 +00:00
|
|
|
:compare:`1.0.0 <0.0.0...1.0.0>` (9 Sep 2015)
|
|
|
|
---------------------------------------------
|
2015-09-09 20:14:39 +00:00
|
|
|
- Initial Release
|