-
Notifications
You must be signed in to change notification settings - Fork 76
/
CHANGELOG
310 lines (207 loc) · 6.18 KB
/
CHANGELOG
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
6.14.1
------
- Fixed all warnings about importing from collections on Python 3
(thanks to sloria)
https://github.com/pipermerriam/flex/pull/222
6.14.0
------
- Allow space in mimetype before parameters (thanks to miki725)
https://github.com/pipermerriam/flex/pull/206
- Open up dependency requirements (thanks to blueyed, javabrett)
https://github.com/pipermerriam/flex/pull/207
https://github.com/pipermerriam/flex/pull/211
- Increased test coverage with additional vectors, rearranged tests
https://github.com/pipermerriam/flex/pull/214
https://github.com/pipermerriam/flex/pull/216
- Fixed warning about importing from collections on Python 3 (thanks to sloria)
https://github.com/pipermerriam/flex/pull/215
6.13.2
------
- Support for `x-nullable` in enums.
6.13.1
------
- Extend supported version range for `click`
6.13.0
------
- Fix for `allOf` validation:
- Bugfix for Werkreug requests.
- Bugfix for django response normalization.
- Pin dependencies within major version ranges.
6.12.0
------
- SECURITY FIX: Change to use `yaml.safe_load` to prevent remote code execution vulnerability.
6.11.1
------
- Bugfix for handling of `MULTI` parameters when there is only a single value.
6.11.0
------
- Improve handling of content-type negotiation with requests.
- Enforce strict RFC3339 date/time formats.
- Bugfix for response schemas not being properly de-referenced.
6.10.0
------
- Raise `JSONDecodeError` instead of plain `ValueError` when schema is not valid json.
6.9.0
-----
- Support for validation of Werkzug request and response object.
- Allow passing in `raw_request` into `validate_api_response` function.
6.8.1
-----
- Another bugfix for content_type validation logic.
6.8.0
-----
- Bugfix for content_type validation.
6.7.0
-----
- Support for both date formats.
6.6.0
-----
- Support collectionFormat multi in params.
6.5.0
-----
- Support for validation of django request and response objects
- Standalone function for response validation.
- Bugfix for incorrect exception being raised.
6.4.0
-----
- Prioritize exact path matches over regex path matches.
- Bugfix for path matching.
6.3.0
-----
- Support for Webob request validation.
6.2.0
-----
- Bugfix for `base_path` starting with `/` or paths with multiple concurrent slashes.
- Add `file` type for request parameters.
- Documentation fixes.
- Support for integer status codes.
- Support for `application-json` content types with encodings.
6.1.0
-----
- Support for polymorphism.
6.0.1
-----
- Bugfix for json parsing of request bodies that are bytes.
6.0.0
-----
- Support for `x-www-form-urlencoded` request data.
5.8.0
-----
- Bugfix: LicenceObject is now appropriately validated to be an `object`
5.7.0
-----
- Bugfix: Workaround for operator.attrgetter and operator.itemgetter
https://bugs.python.org/issue26822
5.6.0
-----
- Bugfix: query parameters were not be correctly typecast to their appropriate
types during validation.
- Add null support via `x-nullable` option.
5.5.0
-----
- Path matching regexes will now differentiate between integer path parameters
and non-integer path parameters.
5.4.1
-----
- Minor bugfix where the `kwargs` were not being correctly passed down the
validator tree.
5.4.0
-----
- Bugfix for correct typecasting of status codes for response validation.
https://github.com/pipermerriam/flex/issues/108
5.3.0
-----
- Bugfix for incorrect validation of paths. https://github.com/pipermerriam/flex/issues/106
5.2.1
-----
- Bugfix for Tornado server request object support for request validation.
5.2.0
-----
- Fix bug with uniqueness enforcement with unhashable types.
- Fix request/response validation not falling back to the "default" response.
- Fix path matching to not match parameters across slashes
5.1.0
-----
- Fix validation of `contact` to be of type `object`
5.0.0
-----
- CLI interface name changed to `swagger-flex` to avoid name collision with
Apache Flex project.
4.3.0
-----
- Support for tornado requests and response objects
4.2.1
-----
- Fix for error message from `minLength` and `maxLength` validation. See
https://github.com/pipermerriam/flex/issues/84
4.2.0
-----
- Add validators for the additionalProperties keyword from JSON-schema
4.1.0
-----
- Fix parsing and validation of Reference Objects for Responses and Parameters.
4.0.1
-----
- Remove the use of pip's internals in the setup.py file.
4.0.0
-----
- Breaking Change: Changes the implementation for how ``$ref`` values were
validated and resolved to be compliant with the json pointer spec
(RFC6901 https://tools.ietf.org/html/rfc6901).
3.5.1
-----
- Fix bug with how the keyword `default` was being validated for Parameter
Objects.
- Fix how the keyword `externalDocs` was validated on Operation and Schema
objects.
3.5.0
-----
- Add body parameter validation to api request validation.
3.4.1
-----
- Bugfix: Changed the strategy for picking an api_path when multiple regexes
match from using the length of the regex match groups, to the length of the
corresponding API path.
3.4.0
-----
- Backwards Incompatible Bugfix around how the `required` keyword for Schema
Objects is handled. Previously, it was expected to be a boolean and to apply
to the current schema. It is now correctly validated as an array of strings
that dictate which properties are required.
3.3.0
-----
- Bugfix around path matching and handling duplicate path matches for api
request/response validation.
3.1.0
-----
- Fix bug with request path matching where a path with a parameter defined at
the operation level would not be matched.
3.0.0
-----
- Remove DRF dependency.
- Remove limitation that schema properties cannot intersect with reserved words
in the schema spec.
2.8.0
-----
- Fix query parameter validation bug
2.7.0
-----
- Fix bug with binary/text type values in enum validation not being considered
equal.
2.6.0
-----
- Fix bug related to validating path parameters for api's with a basePath.
2.5.0
-----
- Implement response url validation
- Implement response header validation
2.4.0
-----
- Fix bug in api_call_validation
2.3.0
-----
- Support for DRF2 and DRF3.
2.0.0
-----
- Extends response validation to request headers.
- Extends response validation to response body.