Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swagger-api/swagger-ui
base: v4.5.2
Choose a base ref
...
head repository: swagger-api/swagger-ui
compare: v4.6.0
Choose a head ref
  • 8 commits
  • 28 files changed
  • 5 contributors

Commits on Feb 28, 2022

  1. Copy the full SHA
    c5cbf1f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. Copy the full SHA
    8009035 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    67dd4f6 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    b004630 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6534f10 View commit details
    Browse the repository at this point in the history
  5. feat(build): webpack@5 and webpack-dev-server@4 (#7826)

    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 notes:
    - 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
    tim-lai committed Mar 1, 2022
    Copy the full SHA
    07d346b View commit details
    Browse the repository at this point in the history
  6. chore(deps): fix security vulnerabilities (#7873)

    * chore(deps): bump vm2 from 3.9.5 to 3.9.9
    
    * chore(deps): bump refractor from 3.5.0 to 3.6.0
    
    * chore(deps-dev): bump follow-redirects from 1.14.7 to 1.14.9
    tim-lai committed Mar 1, 2022
    Copy the full SHA
    b769edf View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    2693f7b View commit details
    Browse the repository at this point in the history