-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCHANGES
84 lines (57 loc) · 1.71 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Changelog
=========
0.4.0
-----
This release is not fully backwards compatible with the 0.3.5 version.
* Drop Flask versions older than ``2.2.0``.
* Use the new JSON provider interface introduced in the
`Flask 2.2.0 <https://github.com/pallets/flask/pull/4692>`_
(`#10 <https://github.com/skozlovf/flask-json/issues/10>`_,
`#12 <https://github.com/skozlovf/flask-json/issues/12>`_).
* Add numeric keys support (`#11 <https://github.com/skozlovf/flask-json/issues/11>`_).
* Allow specifying both ``data_`` and ``kwargs`` in the ``json_response()``.
Incompatible changes:
* Remove ``JsonTestResponse``, ``flask.Response.json`` provides the same feature.
0.3.5
-----
* Improve empty data processing (`#9 <https://github.com/skozlovf/flask-json/issues/9>`_).
0.3.4
-----
* Fix deprecation warning.
* Update tests.
0.3.3
-----
* Allow jsonify standard HTTP errors.
0.3.2
-----
* Add non-dictionary values support.
* Fix tests.
0.3.1
-----
* Switch to ``pytest``.
0.3.0
-----
* JSONP support.
* Allow to control HTTP status filed in ``json_response()``.
0.2.0
-----
* Support ``None`` and response instances in ``@as_json``.
* Fix ``@as_json`` documentation.
0.1
---
This release is not fully backwards compatible with the 0.0.1 version.
* New ``@as_json`` decorator.
* New ``JsonTestResponse`` class.
* Allow to change HTTP status field name.
* Allow to set custom JSON response headers.
* Better JSON error class API.
* Better encoding: more types out of the box, better time values format handling,
fixed encoding order.
* Better project documentation.
* Better tests.
Incompatible changes:
* ``JsonErrorResponse`` renamed to ``JsonError``.
* Changed ``json_response()`` signature.
0.0.1
-----
First public alpha.