Airam
544d16da35
fix(swagger-ui-react): fix prop type for plugins ( #7877 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-02 11:15:44 -08:00
Benjamin Nolan
eece9f5d9b
fix(build): correct export of ./dist/swagger-ui.css ( #7878 )
2022-03-02 11:09:02 -08:00
dependabot[bot]
b136892dd1
chore(deps-dev): bump terser-webpack-plugin from 5.3.0 to 5.3.1 ( #7876 )
2022-03-02 11:42:23 +00:00
dependabot[bot]
ed0ea86771
chore(deps-dev): bump cssnano from 5.0.11 to 5.1.0 ( #7874 )
2022-03-02 11:35:12 +00:00
dependabot[bot]
ad1b6ba7ef
chore(deps-dev): bump @babel/plugin-proposal-class-properties ( #7875 )
2022-03-02 11:27:11 +00:00
swagger-bot
2693f7b7b3
chore(release): cut the v4.6.0 release
2022-03-01 21:43:14 +00:00
Tim Lai
b769edfa72
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
2022-03-01 13:01:38 -08:00
Tim Lai
07d346b516
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
2022-03-01 12:08:50 -08:00
dependabot[bot]
6534f10206
chore(deps-dev): bump expect from 27.4.2 to 27.5.1 ( #7872 )
2022-03-01 11:54:03 +00:00
dependabot[bot]
b0046306ad
chore(deps-dev): bump @commitlint/config-conventional ( #7871 )
2022-03-01 11:26:09 +00:00
kyori19
67dd4f6a8d
feat(swagger-ui-react): add support for persistAuthorization prop ( #7842 )
...
Closes #7389
2022-03-01 10:54:03 +01:00
Vladimir Gorej
8009035fa9
chore(deps): fix security vulnerabilities ( #7869 )
2022-03-01 10:36:54 +01:00
dependabot[bot]
c5cbf1fd58
chore(deps): bump url-parse from 1.5.6 to 1.5.8 ( #7866 )
2022-02-28 04:23:35 +00:00
swagger-bot
b72cf479c1
chore(release): cut the v4.5.2 release
2022-02-21 19:50:24 +00:00
Vladimir Gorej
a81341d25f
fix(swagger-ui-react): load spec on initial render ( #7856 )
...
Refs #7578
2022-02-21 20:12:36 +01:00
swagger-bot
2d4623a8d2
chore(release): cut the v4.5.1 release
2022-02-19 19:40:39 +00:00
Vladimir Gorej
c73d7182b2
fix(build): do not pull whole highlight.js and refractor libs ( #7852 )
...
Refs #7851
2022-02-19 20:20:53 +01:00
dependabot[bot]
4c8f8e3576
chore(deps): bump url-parse from 1.5.3 to 1.5.6 ( #7846 )
2022-02-18 09:59:32 +00:00
dependabot[bot]
fe3eef8e4f
chore(deps): bump vm2 from 3.9.5 to 3.9.7 ( #7840 )
2022-02-15 00:55:01 +00:00
dependabot[bot]
8a6627ef0b
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 ( #7838 )
2022-02-12 20:44:54 +00:00
Vladimir Gorej
8158d7e394
docs(installation): provide full example of unpkg usage ( #7832 )
...
Refs #7709
2022-02-09 11:07:33 +01:00
swagger-bot
9813b14544
chore(release): cut the v4.5.0 release
2022-02-04 18:03:52 +00:00
Anne Stellingwerf
a89c90ec77
fix(oauth2): generate default oauth2RedirectUrl based on page location and path ( #7476 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-02-01 16:25:52 -08:00
Tim Lai
a0e9923dd5
fix(serverVariables): refresh state on definition change ( #7821 )
...
* fix(serverVariables): refresh state on definition change
* test(serverVariables): urls with server variables assertions
2022-02-01 15:57:33 -08:00
Mahtis Michel
2b30a3478d
feat(requestSnippets): handle type: string, format: binary or base64 file upload data ( #7545 )
...
* test(curlify): assert that data-binary is generated
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-01-31 11:34:45 -08:00
whitesource-for-github-com[bot]
e8cc851c90
chore(deps): migrate .whitesource configuration file to inheritance mode ( #7804 )
...
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
2022-01-31 15:49:09 +01:00
swagger-bot
3e61af2042
chore(release): cut the v4.4.1 release
2022-01-31 14:03:10 +00:00
Vladimir Gorej
6c10e4a070
fix(auth): compensate for uninitialized config
...
Refs #7814
2022-01-31 14:27:46 +01:00
dependabot[bot]
23c3eadb28
chore(deps): bump nginx from 1.21.5-alpine to 1.21.6-alpine ( #7812 )
2022-01-31 11:17:35 +00:00
swagger-bot
7a30200274
chore(release): cut the v4.4.0 release
2022-01-27 09:37:53 +00:00
Vladimir Gorej
3ce6477007
refactor(memoizeN): extract support code out of closure ( #7805 )
2022-01-27 08:57:50 +01:00
Vladimir Gorej
d638e58527
fix(view-plugin): provide resolvers for memoized functions ( #7801 )
...
Before this change, memoization happened only on first
argument provided to the functions. Now the memoization
properly handle all arguments.
Refs #7800
2022-01-27 08:46:03 +01:00
Vladimir Gorej
87ccc247e0
refactor(memoize): get rid of memoizee prod dependency ( #7799 )
...
The memoizee dependency was replaced with specialization
of lodash.memoize.
Refs #7694
2022-01-26 17:39:47 +01:00
John Bednarczyk
8ea3cfd00f
fix(plugins): make swagger-js wrapActions overridable ( #7753 )
...
Co-authored-by: John Bednarczyk <john.bednarczyk@singlewire.com >
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
Refs #7730
2022-01-26 12:47:42 +01:00
Raymond Berger
0650bb4680
docs(README): update JDK documentation link ( #7744 )
2022-01-26 11:11:33 +01:00
Vladimir Gorej
6c417e4901
fix(security): update swagger-client to v3.18.3 ( #7798 )
...
Refs https://github.com/advisories/GHSA-r683-j2x4-v87g
2022-01-26 11:01:47 +01:00
Christian Egli
c6d8d779d0
feat: do not ask for client secret when using auth code with PKCE ( #7438 )
...
Co-authored-by: Ignacio Lozano <nacholozano@gmail.com >
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
Refs #6290
2022-01-26 10:56:09 +01:00
swagger-bot
64345a39f3
chore(release): cut the v4.3.0 release
2022-01-25 10:03:14 +00:00
Vladimir Gorej
6b1070814c
fix(swagger-ui-react): fix prop type for defaultModelRendering
...
Refs #7783
2022-01-24 16:33:45 +01:00
Vladimir Gorej
8b1c4a7c1a
feat(error-handling): introduce unified and configurable error handling ( #7761 )
...
Refs #7778
2022-01-24 16:12:13 +01:00
dependabot[bot]
4f2287fe53
chore(deps-dev): bump @commitlint/config-conventional
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional ) from 15.0.0 to 16.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.0.0/@commitlint/config-conventional )
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-21 10:31:27 +01:00
dependabot[bot]
77f72efa7a
chore(deps-dev): bump @babel/cli from 7.14.5 to 7.16.8 ( #7781 )
2022-01-20 13:08:28 +00:00
dependabot[bot]
cc35d4838d
chore(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.25.4 ( #7780 )
2022-01-20 11:31:10 +00:00
swagger-bot
d0954665de
chore(release): cut the v4.2.1 release
2022-01-19 18:21:09 +00:00
Tim Lai
b1e94733b5
chore(deps-dev): @babel plugins needed to build swagger-ui-react ( #7779 )
...
* chore(deps-dev): @babel plugins needed to build swagger-ui-react
* chore(swagger-ui-react): remove unused require `fs`
2022-01-19 09:46:15 -08:00
swagger-bot
5cf907c283
chore(release): cut the v4.2.0 release
2022-01-19 14:09:33 +00:00
Vladimir Gorej
747038029a
revert: bump serialize-error from 8.1.0 to 9.0.0 ( #7670 )
...
Refs 7049015
Refs #7670
2022-01-19 14:39:08 +01:00
Vladimir Gorej
302c483f0a
revert: add wait time for bugs/5043 to resolve spec ( #7769 ) ( #7775 )
...
Refs affd4b9
2022-01-19 13:51:52 +01:00
dependabot[bot]
5abb5c3f06
chore(deps-dev): bump sass from 1.48.0 to 1.49.0 ( #7774 )
2022-01-19 12:45:42 +00:00
dependabot[bot]
797141b532
chore(deps): bump reselect from 4.0.0 to 4.1.5 ( #7767 )
2022-01-19 12:38:36 +00:00