-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
CHANGELOG.txt
251 lines (133 loc) · 5.35 KB
/
CHANGELOG.txt
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
=== UNRELEASED
* Updated test suite
* Fixed detecting when infinity is reached with multipleOf
* Fixed that min/max items/lenght/properties can be float
* Fixed that everything with empty `not` is invalid
* Improved regexp for email format to comfort test suite
* Improved regexp for date format to comfort test suite
* Improved regexp for ipv4 format to comfort test suite
* Added partial support of idn-hostname format
=== 2.20.0 (2024-06-15)
* Added validations at compile time:
* `required` must have unique items
* checking if schema is not allowing `required` items (item is required, but is not listed in properties)
=== 2.19.1 (2023-12-28)
* Fixed date format to accept only two digit months and days
=== 2.19.0 (2023-11-14)
* Added `use_formats` parameter to allow disable automatic assertions
=== 2.18.1 (2023-10-01)
* Lazy import of urllib to improve import performance
=== 2.18.0 (2023-07-22)
* Improved error message for required props - only missing are reported
* Fixed support of boolean schema in if-then-else application
=== 2.17.1 (2023-05-22)
* Fixed tests in sdist
=== 2.17.0 (2023-05-21)
* Added support for Decimals
* Added tests in sdist
=== 2.16.3 (2023-02-25)
* Fix variable name resolving with references
=== 2.16.2 (2022-08-10)
* Fix compile to code tests to run them on any platform
=== 2.16.1 (2022-07-17)
* Fix uniqueItems when explicitly set to False
=== 2.16.0 (2022-07-17)
* Fix generating invalid code for some schemas using items
* Preserving full path in combination with $ref
* Improved error messages for oneOf and anyOf
=== 2.15.3 (2022-01-09)
* Fix swapping handlers
* Fix tests
* Readable regexps in generated code
=== 2.15.2 (2021-12-12)
* Fix nested oneOf and anyOf
* Fix if-else block in anyOf block
* Fix uniqueItems including lists or dicts
* Add option to pass custom formats in generated code
=== 2.15.1 (2021-05-05)
* Fix parsing date-time with +hhmm format
* Fix generating code with custom regular expressions
=== 2.15.0 (2021-02-01)
* Fix additional property equal to empty object is the same as True
* Fix const with "
* Add const to error message
* Add JsonSchemaValueException (replacement for JsonSchemaException)
* JsonSchemaException is base exception
* JsonSchemaDefinitionException no longer inherits from JsonSchemaValueException
* New option `use_default` to have option turn off default feature (`True` by default to be compatible)
=== 2.14.5 (2020-08-17)
* Fix missing dependencies
* Fix schema cache
=== 2.14.4 (2020-03-19)
* Fix $id property
* Add extra properties to error message when additionalProperties are set to False
* Better exception message when referencing schema is not valid JSON
=== 2.14.3 (2020-02-27)
* Tuple is also valid array
=== 2.14.2 (2019-12-11)
* Fix of `additionalProperties=true` for JSON schema 4
* Use decimal for multipleOf implementation and add respective tests
* Better escaping of definition names
=== 2.14.1 (2019-10-09)
* Fix of undefined format exception message
=== 2.14.0 (2019-10-08)
* Optimization: do not do the same type checks, keep it in one block if possible
* More context in JsonSchemaException (value, variable_name, variable_path, definition, rule and rule_definition)
* Possibility to pass custom formats
* Raise JsonSchemaDefinitionException when definition of property is not valid
* Fix of uniqueItems when used with other than array type
* Fix of date-time regexp (time zone is required by RFC 3339)
=== 2.13 (2019-06-10)
* Resolved Python 3.7 warnings
* Updated JSON Schema test suites
* Fix of date-time regexp (allow small T and Z).
* Fix escaping (proper handling of \n, \r or " everywhere).
=== 2.12 (2019-05-24)
* Fix of properties (local variable referenced before assignment).
=== 2.11 (2019-04-16)
* Fix of additionalProperties (colliding variable names).
=== 2.10 (2019-04-15)
* Fix pattern regexps with a space.
=== 2.9 (2019-03-04)
* Use of urllib instead of requests for smaller memory usage.
=== 2.8 (2019-01-05)
* Fix quotes in enum generating invalid code
=== 2.7 (2018-11-16)
* Fix regexps for Python 3.7
=== 2.6 (2018-11-01)
* Swap $ in regexps to \Z to follow ECMA 262 ($ matches really the end of the string, not the end or new line and the end). Because of that your regular expressions have to escape dollar when used as regular character.
=== 2.5 (2018-10-22)
* E-mail regex allows any e-mail with @
=== 2.4 (2018-09-27)
* Fix overriding variables (in pattern properties, property names, unique items and contains)
* Fix string in const
* Improve security: not generating code from any definition
* Added validate function for lazy programmers
=== 2.3 (2018-09-14) ===
* Fix regex of hostname
=== 2.2 (2018-09-12) ===
* Fix code generation with long regex patterns
* Fix regex of date-time (allow time without miliseconds)
=== 2.1 (2018-09-12) ===
* Fix code generation with regex patterns
=== 2.0 (2018-09-07) ===
* Support of draft-06
* Support of draft-07
* Code generation to a file
=== 1.6 (2018-06-21) ===
* Bugfixing
=== 1.5 (2018-06-20) ===
* Support of definitions
* Support of referencies
=== 1.4 (2018-06-11) ===
* Better date-time regex
* Support of dependencies
=== 1.3 (2018-04-25) ===
* Fix patter inside of anyOf
=== 1.2 (2018-04-24) ===
* Support of formats
* Support of properties
=== 1.1 (2017-01-03) ===
* Support of float numbers
=== 1.0 (2016-09-23) ===
* First version