Skip to content

Releases: swagger-api/swagger-ui

Swagger UI v4.8.1 Released!

23 Mar 03:26

Choose a tag to compare

4.8.1 (2022-03-23)

Bug Fixes

  • auth: use aria-label instead of name field (#7930) (859b2e1)

Swagger UI v4.8.0 Released!

22 Mar 12:47

Choose a tag to compare

4.8.0 (2022-03-22)

Features

  • swagger-ui-react: export presets and plugins as static props (#7927) (3296e2e), closes #7923

Swagger UI v4.7.0 Released!

22 Mar 09:48

Choose a tag to compare

4.7.0 (2022-03-22)

Bug Fixes

  • auth: add name tag to bearer input field (#7743) (d064198)
  • css: update flex and overflow properties on tags (#7566) (a5aca55)

Features

  • add modelcollapse to primitive models (#7557) (77d0bb9)
  • docker: add OAUTH_USE_BASIC_AUTH env (#7474) (c81d7f0)
  • oauth2: authActions.authPopup plugin accessible wrapper (#7699) (8f63462)

Swagger UI v4.6.2 Released!

10 Mar 11:38

Choose a tag to compare

4.6.2 (2022-03-10)

Bug Fixes

  • examples: allow string created by regex pattern (#7829) (3d79c24)
  • swagger-ui-react: amend prop validation for plugins (#7900) (5874d2b)

Swagger UI v4.6.1 Released!

02 Mar 21:46

Choose a tag to compare

4.6.1 (2022-03-02)

Bug Fixes

Swagger UI v4.6.0 Released!

01 Mar 21:46

Choose a tag to compare

4.6.0 (2022-03-01)

Features

  • build: webpack@5 and webpack-dev-server@4 (#7826) (07d346b)
  • swagger-ui-react: add support for persistAuthorization prop (#7842) (67dd4f6), closes #7389

Additional Notes

SwaggerUI is now built using webpack@5, with dev support for webpack-dev-server@4

  • ES Module output bundle path now points to swagger-ui-es-bundle-core, which does not include dependencies
  • No change to CommonJS output bundle or path
  • Now uses Asset Modules, which replaces file-loader, raw-loader, and url-loader
  • Removed unused rules/loaders for .woff | .woff2 | .ttf | .eot fonts and html
  • Node polyfills are no longer bundled with webpack@5, and must be loaded separately and/or use resolve.fallback. As an example, SwaggerUI loads process, buffer, and stream-browserify as devDependencies in order to build development and production bundles.

SwaggerUI-React:

  • Now imports swagger-ui-es-bundle-core, and similarly outputs swagger-ui-es-bundle-core to its dist directory

Dev:

  • Order of execution matters for the production npm build scripts. build-stylesheets needs to get built first,
    then cleanup of any empty artifacts, before building the various production bundles
  • Dev-helpers now relies on HTMLWebpackPlugin to inject css and bundle files

Swagger UI v4.5.2 Released!

21 Feb 19:53

Choose a tag to compare

4.5.2 (2022-02-21)

Bug Fixes

Swagger UI v4.5.1 Released!

19 Feb 19:41

Choose a tag to compare

4.5.1 (2022-02-19)

Bug Fixes

  • build: do not pull whole highlight.js and refractor libs (#7852) (c73d718), closes #7851

Swagger UI v4.5.0 Released!

04 Feb 18:06

Choose a tag to compare

4.5.0 (2022-02-04)

Features

  • requestSnippets: handle type: string, format: binary or base64 file upload data (#7545) (2b30a34)

Bug Fixes

  • oauth2: generate default oauth2RedirectUrl based on page location and path (#7476) (a89c90e)
  • serverVariables: refresh state on definition change (#7821) (a0e9923)

Swagger UI v4.4.1 Released!

31 Jan 14:04

Choose a tag to compare

4.4.1 (2022-01-31)

Bug Fixes

  • auth: compensate for uninitialized config (6c10e4a), closes #7814