summaryrefslogtreecommitdiff
path: root/NEWS
blob: efcbfbf02aa15807be9101fdd578a37b0a8fabfb (plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
apifw NEWS
=============================================================================

This file summarizes changes between releases of `apifw`.


Version 0.33+git, not yet released
----------------------------------


Version 0.33, released 2018-03-24
----------------------------------

* Fix bug: http.py had a logging call that breaks applications using
  the slog library. The call is now removed.

Version 0.32, released 2018-03-24
----------------------------------

* Add support for uploading (PUT) and downloading (GET) large files,
  using bottle.py's `static_file` and some poking at bottle's
  internals in a particularly ugly way.

Version 0.31, released 2017-12-08
----------------------------------

* Log when callbacks have happened.

Version 0.30, released 2017-12-07
----------------------------------

* Fixed using of supplised dict logger.

Version 0.29, released 2017-12-07
----------------------------------

* Logging now always goes via the logger specified by the application,
  instead of the logging stdlib library.

Version 0.19, released 2017-12-07
----------------------------------

* Parsed token are cached, for speed.

* Some debug logging messages have been dropped, for speed.

Version 0.18, released 2017-11-22
----------------------------------

* The verified, parsed JWT bearer token is now passed onto callbacks
  as the `claims` keyword argument.

Version 0.17, released 2017-11-19
----------------------------------

* Fix bug in scope checking.

Version 0.16, released 2017-11-13
----------------------------------

* Do not require `RAW_URI` in the request environment, to allow
  testing without gunicorn.

Version 0.15, released 2017-10-09
----------------------------------

* Disallow empty bodies for POST and PUT requests. Status code 411 is
  returned in that case.

Version 0.14, released 2017-10-04
----------------------------------

* Add optional argument givine a list of resources to
  `apifw.create_bottle_application`, as a temporary workaround for a
  problem in Qvarn.

Version 0.13, released 2017-09-28
----------------------------------

* Disable JWT token audience check, for now. This is quick fix for
  Qvarn.

Version 0.12, released 2017-09-26
----------------------------------

* Tests now use a random port, instead of the fixed 12765 one.

Version 0.11, released 2017-09-25
----------------------------------

* Callbacks now get an extra keyword argument `raw_uri_path` so they
  can, if they need to, process it before URL decoding happens. Qvarn
  needs this for searches.

Version 0.10, released 2017-09-06
---------------------------------

* Changes to status codes for 401/403, to match what Qvarn is doing.

Version 0.9, released 2017-08-19
---------------------------------

* Fix the test for whether request body is JSON or not.

Version 0.8, released 2017-08-10
---------------------------------

* We now parse an incoming JSON body ourselves, to be able to handle
  an error betterer.

Version 0.7, released 2017-08-04
---------------------------------

* Add "counter" argument to Bottle application, for countint HTTP
  transaction.

Version 0.6, released 2017-08-04
---------------------------------


Version 0.5, released 2017-08-03
---------------------------------


Version 0.4, released 2017-08-01
---------------------------------


Version 0.3, released 2017-08-01
---------------------------------


Version 0.2, released 2017-08-01
-----------------------------------------------------------------------------

* First release.