Skip to content

Releases: swagger-api/swagger-ui

Swagger-UI 3.0.14 Released!

14 Jun 00:57
v3.0.14

Choose a tag to compare

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 and pulse 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)

Version Diff

Swagger-UI 3.0.12 Released!

27 May 03:27

Choose a tag to compare

Interface changes:

  • Improvement: add modelPropertyMacro and parameterMacro callback functions (#3067 via #3130)
  • Bugfix: make tag expand/collapse clickable area larger (via #3116)
  • Improvement: add entry point for swagger-ui-dist package (via #3126, #3133)

Version Diff

Swagger-UI 3.0.10 Released!

15 May 07:38

Choose a tag to compare

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)

Version Diff

Swagger-UI 3.0.9 Released!

08 May 06:51

Choose a tag to compare

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

Version Diff

Swagger-UI 3.0.8 Released!

02 May 01:17

Choose a tag to compare

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 native Object.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

Version Diff

Swagger-UI 3.0.7 Released!

24 Apr 22:21

Choose a tag to compare

Interface changes:** Added operationsSorter option.

  • Improvement: new package! swagger-ui-dist is available on npm, if you have a need for the entire dist folder packaged as a dependency-free npm module.
  • Bugfix: app crashing when an operation written in YAML is cast to null (#2918)
  • Bugfix: request execution not inferring scheme properly with relative URLs (#2919)
  • Bugfix: validator URL not being set properly in Docker container (#2936)
  • Bugfix: formatting issues when authorization panel (#2929)
  • Bugfix: empty body values being cast to {} (#2881)
  • Bugfix: rendering issue with array-type parameters (#2890)

Swagger-UI 3.0.6 Released!

18 Apr 06:48

Choose a tag to compare

Interface changes: layout is no longer required in your config. A default layout has been added to core that will be used unless you specify another layout.

  • Bugfix: negative numbers not validated as integers or numbers in parameters
  • Bugfix: Scheme not inferred properly for specs loaded over HTTPS; scheme and host not inferred correctly for relative URL specs (#2904)
  • Bugfix: Nested readOnly properties are now rendered (#2910)
  • Improvement: Useless minified component names are hidden when errors occur
  • Improvement: Clarified Docker containers to follow Docker best practices. Now latest refers to the "latest released version" and unstable refers to the current master. We will continue to tag final versions, which is, as always, the safest way to use Docker images.

Swagger-UI 3.0.5 Released!

08 Apr 16:52

Choose a tag to compare

Interface changes: Added ability to specify a remote config with the configUrl option.

  • Bugfix: cookies were not being sent when downloading a spec from the same origin as the browser (PR #2822)
  • Bugfix: JSON example value display problem (#2800)
  • Bugfix: cURL command generation issue (#2839)
  • Bugfix: array properties not showing description metadata (#2807)
  • Bugfix: ability to basic-authenticate with non-ASCII characters (#2456)
  • Bugfix: Try It Out ignoring spec schemes (#2816)
  • Feature: OAuth2 Application flow (#2838)
  • Housekeeping: Added composer.json for PHP package managers
  • Housekeeping: Moved assets in /public to /dist

Version Diff

Swagger-UI 3.0.4 Released!

07 Apr 16:42

Choose a tag to compare

Interface changes: StandalonePreset no longer needs guarding logic for a default property (see here).

  • Fixed broken development server
  • Added ability to disable validation badge by setting validationUrl: null
  • Scopes are displayed for oauth2 password flow
  • Hid validation badge by default, when a spec is fetched from localhost
  • Cleaned up package.json

Version Diff

Swagger-UI 3.0.3 Released!

07 Apr 16:42

Choose a tag to compare

Interface changes: No module interface changes, but the index.html file for direct usage was moved.

  • Added testing and linting.
  • Moved public/index.html to dist/index.html.
  • Links in the Info section now open in a new window/tab.
  • Removed logic that prevented Try-It-Out functionality if a host wasn't provided in the spec.
  • Added polyfills that fix issues in IE11 and lower.
  • XML rendering fixes (#2766)

Version Diff