| 1 |
Changelog |
| 2 |
--------- |
| 3 |
|
| 4 |
6.10.0 (2026-03-06) |
| 5 |
******************* |
| 6 |
|
| 7 |
Features: |
| 8 |
|
| 9 |
- Support ``links`` (:issue:`615`). |
| 10 |
Thanks :user:`kingdomOfIT` for the PR (:pr:`1014`). |
| 11 |
|
| 12 |
Bug fixes: |
| 13 |
|
| 14 |
- ``MarshmallowPlugin``: Handle `DateTime` fields with the `"iso8601"` and `"rfc822"` |
| 15 |
formats (:issue:`970`). |
| 16 |
Thanks :user:`matejsp` for reporting and `karthiksai109` for the PR (:pr:`1013`). |
| 17 |
|
| 18 |
6.9.0 (2025-11-30) |
| 19 |
****************** |
| 20 |
|
| 21 |
Features: |
| 22 |
|
| 23 |
- Support ``examples`` property from field metadata (:pr:`999`). |
| 24 |
Thanks :user:`Flix6x` for the PR. |
| 25 |
|
| 26 |
Other changes: |
| 27 |
|
| 28 |
- Officially support Python 3.14 (:pr:`998`). |
| 29 |
- Drop support for Python 3.9 (:pr:`994`). |
| 30 |
|
| 31 |
6.8.4 (2025-09-22) |
| 32 |
****************** |
| 33 |
|
| 34 |
Bug fixes: |
| 35 |
|
| 36 |
- Set ``TimeDelta`` field type according to ``serialization_type`` (:pr:`990`). |
| 37 |
Thanks :user:`LewisHaley` for the PR. |
| 38 |
|
| 39 |
6.8.3 (2025-09-07) |
| 40 |
****************** |
| 41 |
|
| 42 |
Bug fixes: |
| 43 |
|
| 44 |
- ``MarshmallowPlugin``: set ``additionalProperties`` to ``False`` if |
| 45 |
``unknown`` is not set (:pr:`988`). |
| 46 |
Thanks :user:`mwgamble` for reporting. |
| 47 |
- ``MarshmallowPlugin``: set ``additionalProperties`` according to ``unknown`` |
| 48 |
value passed at schema instantiation, not only as ``Meta`` attribute |
| 49 |
(:pr:`988`). |
| 50 |
|
| 51 |
6.8.2 (2025-05-12) |
| 52 |
****************** |
| 53 |
|
| 54 |
Bug fixes: |
| 55 |
|
| 56 |
- ``MarshmallowPlugin`` doesn't override ``additionalProperties`` explicitly |
| 57 |
passed to ``fields.Dict`` (:pr:`976`). |
| 58 |
Thanks :user:`0x0400` for the PR. |
| 59 |
|
| 60 |
- Perf improvement to ``filter_excluded_fields`` (:issue:`972`). |
| 61 |
Thanks :user:`allrob23` for the PR. |
| 62 |
|
| 63 |
6.8.1 (2025-01-07) |
| 64 |
****************** |
| 65 |
|
| 66 |
Bug fixes: |
| 67 |
|
| 68 |
- Fix handling of nullable Raw fields for OAS 3.1.0 (:issue:`960`). |
| 69 |
Thanks :user:`tsokalski` for reporting and fixing. |
| 70 |
|
| 71 |
Support: |
| 72 |
|
| 73 |
- Support marshmallow 4 (:pr:`963`). |
| 74 |
|
| 75 |
6.8.0 (2024-12-02) |
| 76 |
****************** |
| 77 |
|
| 78 |
Features: |
| 79 |
|
| 80 |
- Allow properties on $ref objects for OpenAPI 3.1 (:pr:`958`). |
| 81 |
Thanks :user:`luhn` for the PR. |
| 82 |
|
| 83 |
Bug fixes: |
| 84 |
|
| 85 |
- Fix nullable nested schemas with metadata in OpenAPI 3.0 (:issue:`955`). |
| 86 |
Thanks :user:`luhn` for the catch and patch. |
| 87 |
|
| 88 |
6.7.1 (2024-11-04) |
| 89 |
****************** |
| 90 |
|
| 91 |
Bug fixes: |
| 92 |
|
| 93 |
- Fix rendering of nullable nested fields in 3.0 spec (:issue:`952`). |
| 94 |
Thanks :user:`ShepleySound` for the catch and patch. |
| 95 |
|
| 96 |
6.7.0 (2024-10-20) |
| 97 |
****************** |
| 98 |
|
| 99 |
Bug fixes: |
| 100 |
|
| 101 |
- Fix handling of ``fields.Dict()`` with ``values`` unset (:issue:`949`). |
| 102 |
Thanks :user:`luhn` for the catch and patch. |
| 103 |
|
| 104 |
Other changes: |
| 105 |
|
| 106 |
- Officially support Python 3.13 (:pr:`948`). |
| 107 |
- Drop support for Python 3.8 (:pr:`947`). |
| 108 |
|
| 109 |
6.6.1 (2024-04-22) |
| 110 |
****************** |
| 111 |
|
| 112 |
Bug fixes: |
| 113 |
|
| 114 |
- ``MarshmallowPlugin``: Fix handling of ``Nested`` fields with |
| 115 |
``allow_none=True`` (:issue:`833`). Thanks :user:`jc-harrison` |
| 116 |
for reporting and :user:`kolditz-senec` for the PR. |
| 117 |
|
| 118 |
6.6.0 (2024-03-15) |
| 119 |
****************** |
| 120 |
|
| 121 |
Features: |
| 122 |
|
| 123 |
- Add IP fields to `DEFAULT_FIELD_MAPPING (:pr:`892`) to document format. |
| 124 |
Thanks :user:`cjproud` for the PR. |
| 125 |
|
| 126 |
6.5.0 (2024-02-26) |
| 127 |
****************** |
| 128 |
|
| 129 |
Bug fixes: |
| 130 |
|
| 131 |
- Include ``null`` as a value when using ``validate.OneOf`` or ``fields.Enum`` |
| 132 |
when ``allow_none`` is ``True`` for a field (:issue:`812`). |
| 133 |
Thanks :user:`pmdarrow` for reporting and :user:`kolditz-senec` for the PR. |
| 134 |
|
| 135 |
Other changes: |
| 136 |
|
| 137 |
- Deprecate the ``__version__`` attribute. Use feature detection, or |
| 138 |
``importlib.metadata.version("apispec")``, instead (:issue:`878`). |
| 139 |
|
| 140 |
6.4.0 (2024-01-09) |
| 141 |
****************** |
| 142 |
|
| 143 |
Features: |
| 144 |
|
| 145 |
- ``MarshmallowPlugin``: Support different datetime formats |
| 146 |
for ``marshmallow.fields.DateTime`` fields (:issue:`814`). |
| 147 |
Thanks :user:`TheBigRoomXXL` for the suggestion and PR. |
| 148 |
- ``MarshmallowPlugin``: Handle resolving names of schemas with spaces in the name (:pr:`856`). |
| 149 |
Thanks :user:`duchuyvp` for the PR. |
| 150 |
- Various typing improvements (:pr:`873`). |
| 151 |
|
| 152 |
Other changes: |
| 153 |
|
| 154 |
- Support Python 3.12. |
| 155 |
- Drop support for Python 3.7, which is EOL. |
| 156 |
- Remove `[validation]` from extras, as it is no longer used. |
| 157 |
|
| 158 |
|
| 159 |
6.3.1 (2023-12-21) |
| 160 |
****************** |
| 161 |
|
| 162 |
Bug fixes: |
| 163 |
|
| 164 |
- Fix conversion of deprecated flag on parameters (:issue:`850`). |
| 165 |
Thanks :user:`tsokalski` for the PR. |
| 166 |
|
| 167 |
6.3.0 (2023-03-10) |
| 168 |
****************** |
| 169 |
|
| 170 |
Features: |
| 171 |
|
| 172 |
- Resolve schema references in parameters content (:issue:`830`). |
| 173 |
Thanks :user:`codectl` for the PR. |
| 174 |
|
| 175 |
|
| 176 |
6.2.0 (2023-03-06) |
| 177 |
****************** |
| 178 |
|
| 179 |
Features: |
| 180 |
|
| 181 |
- Resolve references in callbacks (:issue:`827`). |
| 182 |
Thanks :user:`codectl` for the PR. |
| 183 |
|
| 184 |
6.1.0 (2023-03-03) |
| 185 |
****************** |
| 186 |
|
| 187 |
Bug fixes: |
| 188 |
|
| 189 |
- Serialize min/max values in ``field2range`` (:pr:`825`). |
| 190 |
|
| 191 |
Other changes: |
| 192 |
|
| 193 |
- Test against Python 3.11 (:pr:`809`). |
| 194 |
|
| 195 |
6.0.2 (2022-11-10) |
| 196 |
****************** |
| 197 |
|
| 198 |
Bug fixes: |
| 199 |
|
| 200 |
- Allow passing ``openapi_version`` as string in ``marshmallow OpenAPIConverter`` |
| 201 |
(:issue:`810`). Thanks :user:`paradoxxxzero` for the PR. |
| 202 |
|
| 203 |
6.0.1 (2022-11-05) |
| 204 |
****************** |
| 205 |
|
| 206 |
Bug fixes: |
| 207 |
|
| 208 |
- Document ``fields.Enum`` as list of values, not string (:issue:`806`). |
| 209 |
Thanks :user:`tadams42` for reporting. |
| 210 |
|
| 211 |
6.0.0 (2022-10-15) |
| 212 |
****************** |
| 213 |
|
| 214 |
Features: |
| 215 |
|
| 216 |
- Support ``fields.Enum`` (:pr:`802`). |
| 217 |
- *Backwards-incompatible*: Change ``MarshmallowPlugin.map_to_openapi_type`` |
| 218 |
from a decorator to a classic function, taking a field as first argument |
| 219 |
(:pr:`804`). |
| 220 |
- *Backwards-incompatible*: Remove ``validate_spec`` from public API. Users may |
| 221 |
call their validator of choice directly (:pr:`803`). |
| 222 |
|
| 223 |
Other changes: |
| 224 |
|
| 225 |
- Drop support for marshmallow < 3.18.0 (:pr:`802`). |
| 226 |
|
| 227 |
6.0.0b1 (2022-10-04) |
| 228 |
******************** |
| 229 |
|
| 230 |
Features: |
| 231 |
|
| 232 |
- Add ``OpenAPIConverter.add_parameter_attribute_function`` to allow |
| 233 |
documentation of custom list fields such as webargs ``DelimitedList`` |
| 234 |
(:pr:`778`). |
| 235 |
- *Backwards-incompatible*: Remove ``OpenAPIVersion`` and use ``packaging.Version`` |
| 236 |
instead (:pr:`801`). |
| 237 |
|
| 238 |
5.2.2 (2022-05-13) |
| 239 |
****************** |
| 240 |
|
| 241 |
Bug fixes: |
| 242 |
|
| 243 |
- Fix schema property ordering regression in ``ApiSpec.to_yaml()`` (:issue:`768`). |
| 244 |
Thanks :user:`vorticity` for the PR. |
| 245 |
|
| 246 |
5.2.1 (2022-05-01) |
| 247 |
****************** |
| 248 |
|
| 249 |
Bug fixes: |
| 250 |
|
| 251 |
- Fix type hints for ``APISpec.path`` and ``BasePlugin`` methods (:pr:`765`). |
| 252 |
|
| 253 |
5.2.0 (2022-04-29) |
| 254 |
****************** |
| 255 |
|
| 256 |
Features: |
| 257 |
|
| 258 |
- Use ``raise from`` whenever possible (:pr:`763`). |
| 259 |
|
| 260 |
Refactoring: |
| 261 |
|
| 262 |
- Use a ``tuple`` rather than a ``namedtuple`` for "schema key" (:pr:`725`). |
| 263 |
|
| 264 |
Other changes: |
| 265 |
|
| 266 |
- Add type hints (:pr:`747`). Thanks :user:`kasium` for the PR. |
| 267 |
- Test against Python 3.10 (:pr:`724`). |
| 268 |
- Drop support for Python 3.6 (:pr:`727`). |
| 269 |
- Switch to Github Actions for CI (:pr:`751`). |
| 270 |
|
| 271 |
5.1.1 (2021-09-27) |
| 272 |
****************** |
| 273 |
|
| 274 |
Bug fixes: |
| 275 |
|
| 276 |
- Fix field ordering in "ordered" schema classes documentation (:issue:`714`). |
| 277 |
|
| 278 |
Other changes: |
| 279 |
|
| 280 |
- Don't build universal wheels. We don't support Python 2 anymore. |
| 281 |
(:pr:`705`) |
| 282 |
- Make the build reproducible (:pr:`669`). |
| 283 |
|
| 284 |
5.1.0 (2021-08-10) |
| 285 |
****************** |
| 286 |
|
| 287 |
Features: |
| 288 |
|
| 289 |
- Add ``lazy`` option to component registration methods. This allows to add |
| 290 |
components to the spec only if they are actually referenced. (:pr:`702`) |
| 291 |
- Add ``BasePlugin.header_helper`` and ``MarshmallowPlugin.header_helper`` |
| 292 |
(:pr:`703`). |
| 293 |
|
| 294 |
Bug fixes: |
| 295 |
|
| 296 |
- Ensure plugin helpers get component copies. Avoids issues if a plugin helper |
| 297 |
mutates its inputs. (:pr:`704`) |
| 298 |
|
| 299 |
5.0.0 (2021-07-29) |
| 300 |
****************** |
| 301 |
|
| 302 |
Features: |
| 303 |
|
| 304 |
- Rename ``doc_default`` to ``default``. Since schema metadata is namespaced in |
| 305 |
a single ``metadata`` parameter, there is no name collision with ``default`` |
| 306 |
parameter anymore (:issue:`687`). |
| 307 |
- Don't build schema component reference in |
| 308 |
``OpenAPIConverter.resolve_nested_schema``. This is done later in |
| 309 |
``Components`` (:pr:`700`). |
| 310 |
- ``MarshmallowPlugin``: resolve schemas in ``allOf``, ``oneOf``, ``anyOf`` and |
| 311 |
``not`` (:pr:`701`). Thanks :user:`stefanv` for the initial work on this. |
| 312 |
|
| 313 |
Other changes: |
| 314 |
|
| 315 |
- Refactor ``Components`` methods to make them consistent. Use ``component_id`` |
| 316 |
rather than ``name``, remove ``**kwargs`` when unused. (:pr:`696`) |
| 317 |
|
| 318 |
5.0.0b1 (2021-07-22) |
| 319 |
******************** |
| 320 |
|
| 321 |
Features: |
| 322 |
|
| 323 |
- Resolve all component references in paths and components. All references must |
| 324 |
be passed as strings, not as a ``{$ref: '...'}}`` dict (:pr:`671`). |
| 325 |
|
| 326 |
Other changes: |
| 327 |
|
| 328 |
- Don't use deprecated ``missing`` marshmallow field attribute but use |
| 329 |
``load_default`` instead (:pr:`692`). |
| 330 |
- Refactor references resolution. ``get_ref`` method is moved from ``APISpec`` |
| 331 |
to ``Components`` (:pr:`655`). ``APISpec.clean_parameters`` and |
| 332 |
``APISpec.clean_parameters`` are now private methods (:pr:`695`). |
| 333 |
- Drop support for marshmallow < 3.13.0 (:pr:`692`). |
| 334 |
|
| 335 |
4.7.1 (2021-07-06) |
| 336 |
****************** |
| 337 |
|
| 338 |
Bug fixes: |
| 339 |
|
| 340 |
- Correct spelling of ``'null'``: remove extra quotes (:issue:`689`). |
| 341 |
Thanks :user:`mjpieters` for the PR. |
| 342 |
|
| 343 |
4.7.0 (2021-06-28) |
| 344 |
****************** |
| 345 |
|
| 346 |
Features: |
| 347 |
|
| 348 |
- Document ``deprecated`` property from field metadata (:pr:`686`). |
| 349 |
Thanks :user:`greyli` for the PR. |
| 350 |
- Document ``writeOnly`` and ``nullable`` properties from field metadata |
| 351 |
(:pr:`684`). Thanks :user:`greyli` for the PR. |
| 352 |
|
| 353 |
4.6.0 (2021-06-14) |
| 354 |
****************** |
| 355 |
|
| 356 |
Features: |
| 357 |
|
| 358 |
- Support ``Pluck`` field (:pr:`677`). Thanks :user:`mjpieters` for the PR. |
| 359 |
- Support ``TimeDelta`` field (:pr:`678`). |
| 360 |
|
| 361 |
4.5.0 (2021-06-04) |
| 362 |
****************** |
| 363 |
|
| 364 |
Features: |
| 365 |
|
| 366 |
- Support OpenAPI 3.1.0 (:issue:`579`). |
| 367 |
|
| 368 |
Bug fixes: |
| 369 |
|
| 370 |
- Fix ``get_fields`` to avoid crashing when a field is named ``fields`` |
| 371 |
(:issue:`673`). Thanks :user:`Reskov` for reporting. |
| 372 |
|
| 373 |
Other changes: |
| 374 |
|
| 375 |
- Don't pass field metadata as keyword arguments in the tests. This is |
| 376 |
deprecated since marshmallow 3.10. apispec is still compatible with |
| 377 |
marshmallow >=3,<3.10 but tests now require marshmallow >=3.10. (:pr:`675`) |
| 378 |
|
| 379 |
4.4.2 (2021-05-24) |
| 380 |
****************** |
| 381 |
|
| 382 |
Bug fixes: |
| 383 |
|
| 384 |
- Respect ``partial`` marshmallow schema parameter: don't document the field as |
| 385 |
required. (:issue:`627`). Thanks :user:`Anti-Distinctlyminty` for the PR. |
| 386 |
|
| 387 |
4.4.1 (2021-05-07) |
| 388 |
****************** |
| 389 |
|
| 390 |
Bug fixes: |
| 391 |
|
| 392 |
- Don't set ``additionalProperties`` if ``Meta.unknown`` is ``EXCLUDE`` |
| 393 |
(:issue:`659`). Thanks :user:`kupuguy` for the PR. |
| 394 |
|
| 395 |
4.4.0 (2021-03-31) |
| 396 |
****************** |
| 397 |
|
| 398 |
Features: |
| 399 |
|
| 400 |
- Populate ``additionalProperties`` from ``Meta.unknown`` (:pr:`635`). |
| 401 |
Thanks :user:`timsilvers` for the PR. |
| 402 |
- Allow ``to_yaml`` to pass kwargs to ``yaml.dump`` (:pr:`648`). |
| 403 |
- Resolve header references in responses (:pr:`650`). |
| 404 |
- Resolve example references in parameters, request bodies and responses |
| 405 |
(:pr:`651`). |
| 406 |
|
| 407 |
4.3.0 (2021-02-10) |
| 408 |
****************** |
| 409 |
|
| 410 |
Features: |
| 411 |
|
| 412 |
- Add `apispec.core.Components.header` to register header components |
| 413 |
(:pr:`637`). |
| 414 |
|
| 415 |
4.2.0 (2021-02-06) |
| 416 |
****************** |
| 417 |
|
| 418 |
Features: |
| 419 |
|
| 420 |
- Make components public attributes of ``Components`` class (:pr:`634`). |
| 421 |
|
| 422 |
4.1.0 (2021-01-26) |
| 423 |
****************** |
| 424 |
|
| 425 |
Features: |
| 426 |
|
| 427 |
- Resolve schemas in callbacks (:pr:`544`). Thanks :user:`kortsi` for the PR. |
| 428 |
|
| 429 |
Bug fixes: |
| 430 |
|
| 431 |
- Fix docstrings documenting kwargs type as dict (:issue:`534`). |
| 432 |
- Use ``x-minimum`` and ``x-maximum`` extensions to document ranges that are |
| 433 |
not of number type (e.g. datetime) (:issue:`614`). |
| 434 |
|
| 435 |
Other changes: |
| 436 |
|
| 437 |
- Test against Python 3.9. |
| 438 |
|
| 439 |
4.0.0 (2020-09-30) |
| 440 |
****************** |
| 441 |
|
| 442 |
Features: |
| 443 |
|
| 444 |
- *Backwards-incompatible*: Automatically generate references for schemas |
| 445 |
passed as strings in responses and request bodies. When using |
| 446 |
``MarshmallowPlugin``, if a schema is passed as string, the marshmallow |
| 447 |
registry is looked up for this schema name and if none is found, the name is |
| 448 |
assumed to be a reference to a manually created schema and a reference is |
| 449 |
generated. No exception is raised anymore if the schema name can't be found |
| 450 |
in the registry. (:pr:`554`) |
| 451 |
|
| 452 |
4.0.0b1 (2020-09-06) |
| 453 |
******************** |
| 454 |
|
| 455 |
Features: |
| 456 |
|
| 457 |
- *Backwards-incompatible*: Ignore ``location`` field metadata. This attribute |
| 458 |
was used in webargs but it has now been dropped. A ``Schema`` can now only |
| 459 |
have a single location. This simplifies the logic in ``OpenAPIConverter`` |
| 460 |
methods, where ``default_in`` argument now becomes ``location``. (:pr:`526`) |
| 461 |
- *Backwards-incompatible*: Don't document ``int`` format as ``"int32"`` and |
| 462 |
``float`` format as ``"float"``, as those are platform-dependent (:pr:`595`). |
| 463 |
|
| 464 |
Refactoring: |
| 465 |
|
| 466 |
- ``OpenAPIConverter.field2parameters`` and |
| 467 |
``OpenAPIConverter.property2parameter`` are removed. |
| 468 |
``OpenAPIConverter.field2parameter`` becomes private. (:pr:`581`) |
| 469 |
|
| 470 |
Other changes: |
| 471 |
|
| 472 |
- Drop support for marshmallow 2. Marshmallow 3.x is required. (:pr:`583`) |
| 473 |
- Drop support for Python 3.5. Python 3.6+ is required. (:pr:`582`) |
| 474 |
|
| 475 |
|
| 476 |
3.3.2 (2020-08-29) |
| 477 |
****************** |
| 478 |
|
| 479 |
Bug fixes: |
| 480 |
|
| 481 |
- Fix crash when field metadata contains non-string keys (:pr:`596`). |
| 482 |
Thanks :user:`sanzoghenzo` for the fix. |
| 483 |
|
| 484 |
3.3.1 (2020-06-06) |
| 485 |
****************** |
| 486 |
|
| 487 |
Bug fixes: |
| 488 |
|
| 489 |
- Fix ``MarshmallowPlugin`` crash when ``resolve_schema_dict`` is passed a |
| 490 |
schema as string and ``schema_name_resolver`` returns ``None`` |
| 491 |
(:issue:`566`). Thanks :user:`black3r` for reporting and thanks |
| 492 |
:user:`Bangertm` for the PR. |
| 493 |
|
| 494 |
3.3.0 (2020-02-14) |
| 495 |
****************** |
| 496 |
|
| 497 |
Features: |
| 498 |
|
| 499 |
- Instantiate ``Components`` before calling plugins' ``init_spec`` (:pr:`539`). |
| 500 |
Thanks :user:`Colin-b` for the PR. |
| 501 |
|
| 502 |
3.2.0 (2019-12-22) |
| 503 |
****************** |
| 504 |
|
| 505 |
Features: |
| 506 |
|
| 507 |
- Add ``match_info`` to ``__location_map__`` (:pr:`517`). |
| 508 |
Thanks :user:`fedorfo` for the PR. |
| 509 |
|
| 510 |
3.1.1 (2019-12-17) |
| 511 |
****************** |
| 512 |
|
| 513 |
Bug fixes: |
| 514 |
|
| 515 |
- Don't emit a warning when passing "default" as response status code in OASv2 |
| 516 |
(:pr:`521`). |
| 517 |
|
| 518 |
3.1.0 (2019-11-04) |
| 519 |
****************** |
| 520 |
|
| 521 |
Features: |
| 522 |
|
| 523 |
- Add `apispec.core.Components.example` for adding Example Objects (:pr:`515`). |
| 524 |
Thanks :user:`codeasashu` for the PR. |
| 525 |
|
| 526 |
Support: |
| 527 |
|
| 528 |
- Test against Python 3.8 (:pr:`510`). |
| 529 |
|
| 530 |
3.0.0 (2019-09-17) |
| 531 |
++++++++++++++++++ |
| 532 |
|
| 533 |
Features: |
| 534 |
|
| 535 |
- Add support for generating user-defined OpenAPI properties for custom field |
| 536 |
classes via an ``add_attribute_function`` method (:pr:`478` and :pr:`498`). |
| 537 |
- [apispec.ext.marshmallow]: *Backwards-incompatible* ``fields.Raw`` and |
| 538 |
``fields.Field`` are now represented by OpenAPI |
| 539 |
`Any Type <https://swagger.io/docs/specification/data-models/data-types/#any>`_ |
| 540 |
(:pr:`495`). |
| 541 |
- [apispec.ext.marshmallow]: *Backwards-incompatible*: The |
| 542 |
``schema_name_resolver`` function now receives a ``Schema`` class, a |
| 543 |
``Schema`` instance or a string that resolves to a ``Schema`` class. This |
| 544 |
allows a custom resolver to generate different names depending on schema |
| 545 |
modifiers used in a ``Schema`` instance (:pr:`476`). |
| 546 |
|
| 547 |
Bug fixes: |
| 548 |
|
| 549 |
- [apispec.ext.marshmallow]: With marshmallow 3, the default value of a field |
| 550 |
in the documentation is the serialized value of the ``missing`` attribute, |
| 551 |
not ``missing`` itself (:pr:`490`). |
| 552 |
|
| 553 |
Refactoring: |
| 554 |
|
| 555 |
- ``clean_parameters`` and ``clean_operations`` are now ``APISpec`` methods |
| 556 |
(:pr:`489`). |
| 557 |
- [apispec.ext.marshmallow]: ``Schema`` resolver methods are extracted from |
| 558 |
``MarshmallowPlugin`` into a ``SchemaResolver`` class member (:pr:`496`). |
| 559 |
- [apispec.ext.marshmallow]: ``OpenAPIConverter`` is now a class member of |
| 560 |
``MarshmallowPlugin`` (:pr:`493`). |
| 561 |
- [apispec.ext.marshmallow]: ``Field`` to properties conversion logic is |
| 562 |
extracted from ``OpenAPIConverter`` into ``FieldConverterMixin`` (:pr:`478`). |
| 563 |
|
| 564 |
Other changes: |
| 565 |
|
| 566 |
- Drop support for Python 2 (:issue:`491`). Thanks :user:`hugovk` for the PR. |
| 567 |
- Drop support for marshmallow pre-releases. Only stable 2.x and 3.x versions |
| 568 |
are supported (:issue:`485`). |
| 569 |
|
| 570 |
2.0.2 (2019-07-04) |
| 571 |
++++++++++++++++++ |
| 572 |
|
| 573 |
Bug fixes: |
| 574 |
|
| 575 |
- Fix compatibility with marshmallow 3.0.0rc8 (:pr:`469`). |
| 576 |
|
| 577 |
Other changes: |
| 578 |
|
| 579 |
- Switch to Azure Pipelines (:pr:`468`). |
| 580 |
|
| 581 |
2.0.1 (2019-06-26) |
| 582 |
++++++++++++++++++ |
| 583 |
|
| 584 |
Bug fixes: |
| 585 |
|
| 586 |
- Don't mutate ``operations`` and ``parameters`` in ``APISpec.path`` to avoid |
| 587 |
issues when calling it twice with the same ``operations`` or ``parameters`` |
| 588 |
(:pr:`464`). |
| 589 |
|
| 590 |
2.0.0 (2019-06-18) |
| 591 |
++++++++++++++++++ |
| 592 |
|
| 593 |
Features: |
| 594 |
|
| 595 |
- Add support for path level parameters (:issue:`453`). |
| 596 |
Thanks :user:`karec` for the PR. |
| 597 |
- *Backwards-incompatible*: A ``apispec.exceptions.DuplicateParameterError`` is |
| 598 |
raised when two parameters with same name and location are passed to a path |
| 599 |
or an operation (:pr:`455`). |
| 600 |
- *Backwards-incompatible*: A ``apispec.exceptions.InvalidParameterError`` is |
| 601 |
raised when a parameter is missing required ``name`` and ``in`` attributes |
| 602 |
after helpers have been executed (:pr:`455`). |
| 603 |
|
| 604 |
Other changes: |
| 605 |
|
| 606 |
- *Backwards-incompatible*: All plugin helpers must accept extra ``**kwargs`` |
| 607 |
(:issue:`453`). |
| 608 |
- *Backwards-incompatible*: Components must be referenced by ID, not full path |
| 609 |
(:issue:`463`). |
| 610 |
|
| 611 |
1.3.3 (2019-05-05) |
| 612 |
++++++++++++++++++ |
| 613 |
|
| 614 |
Bug fixes: |
| 615 |
|
| 616 |
- marshmallow 3.0.0rc6 compatibility (:pr:`445`). |
| 617 |
|
| 618 |
1.3.2 (2019-05-02) |
| 619 |
++++++++++++++++++ |
| 620 |
|
| 621 |
Bug fixes: |
| 622 |
|
| 623 |
- Fix handling of OpenAPI v3 components content without schema in |
| 624 |
``MarshmallowPlugin`` (:pr:`443`). |
| 625 |
|
| 626 |
1.3.1 (2019-04-29) |
| 627 |
++++++++++++++++++ |
| 628 |
|
| 629 |
Bug fixes: |
| 630 |
|
| 631 |
- Fix handling of ``http.HTTPStatus`` objects (:issue:`426`). Thanks |
| 632 |
:user:`DStape`. |
| 633 |
- [apispec.ext.marshmallow]: Ensure make_schema_key returns a unique key on |
| 634 |
unhashable iterables (:pr:`416`, :pr:`439`). Thanks :user:`zedrdave`. |
| 635 |
|
| 636 |
1.3.0 (2019-04-24) |
| 637 |
++++++++++++++++++ |
| 638 |
|
| 639 |
Features: |
| 640 |
|
| 641 |
- [apispec.ext.marshmallow]: Use class hierarchy to infer |
| 642 |
``type`` and ``format`` properties (:issue:`433`, :issue:`250`). |
| 643 |
Thanks :user:`andrjohn` for the PR. |
| 644 |
|
| 645 |
1.2.1 (2019-04-18) |
| 646 |
++++++++++++++++++ |
| 647 |
|
| 648 |
Bug fixes: |
| 649 |
|
| 650 |
- Fix error in ``MarshmallowPlugin`` when passing ``exclude`` and ``dump_only`` |
| 651 |
as ``class Meta`` attributes mixing ``list`` and ``tuple`` (:pr:`431`). |
| 652 |
Thanks :user:`blagasz` for the PR. |
| 653 |
|
| 654 |
1.2.0 (2019-04-08) |
| 655 |
++++++++++++++++++ |
| 656 |
|
| 657 |
Features: |
| 658 |
|
| 659 |
- Strip empty sections (components, tags) from generated documentation |
| 660 |
(:pr:`421` and :pr:`425`). |
| 661 |
|
| 662 |
1.1.2 (2019-04-07) |
| 663 |
++++++++++++++++++ |
| 664 |
|
| 665 |
Bug fixes: |
| 666 |
|
| 667 |
- Fix behavior when using "2xx", 3xx", etc. for response keys (:issue:`422`). |
| 668 |
Thanks :user:`zachmullen` for reporting. |
| 669 |
|
| 670 |
1.1.1 (2019-04-02) |
| 671 |
++++++++++++++++++ |
| 672 |
|
| 673 |
Bug fixes: |
| 674 |
|
| 675 |
- Fix passing references for parameters/responses when using |
| 676 |
``MarshmallowPlugin`` (:pr:`414`). |
| 677 |
|
| 678 |
1.1.0 (2019-03-17) |
| 679 |
++++++++++++++++++ |
| 680 |
|
| 681 |
Features: |
| 682 |
|
| 683 |
- Resolve ``Schema`` classes in response headers (:pr:`409`). |
| 684 |
|
| 685 |
1.0.0 (2019-02-08) |
| 686 |
++++++++++++++++++ |
| 687 |
|
| 688 |
Features: |
| 689 |
|
| 690 |
- Expanded support for OpenAPI Specification version 3 (:issue:`165`). |
| 691 |
- Add ``summary`` and ``description`` parameters to ``APISpec.path`` |
| 692 |
(:issue:`227`). Thanks :user:`timakro` for the suggestion. |
| 693 |
- Add `apispec.core.Components.security_scheme` for adding Security |
| 694 |
Scheme Objects (:issue:`245`). |
| 695 |
- [apispec.ext.marshmallow]: Add support for outputting field patterns |
| 696 |
from ``Regexp`` validators (:pr:`364`). |
| 697 |
Thanks :user:`DStape` for the PR. |
| 698 |
|
| 699 |
Bug fixes: |
| 700 |
|
| 701 |
- [apispec.ext.marshmallow]: Fix automatic documentation of schemas when |
| 702 |
using ``Nested(MySchema, many==True)`` (:issue:`383`). Thanks |
| 703 |
:user:`whoiswes` for reporting. |
| 704 |
|
| 705 |
Other changes: |
| 706 |
|
| 707 |
- *Backwards-incompatible*: Components properties are now passed as |
| 708 |
dictionaries rather than keyword arguments (:pr:`381`). |
| 709 |
|
| 710 |
.. code-block:: python |
| 711 |
|
| 712 |
# <1.0.0 |
| 713 |
spec.components.schema("Pet", properties={"name": {"type": "string"}}) |
| 714 |
spec.components.parameter("PetId", "path", format="int64", type="integer") |
| 715 |
spec.components.response("NotFound", description="Pet not found") |
| 716 |
|
| 717 |
# >=1.0.0 |
| 718 |
spec.components.schema("Pet", {"properties": {"name": {"type": "string"}}}) |
| 719 |
spec.components.parameter("PetId", "path", {"format": "int64", "type": "integer"}) |
| 720 |
spec.components.response("NotFound", {"description": "Pet not found"}) |
| 721 |
|
| 722 |
Deprecations/Removals: |
| 723 |
|
| 724 |
- *Backwards-incompatible*: The ``ref`` argument passed to fields is no |
| 725 |
longer used (:issue:`354`). References for nested ``Schema`` are |
| 726 |
stored automatically. |
| 727 |
- *Backwards-incompatible*: The ``extra_fields`` argument of |
| 728 |
`apispec.core.Components.schema` is removed. All properties may be |
| 729 |
passed in the ``component`` argument. |
| 730 |
|
| 731 |
.. code-block:: python |
| 732 |
|
| 733 |
# <1.0.0 |
| 734 |
spec.definition("Pet", schema=PetSchema, extra_fields={"discriminator": "name"}) |
| 735 |
|
| 736 |
# >=1.0.0 |
| 737 |
spec.components.schema("Pet", schema=PetSchema, component={"discriminator": "name"}) |
| 738 |
|
| 739 |
1.0.0rc1 (2018-01-29) |
| 740 |
+++++++++++++++++++++ |
| 741 |
|
| 742 |
Features: |
| 743 |
|
| 744 |
- Automatically generate references to nested schemas with a computed name, e.g. |
| 745 |
``fields.Nested(PetSchema())`` -> ``#components/schemas/Pet``. |
| 746 |
- Automatically generate references for ``requestBody`` using the above mechanism. |
| 747 |
- Ability to opt out of the above behavior by passing a ``schema_name_resolver`` |
| 748 |
function that returns ``None`` to ``api.ext.MarshmallowPlugin``. |
| 749 |
- References now respect Schema modifiers, including ``exclude`` and ``partial``. |
| 750 |
- *Backwards-incompatible*: A `apispec.exceptions.DuplicateComponentNameError` is raised |
| 751 |
when registering two components with the same name (:issue:`340`). |
| 752 |
|
| 753 |
1.0.0b6 (2018-12-16) |
| 754 |
++++++++++++++++++++ |
| 755 |
|
| 756 |
Features: |
| 757 |
|
| 758 |
- *Backwards-incompatible*: `basePath` is not removed from paths anymore. |
| 759 |
Paths passed to ``APISpec.path`` should not contain the application base path |
| 760 |
(:pr:`345`). |
| 761 |
- Add ``apispec.ext.marshmallow.openapi.OpenAPIConverter.resolve_schema_class`` (:pr:`346`). |
| 762 |
Thanks :user:`buxx`. |
| 763 |
|
| 764 |
1.0.0b5 (2018-11-06) |
| 765 |
++++++++++++++++++++ |
| 766 |
|
| 767 |
Features: |
| 768 |
|
| 769 |
- ``apispec.core.Components`` is added. Each ``APISpec`` instance has a |
| 770 |
``Components`` object used to define components such as schemas, parameters |
| 771 |
or responses. "Components" is the OpenAPI v3 terminology for those reusable |
| 772 |
top-level objects. |
| 773 |
- ``apispec.core.Components.parameter`` and ``apispec.core.Components.response`` |
| 774 |
are added. |
| 775 |
- *Backwards-incompatible*: ``apispec.APISpec.add_path`` and |
| 776 |
``apispec.APISpec.add_tag`` are renamed to ``apispec.APISpec.path`` and |
| 777 |
``apispec.APISpec.tag``. |
| 778 |
- *Backwards-incompatible*: ``apispec.APISpec.definition`` is moved to the |
| 779 |
``Components`` class and renamed to ``apispec.core.Components.schema``. |
| 780 |
|
| 781 |
:: |
| 782 |
|
| 783 |
# apispec<1.0.0b5 |
| 784 |
spec.add_tag({'name': 'Pet', 'description': 'Operations on pets'}) |
| 785 |
spec.add_path('/pets/', operations=...) |
| 786 |
spec.definition('Pet', properties=...) |
| 787 |
|
| 788 |
# apispec>=1.0.0b5 |
| 789 |
spec.tag({'name': 'Pet', 'description': 'Operations on pets'}) |
| 790 |
spec.path('/pets/', operations=...) |
| 791 |
spec.components.schema('Pet', properties=...) |
| 792 |
|
| 793 |
- Plugins can define ``parameter_helper`` and ``response_helper`` to modify |
| 794 |
parameter and response components definitions. |
| 795 |
- ``MarshmallowPlugin`` resolves schemas in parameters and responses components. |
| 796 |
- Components helpers may return ``None`` as a no-op rather than an empty `dict` |
| 797 |
(:pr:`336`). |
| 798 |
|
| 799 |
Bug fixes: |
| 800 |
|
| 801 |
- ``MarshmallowPlugin.schema_helper`` does not crash when no schema is passed |
| 802 |
(:pr:`336`). |
| 803 |
|
| 804 |
Deprecations/Removals: |
| 805 |
|
| 806 |
- The legacy ``response_helper`` feature is removed. The same can be achieved |
| 807 |
from ``operation_helper``. |
| 808 |
|
| 809 |
1.0.0b4 (2018-10-28) |
| 810 |
++++++++++++++++++++ |
| 811 |
|
| 812 |
- *Backwards-incompatible*: ``apispec.ext.flask``, |
| 813 |
``apispec.ext.bottle``, and ``apispec.ext.tornado`` are moved to |
| 814 |
a separate package, `apispec-webframeworks <https://github.com/marshmallow-code/apispec-webframeworks>`_. |
| 815 |
(:issue:`302`). |
| 816 |
|
| 817 |
If you use these plugins, install ``apispec-webframeworks`` and |
| 818 |
update your imports like so: :: |
| 819 |
|
| 820 |
# apispec<1.0.0b4 |
| 821 |
from apispec.ext.flask import FlaskPlugin |
| 822 |
|
| 823 |
# apispec>=1.0.0b4 |
| 824 |
from apispec_webframeworks.flask import FlaskPlugin |
| 825 |
|
| 826 |
Thanks :user:`ergo` for the suggestion and the PR. |
| 827 |
|
| 828 |
1.0.0b3 (2018-10-08) |
| 829 |
++++++++++++++++++++ |
| 830 |
|
| 831 |
Features: |
| 832 |
|
| 833 |
- [apispec.core]: *Backwards-incompatible*: ``openapi_version`` parameter of |
| 834 |
``APISpec`` class does not default to `'2.0'` anymore and ``info`` parameter |
| 835 |
is merged with ``**options`` kwargs. |
| 836 |
|
| 837 |
Bug fixes: |
| 838 |
|
| 839 |
- [apispec.ext.marshmallow]: Exclude ``load_only`` fields when documenting |
| 840 |
responses (:issue:`119`). Thanks :user:`luisincrespo` for reporting. |
| 841 |
- [apispec.ext.marshmallow]: Exclude ``dump_only`` fields when documenting |
| 842 |
request body parameter schema. |
| 843 |
|
| 844 |
1.0.0b2 (2018-09-09) |
| 845 |
++++++++++++++++++++ |
| 846 |
|
| 847 |
- Drop deprecated plugin interface. Only plugin classes are now supported. This |
| 848 |
includes the removal of ``APISpec``'s ``register_*_helper`` methods, as well |
| 849 |
as its ``schema_name_resolver`` parameter. Also drop deprecated |
| 850 |
``apispec.utils.validate_swagger``. (:pr:`259`) |
| 851 |
- Use ``yaml.safe_load`` instead of ``yaml.load`` when reading |
| 852 |
docstrings (:issue:`278`). Thanks :user:`lbeaufort` for the suggestion |
| 853 |
and the PR. |
| 854 |
|
| 855 |
1.0.0b1 (2018-07-29) |
| 856 |
++++++++++++++++++++ |
| 857 |
|
| 858 |
Features: |
| 859 |
|
| 860 |
- [apispec.core]: *Backwards-incompatible*: Remove `Path` class. |
| 861 |
Plugins' `path_helper` methods should now return a path as a string |
| 862 |
and optionally mutate the `operations` dictionary (:pr:`238`). |
| 863 |
- [apispec.core]: *Backwards-incompatible*: YAML support is optional. To |
| 864 |
install with YAML support, use ``pip install 'apispec[yaml]'``. You |
| 865 |
will need to do this if you use ``FlaskPlugin``, |
| 866 |
``BottlePlugin``, or ``TornadoPlugin`` (:pr:`251`). |
| 867 |
- [apispec.ext.marshmallow]: Allow overriding the documentation for |
| 868 |
a field's default. This is especially useful for documenting |
| 869 |
callable defaults (:issue:`196`). |
| 870 |
|
| 871 |
0.39.0 (2018-06-28) |
| 872 |
+++++++++++++++++++ |
| 873 |
|
| 874 |
Features: |
| 875 |
|
| 876 |
- [apispec.core]: *Backwards-incompatible*: Change plugin interface. Plugins are |
| 877 |
now child classes of ``apispec.BasePlugin``. Built-in plugins are still usable |
| 878 |
with the deprecated legacy interface. However, the new class interface is |
| 879 |
mandatory to pass parameters to plugins or to access specific methods that used to be |
| 880 |
accessed as module level functions (typically in ``apispec.ext.marshmallow.swagger``). |
| 881 |
Also, ``schema_name_resolver`` is now a parameter of |
| 882 |
``apispec.ext.marshmallow.MarshmallowPlugin``. It can still be passed to ``APISpec`` |
| 883 |
while using the legacy interface. (:issue:`207`) |
| 884 |
- [apispec.core]: *Backwards-incompatible*: ``APISpec.openapi_version`` is now an |
| 885 |
``apispec.utils.OpenAPIVersion`` instance. |
| 886 |
|
| 887 |
0.38.0 (2018-06-10) |
| 888 |
+++++++++++++++++++ |
| 889 |
|
| 890 |
Features: |
| 891 |
|
| 892 |
- [apispec.core]: *Backwards-incompatible*: Rename ``apispec.utils.validate_swagger`` |
| 893 |
to ``apispec.utils.validate_spec`` and |
| 894 |
``apispec.exceptions.SwaggerError`` to ``apispec.exceptions.OpenAPIError``. |
| 895 |
Using ``validate_swagger`` will raise a ``DeprecationWarning`` (:pr:`224`). |
| 896 |
- [apispec.core]: ``apispec.utils.validate_spec`` no longer relies on |
| 897 |
the ``check_api`` NPM module. ``prance`` and |
| 898 |
``openapi-spec-validator`` are required for validation, and can be |
| 899 |
installed using ``pip install 'apispec[validation]'`` (:pr:`224`). |
| 900 |
- [apispec.core]: Deep update components instead of overwriting components |
| 901 |
for OpenAPI 3 (:pr:`222`). Thanks :user:`Guoli-Lyu`. |
| 902 |
|
| 903 |
Bug fixes: |
| 904 |
|
| 905 |
- [apispec.ext.marshmallow]: Fix description for parameters in OpenAPI 3 |
| 906 |
(:pr:`223`). Thanks again :user:`Guoli-Lyu`. |
| 907 |
|
| 908 |
Other changes: |
| 909 |
|
| 910 |
- Drop official support for Python 3.4. Only Python 2.7 and >=3.5 are |
| 911 |
supported. |
| 912 |
|
| 913 |
|
| 914 |
0.37.1 (2018-05-28) |
| 915 |
+++++++++++++++++++ |
| 916 |
|
| 917 |
Features: |
| 918 |
|
| 919 |
- [apispec.ext.marshmallow]: Fix OpenAPI 3 conversion of schemas in |
| 920 |
parameters (:issue:`217`). Thanks :user:`Guoli-Lyu` for the PR. |
| 921 |
|
| 922 |
0.37.0 (2018-05-14) |
| 923 |
+++++++++++++++++++ |
| 924 |
|
| 925 |
Features: |
| 926 |
|
| 927 |
- [apispec.ext.marshmallow]: Resolve an array of schema objects in |
| 928 |
parameters (:issue:`209`). Thanks :user:`cvlong` for reporting and |
| 929 |
implementing this. |
| 930 |
|
| 931 |
0.36.0 (2018-05-07) |
| 932 |
+++++++++++++++++++ |
| 933 |
|
| 934 |
Features: |
| 935 |
|
| 936 |
- [apispec.ext.marshmallow]: Document ``values`` parameter of ``Dict`` field |
| 937 |
as ``additionalProperties`` (:issue:`201`). Thanks :user:`UrKr`. |
| 938 |
|
| 939 |
0.35.0 (2018-04-10) |
| 940 |
+++++++++++++++++++ |
| 941 |
|
| 942 |
Features: |
| 943 |
|
| 944 |
- [apispec.ext.marshmallow]: Recurse over properties when resolving |
| 945 |
schemas (:issue:`186`). Thanks :user:`lphuberdeau`. |
| 946 |
- [apispec.ext.marshmallow]: Support ``writeOnly`` and ``nullable`` in |
| 947 |
OpenAPI 3 (fall back to ``x-nullable`` for OpenAPI 2) (:issue:`165`). |
| 948 |
Thanks :user:`lafrech`. |
| 949 |
|
| 950 |
Bug fixes: |
| 951 |
|
| 952 |
- [apispec.ext.marshmallow]: Always use `field.missing` instead of |
| 953 |
`field.default` when introspecting fields (:issue:`32`). Thanks |
| 954 |
:user:`lafrech`. |
| 955 |
|
| 956 |
Other changes: |
| 957 |
|
| 958 |
- [apispec.ext.marshmallow]: Refactor some of the internal functions in |
| 959 |
`apispec.ext.marshmallow.swagger` for consistent API (:issue:`199`). |
| 960 |
Thanks :user:`lafrech`. |
| 961 |
|
| 962 |
0.34.0 (2018-04-04) |
| 963 |
+++++++++++++++++++ |
| 964 |
|
| 965 |
Features: |
| 966 |
|
| 967 |
- [apispec.core]: Maintain order in which methods are added to an |
| 968 |
endpoint (:issue:`189`). Thanks :user:`lafrech`. |
| 969 |
|
| 970 |
Other changes: |
| 971 |
|
| 972 |
- [apispec.core]: `Path` no longer inherits from `dict` (:issue:`190`). |
| 973 |
Thanks :user:`lafrech`. |
| 974 |
|
| 975 |
0.33.0 (2018-04-01) |
| 976 |
+++++++++++++++++++ |
| 977 |
|
| 978 |
Features: |
| 979 |
|
| 980 |
- [apispec.ext.marshmallow]: Respect ``data_key`` argument on fields |
| 981 |
(in marshmallow 3). Thanks :user:`lafrech`. |
| 982 |
|
| 983 |
0.32.0 (2018-03-24) |
| 984 |
+++++++++++++++++++ |
| 985 |
|
| 986 |
Features: |
| 987 |
|
| 988 |
- [apispec.ext.bottle]: Allow `app` to be passed to `spec.add_path` |
| 989 |
(:issue:`188`). Thanks :user:`dtaniwaki` for the PR. |
| 990 |
|
| 991 |
Bug fixes: |
| 992 |
|
| 993 |
- [apispec.ext.marshmallow]: Fix issue where "body" and "required" were |
| 994 |
getting overwritten when passing a ``Schema`` to a parameter |
| 995 |
(:issue:`168`, :issue:`184`). |
| 996 |
Thanks :user:`dlopuch` and :user:`mathewmarcus` for reporting and |
| 997 |
thanks :user:`mathewmarcus` for the PR. |
| 998 |
|
| 999 |
0.31.0 (2018-01-30) |
| 1000 |
+++++++++++++++++++ |
| 1001 |
|
| 1002 |
- [apispec.ext.marshmallow]: Use ``dump_to`` for name even if |
| 1003 |
``load_from`` does not match it (:issue:`178`). Thanks :user:`LeonAgmonNacht` |
| 1004 |
for reporting and thanks :user:`lafrech` for the fix. |
| 1005 |
|
| 1006 |
0.30.0 (2018-01-12) |
| 1007 |
+++++++++++++++++++ |
| 1008 |
|
| 1009 |
Features: |
| 1010 |
|
| 1011 |
- [apispec.core]: Add ``Spec.to_yaml`` method for serializing to YAML |
| 1012 |
(:issue:`161`). Thanks :user:`jd`. |
| 1013 |
|
| 1014 |
0.29.0 (2018-01-04) |
| 1015 |
+++++++++++++++++++ |
| 1016 |
|
| 1017 |
Features: |
| 1018 |
|
| 1019 |
- [apispec.core and apispec.ext.marshmallow]: Add limited support for |
| 1020 |
OpenAPI v3. Pass `openapi_version='3.0.0'` to `Spec` to use it |
| 1021 |
(:issue:`165`). Thanks :user:`Bangertm`. |
| 1022 |
|
| 1023 |
0.28.0 (2017-12-09) |
| 1024 |
+++++++++++++++++++ |
| 1025 |
|
| 1026 |
Features: |
| 1027 |
|
| 1028 |
- [apispec.core and apispec.ext.marshmallow]: Add `schema_name_resolver` |
| 1029 |
param to `APISpec` for resolving ref names for marshmallow Schemas. |
| 1030 |
This is useful when a self-referencing schema is nested within another |
| 1031 |
schema (:issue:`167`). Thanks :user:`buxx` for the PR. |
| 1032 |
|
| 1033 |
0.27.1 (2017-12-06) |
| 1034 |
+++++++++++++++++++ |
| 1035 |
|
| 1036 |
Bug fixes: |
| 1037 |
|
| 1038 |
- [apispec.ext.flask]: Don't document view methods that aren't included |
| 1039 |
in ``app.add_url_rule(..., methods=[...]))`` (:issue:`173`). Thanks :user:`ukaratay`. |
| 1040 |
|
| 1041 |
0.27.0 (2017-10-30) |
| 1042 |
+++++++++++++++++++ |
| 1043 |
|
| 1044 |
Features: |
| 1045 |
|
| 1046 |
- [apispec.core]: Add ``register_operation_helper``. |
| 1047 |
|
| 1048 |
Bug fixes: |
| 1049 |
|
| 1050 |
- Order of plugins does not matter (:issue:`136`). |
| 1051 |
|
| 1052 |
Thanks :user:`yoichi` for these changes. |
| 1053 |
|
| 1054 |
0.26.0 (2017-10-23) |
| 1055 |
+++++++++++++++++++ |
| 1056 |
|
| 1057 |
Features: |
| 1058 |
|
| 1059 |
- [apispec.ext.marshmallow]: Generate "enum" property with single entry |
| 1060 |
when the ``validate.Equal`` validator is used (:issue:`155`). Thanks |
| 1061 |
:user:`Bangertm` for the suggestion and PR. |
| 1062 |
|
| 1063 |
Bug fixes: |
| 1064 |
|
| 1065 |
- Allow OPTIONS to be documented (:issue:`162`). Thanks :user:`buxx` for |
| 1066 |
the PR. |
| 1067 |
- Fix regression from 0.25.3 that caused a ``KeyError`` (:issue:`163`). Thanks |
| 1068 |
:user:`yoichi`. |
| 1069 |
|
| 1070 |
0.25.4 (2017-10-09) |
| 1071 |
+++++++++++++++++++ |
| 1072 |
|
| 1073 |
Bug fixes: |
| 1074 |
|
| 1075 |
- [apispec.ext.marshmallow]: Fix swagger location mapping for ``default_in`` |
| 1076 |
param in fields2parameters (:issue:`156`). Thanks :user:`decaz`. |
| 1077 |
|
| 1078 |
0.25.3 (2017-09-27) |
| 1079 |
+++++++++++++++++++ |
| 1080 |
|
| 1081 |
Bug fixes: |
| 1082 |
|
| 1083 |
- [apispec.ext.marshmallow]: Correctly handle multiple fields with |
| 1084 |
``location=json`` (:issue:`75`). Thanks :user:`shaicantor` for |
| 1085 |
reporting and thanks :user:`yoichi` for the patch. |
| 1086 |
|
| 1087 |
|
| 1088 |
0.25.2 (2017-09-05) |
| 1089 |
+++++++++++++++++++ |
| 1090 |
|
| 1091 |
Bug fixes: |
| 1092 |
|
| 1093 |
- [apispec.ext.marshmallow]: Avoid AttributeError when passing non-dict |
| 1094 |
items to path objects (:issue:`151`). Thanks :user:`yoichi`. |
| 1095 |
|
| 1096 |
0.25.1 (2017-08-23) |
| 1097 |
+++++++++++++++++++ |
| 1098 |
|
| 1099 |
Bug fixes: |
| 1100 |
|
| 1101 |
- [apispec.ext.marshmallow]: Fix ``use_instances`` when ``many=True`` is |
| 1102 |
set (:issue:`148`). Thanks :user:`theirix`. |
| 1103 |
|
| 1104 |
0.25.0 (2017-08-15) |
| 1105 |
+++++++++++++++++++ |
| 1106 |
|
| 1107 |
Features: |
| 1108 |
|
| 1109 |
- [apispec.ext.marshmallow]: Add ``use_instances`` parameter to |
| 1110 |
``fields2paramters`` (:issue:`144`). Thanks :user:`theirix`. |
| 1111 |
|
| 1112 |
Other changes: |
| 1113 |
|
| 1114 |
- Don't swallow ``YAMLError`` when YAML parsing fails |
| 1115 |
(:issue:`135`). Thanks :user:`djanderson` for the suggestion |
| 1116 |
and the PR. |
| 1117 |
|
| 1118 |
0.24.0 (2017-08-15) |
| 1119 |
+++++++++++++++++++ |
| 1120 |
|
| 1121 |
Features: |
| 1122 |
|
| 1123 |
- [apispec.ext.marshmallow]: Add ``swagger.map_to_swagger_field`` |
| 1124 |
decorator to support custom field classes (:issue:`120`). Thanks |
| 1125 |
:user:`frol` for the suggestion and thanks :user:`dradetsky` for the |
| 1126 |
PR. |
| 1127 |
|
| 1128 |
0.23.1 (2017-08-08) |
| 1129 |
+++++++++++++++++++ |
| 1130 |
|
| 1131 |
Bug fixes: |
| 1132 |
|
| 1133 |
- [apispec.ext.marshmallow]: Fix swagger location mapping for |
| 1134 |
``default_in`` param in `property2parameter` (:issue:`142`). Thanks |
| 1135 |
:user:`decaz`. |
| 1136 |
|
| 1137 |
0.23.0 (2017-08-03) |
| 1138 |
+++++++++++++++++++ |
| 1139 |
|
| 1140 |
- Pass `operations` constructed by plugins to downstream marshmallow |
| 1141 |
plugin (:issue:`138`). Thanks :user:`yoichi`. |
| 1142 |
- [apispec.ext.marshmallow] Generate parameter specification from marshmallow Schemas (:issue:`127`). |
| 1143 |
Thanks :user:`ewalker11` for the suggestion thanks :user:`yoichi` for the PR. |
| 1144 |
- [apispec.ext.flask] Add support for Flask MethodViews (:issue:`85`, |
| 1145 |
:issue:`125`). Thanks :user:`lafrech` and :user:`boosh` for the |
| 1146 |
suggestion. Thanks :user:`djanderson` and :user:`yoichi` for the PRs. |
| 1147 |
|
| 1148 |
0.22.3 (2017-07-16) |
| 1149 |
+++++++++++++++++++ |
| 1150 |
|
| 1151 |
- Release wheel distribution. |
| 1152 |
|
| 1153 |
0.22.2 (2017-07-12) |
| 1154 |
+++++++++++++++++++ |
| 1155 |
|
| 1156 |
Bug fixes: |
| 1157 |
|
| 1158 |
- [apispec.ext.marshmallow]: Properly handle callable ``default`` values |
| 1159 |
in output spec (:issue:`131`). Thanks :user:`NightBlues`. |
| 1160 |
|
| 1161 |
0.22.1 (2017-06-25) |
| 1162 |
+++++++++++++++++++ |
| 1163 |
|
| 1164 |
Bug fixes: |
| 1165 |
|
| 1166 |
- [apispec.ext.marshmallow]: Include ``default`` in output spec when |
| 1167 |
``False`` is the default for a ``Boolean`` field (:issue:`130`). |
| 1168 |
Thanks :user:`nebularazer`. |
| 1169 |
|
| 1170 |
0.22.0 (2017-05-30) |
| 1171 |
+++++++++++++++++++ |
| 1172 |
|
| 1173 |
Features: |
| 1174 |
|
| 1175 |
- [apispec.ext.bottle] Added bottle plugin (:issue:`128`). Thanks :user:`lucasrc`. |
| 1176 |
|
| 1177 |
0.21.0 (2017-04-21) |
| 1178 |
+++++++++++++++++++ |
| 1179 |
|
| 1180 |
Features: |
| 1181 |
|
| 1182 |
- [apispec.ext.marshmallow] Sort list of required field names in generated spec (:issue:`124`). Thanks :user:`dradetsky`. |
| 1183 |
|
| 1184 |
0.20.1 (2017-04-18) |
| 1185 |
+++++++++++++++++++ |
| 1186 |
|
| 1187 |
Bug fixes: |
| 1188 |
|
| 1189 |
- [apispec.ext.tornado]: Fix compatibility with Tornado>=4.5. |
| 1190 |
- [apispec.ext.tornado]: Fix adding paths for handlers with coroutine methods in Python 2 (:issue:`99`). |
| 1191 |
|
| 1192 |
0.20.0 (2017-03-19) |
| 1193 |
+++++++++++++++++++ |
| 1194 |
|
| 1195 |
Features: |
| 1196 |
|
| 1197 |
- [apispec.core]: Definition helper functions receive the ``definition`` keyword argument, which is the current state of the definition (:issue:`122`). Thanks :user:`martinlatrille` for the PR. |
| 1198 |
|
| 1199 |
Other changes: |
| 1200 |
|
| 1201 |
- [apispec.ext.marshmallow] *Backwards-incompatible*: Remove ``dump`` parameter from ``schema2parameters``, ``fields2parameters``, and ``field2parameter`` (:issue:`114`). Thanks :user:`lafrech` and :user:`frol` for the feedback and :user:`lafrech` for the PR. |
| 1202 |
|
| 1203 |
0.19.0 (2017-03-05) |
| 1204 |
+++++++++++++++++++ |
| 1205 |
|
| 1206 |
Features: |
| 1207 |
|
| 1208 |
- [apispec.core]: Add ``extra_fields`` parameter to `APISpec.definition` (:issue:`110`). Thanks :user:`lafrech` for the PR. |
| 1209 |
- [apispec.ext.marshmallow]: Preserve the order of ``choices`` (:issue:`113`). Thanks :user:`frol` for the PR. |
| 1210 |
|
| 1211 |
Bug fixes: |
| 1212 |
|
| 1213 |
- [apispec.ext.marshmallow]: 'discriminator' is no longer valid as field metadata. It should be defined by passing ``extra_fields={'discriminator': '...'}`` to `APISpec.definition`. Thanks for reporting, :user:`lafrech`. |
| 1214 |
- [apispec.ext.marshmallow]: Allow additional properties when translating ``Nested`` fields using ``allOf`` (:issue:`108`). Thanks :user:`lafrech` for the suggestion and the PR. |
| 1215 |
- [apispec.ext.marshmallow]: Respect ``dump_only`` and ``load_only`` specified in ``class Meta`` (:issue:`84`). Thanks :user:`lafrech` for the fix. |
| 1216 |
|
| 1217 |
Other changes: |
| 1218 |
|
| 1219 |
- Drop support for Python 3.3. |
| 1220 |
|
| 1221 |
|
| 1222 |
0.18.0 (2017-02-19) |
| 1223 |
+++++++++++++++++++ |
| 1224 |
|
| 1225 |
Features: |
| 1226 |
|
| 1227 |
- [apispec.ext.marshmallow]: Translate ``allow_none`` on ``Fields`` to ``x-nullable`` (:issue:`66`). Thanks :user:`lafrech`. |
| 1228 |
|
| 1229 |
0.17.4 (2017-02-16) |
| 1230 |
+++++++++++++++++++ |
| 1231 |
|
| 1232 |
Bug fixes: |
| 1233 |
|
| 1234 |
- [apispec.ext.marshmallow]: Fix corruption of ``Schema._declared_fields`` when serializing an APISpec (:issue:`107`). Thanks :user:`serebrov` for the catch and patch. |
| 1235 |
|
| 1236 |
0.17.3 (2017-01-21) |
| 1237 |
+++++++++++++++++++ |
| 1238 |
|
| 1239 |
Bug fixes: |
| 1240 |
|
| 1241 |
- [apispec.ext.marshmallow]: Fix behavior when passing `Schema` instances to `APISpec.definition`. The `Schema's` class will correctly be registered as a an available `ref` (:issue:`84`). Thanks :user:`lafrech` for reporting and for the PR. |
| 1242 |
|
| 1243 |
0.17.2 (2017-01-03) |
| 1244 |
+++++++++++++++++++ |
| 1245 |
|
| 1246 |
Bug fixes: |
| 1247 |
|
| 1248 |
- [apispec.ext.tornado]: Remove usage of ``inspect.getargspec`` for Python >= 3.3 (:issue:`102`). Thanks :user:`matijabesednik`. |
| 1249 |
|
| 1250 |
0.17.1 (2016-11-19) |
| 1251 |
+++++++++++++++++++ |
| 1252 |
|
| 1253 |
Bug fixes: |
| 1254 |
|
| 1255 |
- [apispec.ext.marshmallow]: Prevent unnecessary warning when generating specs for marshmallow Schema's with autogenerated fields (:issue:`95`). Thanks :user:`khorolets` reporting and for the PR. |
| 1256 |
- [apispec.ext.marshmallow]: Correctly translate ``Length`` validator to `minItems` and `maxItems` for array-type fields (``Nested`` and ``List``) (:issue:`97`). Thanks :user:`YuriHeupa` for reporting and for the PR. |
| 1257 |
|
| 1258 |
0.17.0 (2016-10-30) |
| 1259 |
+++++++++++++++++++ |
| 1260 |
|
| 1261 |
Features: |
| 1262 |
|
| 1263 |
- [apispec.ext.marshmallow]: Add support for properties that start with `x-`. Thanks :user:`martinlatrille` for the PR. |
| 1264 |
|
| 1265 |
0.16.0 (2016-10-12) |
| 1266 |
+++++++++++++++++++ |
| 1267 |
|
| 1268 |
Features: |
| 1269 |
|
| 1270 |
- [apispec.core]: Allow ``description`` to be passed to ``APISpec.definition`` (:issue:`93`). Thanks :user:`martinlatrille`. |
| 1271 |
|
| 1272 |
0.15.0 (2016-10-02) |
| 1273 |
+++++++++++++++++++ |
| 1274 |
|
| 1275 |
Features: |
| 1276 |
|
| 1277 |
- [apispec.ext.marshmallow]: Allow ``'query'`` to be passed as a field location (:issue:`89`). Thanks :user:`lafrech`. |
| 1278 |
|
| 1279 |
Bug fixes: |
| 1280 |
|
| 1281 |
- [apispec.ext.flask]: Properly strip off ``basePath`` when ``APPLICATION_ROOT`` is set on a Flask app's config (:issue:`78`). Thanks :user:`deckar01` for reporting and :user:`asteinlein` for the PR. |
| 1282 |
|
| 1283 |
0.14.0 (2016-08-14) |
| 1284 |
+++++++++++++++++++ |
| 1285 |
|
| 1286 |
Features: |
| 1287 |
|
| 1288 |
- [apispec.core]: Maintain order in which paths are added to a spec (:issue:`87`). Thanks :user:`ranjanashish` for the PR. |
| 1289 |
- [apispec.ext.marshmallow]: Maintain order of fields when ``ordered=True`` on Schema. Thanks again :user:`ranjanashish`. |
| 1290 |
|
| 1291 |
0.13.0 (2016-07-03) |
| 1292 |
+++++++++++++++++++ |
| 1293 |
|
| 1294 |
Features: |
| 1295 |
|
| 1296 |
- [apispec.ext.marshmallow]: Add support for ``Dict`` field (:issue:`80`). Thanks :user:`ericb` for the PR. |
| 1297 |
- [apispec.ext.marshmallow]: ``dump_only`` fields add ``readOnly`` flag in OpenAPI spec (:issue:`79`). Thanks :user:`itajaja` for the suggestion and PR. |
| 1298 |
|
| 1299 |
Bug fixes: |
| 1300 |
|
| 1301 |
- [apispec.ext.marshmallow]: Properly exclude nested dump-only fields from parameters (:issue:`82`). Thanks :user:`incognick` for the catch and patch. |
| 1302 |
|
| 1303 |
Support: |
| 1304 |
|
| 1305 |
- Update tasks.py for compatibility with invoke>=0.13.0. |
| 1306 |
|
| 1307 |
0.12.0 (2016-05-22) |
| 1308 |
+++++++++++++++++++ |
| 1309 |
|
| 1310 |
Features: |
| 1311 |
|
| 1312 |
- [apispec.ext.marshmallow]: Inspect validators to set additional attributes (:issue:`66`). Thanks :user:`deckar01` for the PR. |
| 1313 |
|
| 1314 |
Bug fixes: |
| 1315 |
|
| 1316 |
- [apispec.ext.marshmallow]: Respect ``partial`` parameters on ``Schemas`` (:issue:`74`). Thanks :user:`incognick` for reporting. |
| 1317 |
|
| 1318 |
0.11.1 (2016-05-02) |
| 1319 |
+++++++++++++++++++ |
| 1320 |
|
| 1321 |
Bug fixes: |
| 1322 |
|
| 1323 |
- [apispec.ext.flask]: Flask plugin respects ``APPLICATION_ROOT`` from app's config (:issue:`69`). Thanks :user:`deckar01` for the catch and patch. |
| 1324 |
- [apispec.ext.marshmallow]: Fix support for plural schema instances (:issue:`71`). Thanks again :user:`deckar01`. |
| 1325 |
|
| 1326 |
0.11.0 (2016-04-12) |
| 1327 |
+++++++++++++++++++ |
| 1328 |
|
| 1329 |
Features: |
| 1330 |
|
| 1331 |
- Support vendor extensions on paths (:issue:`65`). Thanks :user:`lucascosta` for the PR. |
| 1332 |
- *Backwards-incompatible*: Remove support for old versions (<=0.15.0) of webargs. |
| 1333 |
|
| 1334 |
Bug fixes: |
| 1335 |
|
| 1336 |
- Fix error message when plugin does not have a ``setup()`` function. |
| 1337 |
- [apispec.ext.marshmallow] Fix bug in introspecting self-referencing marshmallow fields, i.e. ``fields.Nested('self')`` (:issue:`55`). Thanks :user:`whoiswes` for reporting. |
| 1338 |
- [apispec.ext.marshmallow] ``field2property`` no longer pops off ``location`` from a field's metadata (:issue:`67`). |
| 1339 |
|
| 1340 |
Support: |
| 1341 |
|
| 1342 |
- Lots of new docs, including a User Guide and improved extension docs. |
| 1343 |
|
| 1344 |
0.10.1 (2016-04-09) |
| 1345 |
+++++++++++++++++++ |
| 1346 |
|
| 1347 |
Note: This version is a re-upload of 0.10.0. There is no 0.10.0 release on PyPI. |
| 1348 |
|
| 1349 |
Features: |
| 1350 |
|
| 1351 |
- Add Tornado extension (:issue:`62`). |
| 1352 |
|
| 1353 |
Bug fixes: |
| 1354 |
|
| 1355 |
- Compatibility fix with marshmallow>=2.7.0 (:issue:`64`). |
| 1356 |
- Fix bug that raised error for Swagger parameters that didn't include the ``in`` key (:issue:`63`). |
| 1357 |
|
| 1358 |
Big thanks :user:`lucascosta` for all these changes. |
| 1359 |
|
| 1360 |
0.9.1 (2016-03-17) |
| 1361 |
++++++++++++++++++ |
| 1362 |
|
| 1363 |
Bug fixes: |
| 1364 |
|
| 1365 |
- Fix generation of metadata for ``Nested`` fields (:issue:`61`). Thanks :user:`martinlatrille`. |
| 1366 |
|
| 1367 |
0.9.0 (2016-03-13) |
| 1368 |
++++++++++++++++++ |
| 1369 |
|
| 1370 |
Features: |
| 1371 |
|
| 1372 |
- Add ``APISpec.add_tags`` method for adding Swagger tags. Thanks :user:`martinlatrille`. |
| 1373 |
|
| 1374 |
Bug fixes: |
| 1375 |
|
| 1376 |
- Fix bug in marshmallow extension where metadata was being lost when converting marshmallow ``Schemas`` when ``many=False``. Thanks again :user:`martinlatrille`. |
| 1377 |
|
| 1378 |
Other changes: |
| 1379 |
|
| 1380 |
- Remove duplicate ``SWAGGER_VERSION`` from ``api.ext.marshmallow.swagger``. |
| 1381 |
|
| 1382 |
Support: |
| 1383 |
|
| 1384 |
- Update docs to reflect rename of Swagger to OpenAPI. |
| 1385 |
|
| 1386 |
|
| 1387 |
0.8.0 (2016-03-06) |
| 1388 |
++++++++++++++++++ |
| 1389 |
|
| 1390 |
Features: |
| 1391 |
|
| 1392 |
- ``apispec.ext.marshmallow.swagger.schema2jsonschema`` properly introspects ``Schema`` instances when ``many=True`` (:issue:`53`). Thanks :user:`frol` for the PR. |
| 1393 |
|
| 1394 |
Bug fixes: |
| 1395 |
|
| 1396 |
- Fix error reporting when an invalid object is passed to ``schema2jsonschema`` or ``schema2parameters`` (:issue:`52`). Thanks again :user:`frol`. |
| 1397 |
|
| 1398 |
0.7.0 (2016-02-11) |
| 1399 |
++++++++++++++++++ |
| 1400 |
|
| 1401 |
Features: |
| 1402 |
|
| 1403 |
- ``APISpec.add_path`` accepts ``Path`` objects (:issue:`49`). Thanks :user:`Trii` for the suggestion and the implementation. |
| 1404 |
|
| 1405 |
Bug fixes: |
| 1406 |
|
| 1407 |
- Use correct field name in "required" array when ``load_from`` and ``dump_to`` are used (:issue:`48`). Thanks :user:`benbeadle` for the catch and patch. |
| 1408 |
|
| 1409 |
0.6.0 (2016-01-04) |
| 1410 |
++++++++++++++++++ |
| 1411 |
|
| 1412 |
Features: |
| 1413 |
|
| 1414 |
- Add ``APISpec#add_parameter`` for adding common Swagger parameter objects. Thanks :user:`jta`. |
| 1415 |
- The field name in a spec will be adjusted if a ``Field's`` ``load_from`` and ``dump_to`` attributes are the same. :issue:`43`. Thanks again :user:`jta`. |
| 1416 |
|
| 1417 |
Bug fixes: |
| 1418 |
|
| 1419 |
- Fix bug that caused a stack overflow when adding nested Schemas to an ``APISpec`` (:issue:`31`, :issue:`41`). Thanks :user:`alapshin` and :user:`itajaja` for reporting. Thanks :user:`itajaja` for the patch. |
| 1420 |
|
| 1421 |
0.5.0 (2015-12-13) |
| 1422 |
++++++++++++++++++ |
| 1423 |
|
| 1424 |
- ``schema2jsonschema`` and ``schema2parameters`` can introspect a marshmallow ``Schema`` instance as well as a ``Schema`` class (:issue:`37`). Thanks :user:`frol`. |
| 1425 |
- *Backwards-incompatible*: The first argument to ``schema2jsonschema`` and ``schema2parameters`` was changed from ``schema_cls`` to ``schema``. |
| 1426 |
|
| 1427 |
Bug fixes: |
| 1428 |
|
| 1429 |
- Handle conflicting signatures for plugin helpers. Thanks :user:`AndrewPashkin` for the catch and patch. |
| 1430 |
|
| 1431 |
0.4.2 (2015-11-23) |
| 1432 |
++++++++++++++++++ |
| 1433 |
|
| 1434 |
- Skip dump-only fields when ``dump=False`` is passed to ``schema2parameters`` and ``fields2parameters``. Thanks :user:`frol`. |
| 1435 |
|
| 1436 |
Bug fixes: |
| 1437 |
|
| 1438 |
- Raise ``SwaggerError`` when ``validate_swagger`` fails. Thanks :user:`frol`. |
| 1439 |
|
| 1440 |
0.4.1 (2015-10-19) |
| 1441 |
++++++++++++++++++ |
| 1442 |
|
| 1443 |
- Correctly pass ``dump`` parameter to ``field2parameters``. |
| 1444 |
|
| 1445 |
0.4.0 (2015-10-18) |
| 1446 |
++++++++++++++++++ |
| 1447 |
|
| 1448 |
- Add ``dump`` parameter to ``field2property`` (:issue:`32`). |
| 1449 |
|
| 1450 |
0.3.0 (2015-10-02) |
| 1451 |
++++++++++++++++++ |
| 1452 |
|
| 1453 |
- Rename and repackage as "apispec". |
| 1454 |
- Support ``enum`` field of JSON Schema based on ``OneOf`` and ``ContainsOnly`` validators. |
| 1455 |
|
| 1456 |
0.2.0 (2015-09-27) |
| 1457 |
++++++++++++++++++ |
| 1458 |
|
| 1459 |
- Add ``schema2parameters``, ``fields2parameters``, and ``field2parameters``. |
| 1460 |
- Removed ``Fixed`` from ``swagger.FIELD_MAPPING`` for compatibility with marshmallow>=2.0.0. |
| 1461 |
|
| 1462 |
0.1.0 (2015-09-13) |
| 1463 |
++++++++++++++++++ |
| 1464 |
|
| 1465 |
- First release. |