Releases: swagger-api/swagger-ui
Swagger-UI 3.0.19 Released!
Interface changes: Added deepLinking
, tagsSorter
, maxRows
and filter
configuration options.
- Feature:
maxRows
configuration option (via #3196) - Feature:
filter
configuration option for filtering by tag, plus a filter input (via #3196) - Feature: tagsSorter configuration option (#3022 via #3303)
- Feature: deep linking into tags and operations (#2884 via #3388)
- Improvement: get model components via
getComponent
so problems are caught by render try/catch (#3102 via #3331) - Improvement:
window.versions
information is more robust (#3300 via #3356) - Improvement: display title in nested models, and make the titles clickable (#2926 via #3355)
- Bug fix: use consumes value first when selecting a request content type (#3375 via #3377)
- Bug fix: check for null/undefined values when validating parameters (#3361 via #3363)
- Bug fix: enable line breaks in Markdown fields (#3078 via #3353)
- Bug fix: render
externalDocs
descriptions as Markdown (#3384 via #3391) - Bug fix: added missing method name to
swagger-ui-dist
default export (via #3390)
Swagger-UI 3.0.18 Released!
This is a big release! It contains two weeks of effort on the project, including several community contributions.
Interface changes: Added urls
and urls.primaryName
configuration options.
-
Feature: switch between multiple provided specs with a dropdown menu (#3103, #2891 via #3261)
-
Improvement: disabled example response values where
type: file
(via #3266) -
Improvement: non-object models reveal their names (#2947 via #3298)
-
Improvement: display required file inputs as such in Try-It-Out (#3309 via #3332)
-
Bug fix: schemes dropdown now reliably updates when a new spec is loaded via the Topbar (#3166 via #3317; superseded by #3136 via #3295)
-
Bug fix: example response JSON values are no longer being minified and escaped (#3256 via #3297)
-
Bug fix: boolean example values respect defaults (#3289 via #3293)
-
Bug fix: parameters with
default: 0
will pass Try-It-Out validation with default value (#3299 via #3306) -
Bug fix: 4xx and 5xx errors in Try-It-Out will display their headers and body (#3072 via #3294)
-
Bug fix: specs with more than 8 tags will retain their tag order for display (#3022 via #3324)
-
Bug fix:
swagger-ui-dist
can now be loaded into Node environments again (#3291 via #3336) -
Bug fix: remove Cryllic non-ASCII character from CSS (#3104 via #3350)
-
Bug fix: non-JSON parameters no longer get treated as if they are JSON in Try-It-Out (#3271 via #3346)
-
Tooling: migrated to Webpack 2 (via #3312)
-
Tooling: added Autoprefixer for better cross-browser styling (#3334 via #3344)
Swagger-UI 3.0.17 Released!
Interface changes: None
- Locked dependency for
swagger-client
to exact version. This should be a transparent change. - Removed
babel-polyfill
dependency. This should make it easier to use Swagger-UI in projects that also usebabel-polyfill
. (via #2599) - Fixed untranspiled arrow function syntax in
swagger-ui-dist-package/absolute-path.js
that would cause problems with Node < 4.0.0 (via #3264) - Explicitly pinned
[email protected]
in order to pick up an upstream fix that should improve our compatibility with projects that use Webpack 2.0+ (via #3281) - Fixed a bug where empty Markdown source text would cause the UI to render
undefined
as text.
Swagger-UI 3.0.16 Released!
Interface changes: None.
- Fixes an error in
swagger-ui-dist
(see #3253). - No code changes to Swagger-UI itself.
Swagger-UI 3.0.15 Released!
Interface changes:
- cURL command display in Try-It-Out is now readonly (see #3211)
- Response errors are now displayed in Try-It-Out (see #3076)
- Model descriptions now support Markdown (see #3236)
- Composite models now display their own name more reliably (see #3250)
- Pretty-print response example values (#3238)
- Support formBody file upload in cURL command display
- Add
absolutePath
method toswagger-ui-dist
for static serving use-cases (see #3211)
Swagger-UI 3.0.14 Released!
Interface changes: Added docExpansion
and displayOperationId
options.
- Bumped base Docker image to
alpine:3.5
. - Added copy-spec step to the Docker build process (#3179)
clear
class was removed andpulse
CSS animation was renamed to prevent collisions with third-party libraries.- Fixed over-ambitious double escaping of JSON strings in Markdown bodies.
- Fixed an issue in Access Code OAuth flow (#3172)
- Fixed an issue in Password OAuth2 flow (#3191)
Swagger-UI 3.0.12 Released!
Swagger-UI 3.0.10 Released!
Interface changes: initOAuth
instance method added.
- Bugfix: constructor config parameters are correctly applied (#3045 via #3064)
- Bugfix: ability to
npm run build
when not in a Git-enabled folder (#3027 via #3068) - Improvement: obscure
format: password
parameter inputs (#3031 via #3071) - Feature: OAuth configuration instance method (#2897 via #3074)
- Improvement: take advantage of latest
swagger-client
operationId improvements (via 6e40d04)
Swagger-UI 3.0.9 Released!
Interface changes: None.
- Bugfix: add
preventDefault
to Topbar form, allowing Explore functionality to work correctly again (#3013 via #3017) - Bugfix: guard
window
references in main file causing problems in non-browser environments (#3016 via #3018) - Improvement: make oauth scheme checkboxes more unique (via #2949)
- Bugfix: default enum selections work correctly with Execute (#2902 + #2841 via #3026)
- Improvement: more READMEs in the project
Swagger-UI 3.0.8 Released!
Interface changes: None.
- Improvement: Build-time information is exposed via
window.versions.swaggerUi
(#3003) - Improvement: Added manifest file for Snapcraft
- Improvement: Added issue template for Github Issues
- Improvement: Response headers are now displayed on their own line (#2808)
- Improvement: Removed
object-assign
package in favor of nativeObject.assign
(via #2958) - Improvement: URL input is larger; Enter key triggers spec load (#2748, #2998)
- Bugfix: OAuth2 Password flow problems (#2774, #2908)
- Bugfix: OAuth2 Authorization Code flow problems (#2844, #2870)
- Bugfix: Yarn compatibility + missing dependencies (#2937)
- Bugfix: UI container className collision with Bootstrap.css (#2984)
- Updated
swagger-client
dependency to get resolver fixes for #2923 & #2889