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
Unknown Object (File)
Mon, Apr 14, 9:44 AM
Unknown Object (File)
Mon, Apr 14, 4:32 AM
Unknown Object (File)
Mon, Apr 14, 1:02 AM
Unknown Object (File)
Mon, Apr 14, 12:32 AM
Unknown Object (File)
Sun, Apr 13, 12:33 PM
Unknown Object (File)
Tue, Apr 8, 6:59 PM
Unknown Object (File)
Mar 13 2025, 1:37 PM
Unknown Object (File)
Feb 13 2025, 2:29 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.