Skip to content

Swagger-UI 2.2.1 Released!

Compare
Choose a tag to compare
@fehguy fehguy released this 23 Aug 23:12
· 4874 commits to master since this release

A new version of swagger-ui has been released, and contains major functionality enhancements as well as a ton of performance fixes. Oh, we fixed some bugs, too.

Upgrade notes!

Please note! There are updates in the parent index.html which are required for using 2.2.1. Please compare the included libraries from your container with those in the swagger-ui distribution!

New features

  • Integrated authentication! Now your basic auth, apiKey, OAuth 2.0 Implicit security definitions are automatically rendered in the UI #1923, #1922, #1889
  • Updated Handlebars! Now using Handlebars 4.0.0 #2306
  • Highlight pack updated #2235
  • Security fixes prevent XSS injections #1866, #1865, #1864, #1863, #1617, #1154, #830

Enhancements

  • Speed improvements with large spec files, references #2292, #2198
  • Better checking for invalid specs #2258
  • File upload improvements #2251
  • Updated curl file upload command #2178
  • Added filename in download headers #1991
  • More translations #2066
  • OAuth redirect_url added #2056
  • Latest swagger-js #2244, #2223
  • :port removed from curl sample #2236

Bug Fixes

  • Fixed issue with $ref and external files #2304
  • Content-Type header sometimes not sent in request #2242
  • Arrays of primitives in formData now correctly sent
  • Authorize bugs: cancel button (#2238), logout button #2193,
  • OPTIONS javascript issue resolved #2207
  • XML rendering issues #2191, #2167, #2077, #2067, #1982, #1931, #1918, #1901
  • Boolean parameters causing rendering issues #2190
  • OAuth scopes #2150
  • IE issues #2144, #2063, #2002
  • Basic auth now works with no password(?) #2114
  • Curl makes funny characters #2113, #1978
  • Auth sends headers corectly #2075
  • Gulp tasks updated #2227
  • Some cases have wrong produces/consumes headers #2042
  • Title not used as model name by default #2029
  • Rendering fails with missing supportedSubmitMethods #1949
  • Rendering nested refs #1943, #1859
  • Enum values not displayed in response class #1907
  • Open external docs in new tab/window #1899

Please share your feedback, issues, chocolates as you see fit.