Releases: swagger-api/swagger-ui
Swagger UI 3.21.0 Released!
This release marks the introduction of a new flavor of Swagger UI: swagger-ui-react.
This new module exports a component for use in React applications, and allows you to use any React version you'd like, without fear of colliding with Swagger UI's internal React version.
We recommend that anyone using Swagger UI within a React application migrate to this module, instead of continuing to mount Swagger UI onto a React-created DOM node by ID.
This release also includes some fixes that improve Swagger UI's handling of rare edge cases in the resolver engine.
Note: this release was also erroneously pushed out as v3.20.10 - both versions' contents are identical.
Changelog
Swagger UI 3.20.9 Released!
This release contains a security fix that addresses a cross-site scripting vulnerability. If you use Swagger UI to display untrusted OpenAPI documents, you should upgrade to this version ASAP.
This release also changes Swagger UI's OperationSummary component to better tolerate badly-formed (i.e., non-string) summary fields.
Changelog:
Swagger UI 3.20.8 Released!
Summary
This release contains styling fixes, support for x-www-form-urlencoded bodies without explicitly-defined request properties, and non-material security fixes from upstream modules.
In order to take advantage of the new X-Requested-With header in OAuth2 token requests, cross-origin APIs (which require CORS configuration) needs to send Access-Control-Allow-Headers: X-Requested-With as part of the OPTIONS response for your token endpoint. A CORS library will handle this for you - visit https://enable-cors.org for more guidance.
Changelog
- improvement: better operation path + summary overflow styling (via #5184)
- improvement: set
X-Requested-Withto prevent browser authentication dialog (via #4934) - fix: provide JSON editor for x-www-form-urlencoded bodies lacking properties (via #5180)
- housekeeping: bump minimum lodash version (via #5156)
Swagger UI 3.20.7 Released!
Interface changes: none.
Changelog:
- improvement: generate non-smart Markdown quotes (via #5162)
- improvement(docker): smaller images via no-cache option (via #5157)
- fix: coerce multipart initial property values to string (via #5166)
- fix: gracefully handle malformed global tags array in taggedOperations selector (via #5159)
- fix: don't trigger
urlremote document load ifurlsis provided (via #5161) - housekeeping: corresponding changes for swagger-api/swagger-editor#1935 (via #5170)
- housekeeping: losslessly crush PNG images with pingo (via #5158)
Swagger UI 3.20.6 Released!
Swagger UI 3.20.5 Released!
Interface changes: None.
Changelog:
- improvement: support Markdown in header descriptions (via #5120)
- improvement: add individual CSS classes to info items (via #5051)
- improvement: show description fields in form-data request bodies (via #5073)
- improvement: render request body description as Markdown (via #5078)
- fix: non-typesafe spec selector (via #5121)
- fix: tag-level deep link escaping inconsistencies (via #5117)
- fix: Immutable property access pattern (via #5112)
- fix: only apply instance-strip transformer to schema errors (via #5110)
Swagger UI 3.20.4 Released!
Swagger UI 3.20.3 Released!
Swagger UI 3.20.2 Released!
Swagger UI 3.20.1 Released!
Private interface changes:
specSelectors.operationConsumeswas removed in favor of the newspecSelectors.consumesOptionsForselector.
Changelog: