Page MenuHomeFreeBSD

www/py-drf-yasg: Update to 1.14.0
ClosedPublic

Authored by kai on Mar 15 2019, 9:31 AM.
Tags
None
Referenced Files
F103752208: D19590.diff
Thu, Nov 28, 11:04 PM
Unknown Object (File)
Sun, Nov 3, 10:16 PM
Unknown Object (File)
Thu, Oct 31, 10:42 AM
Unknown Object (File)
Thu, Oct 31, 9:12 AM
Unknown Object (File)
Oct 9 2024, 7:08 PM
Unknown Object (File)
Oct 7 2024, 5:38 AM
Unknown Object (File)
Sep 27 2024, 5:26 AM
Unknown Object (File)
Sep 21 2024, 12:41 PM
Subscribers
None

Details

Summary

Notable changes since 1.11.1:

Additions:

  • get_security_definitions and get_security_requirements hooks to OpenAPISchemaGenerator
  • Added get_summary_and_description and split_summary_from_description extension points to SwaggerAutoSchema to allow for better customisation

Improvements:

  • Updated swagger-ui to version 3.21.0
  • Updated ReDoc to version 2.0.0-rc.2

Fixes:

  • Implicit ref_name collisions will now throw an exception
  • RecursiveField will now also work as a child of ListSerializer

Removals:

  • The get_summary and get_description methods have been removed

Deprecations:

  • Quietly dropped support for the flex validator; it will still work if the library is installed, but the setup.py requirement was removed and the validator will be silently skipped if not installed

https://github.com/axnsan12/drf-yasg/blob/1.14.0/docs/changelog.rst

Test Plan
  • poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r344874 amd64 + i386) for each py27 + py36 flavor -> OK
  • portlitn -> OK
  • Runtime tests -> OK

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 17 2019, 7:35 AM
This revision was automatically updated to reflect the committed changes.