Vladimir Gorej
aa704b09be
chore(deps-dev): fix security vulnerabilities ( #7922 )
2022-03-22 11:16:36 +01:00
swagger-bot
0a5dd8e36f
chore(release): cut the v4.7.0 release
2022-03-22 09:41:31 +00:00
Matthias Blümel
2879773f3f
improvement(docker): migrate run.sh to docker-entrypoint.d-script ( #7915 ) ( #7916 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-21 15:25:56 -07:00
twjasa
77d0bb960b
feat: add modelcollapse to primitive models ( #7557 )
...
* update: primitive-model test with modelcollapse
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-21 14:50:14 -07:00
Christopher Giroir
c81d7f0f30
feat(docker): add OAUTH_USE_BASIC_AUTH env ( #7474 )
...
Makes the last `initOAuth` variable configurable via environment
variables in the swagger-ui docker image.
Co-authored-by: Christopher Giroir <chrisgiroir@improbable.io >
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-21 13:53:07 -07:00
Tim Lai
bd19c9c60c
chore(deps): bump @braintree/sanitize-url from 5.0.2 to 6.0.0 ( #7914 )
2022-03-16 14:18:10 -07:00
Raymond Berger
d064198c37
fix(auth): add name tag to bearer input field ( #7743 )
...
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-15 11:42:18 -07:00
dependabot[bot]
076b46cc47
chore(deps-dev): bump @commitlint/cli from 15.0.0 to 16.2.1 ( #7901 )
...
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli ) from 15.0.0 to 16.2.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.2.1/@commitlint/cli )
---
updated-dependencies:
- dependency-name: "@commitlint/cli"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
2022-03-14 14:30:44 +01:00
Maciej Kowalski
8f63462f9e
feat(oauth2): authActions.authPopup plugin accessible wrapper ( #7699 )
...
* enables win.open to be extensible by plugins
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-10 14:44:46 -08:00
GhBogdan97
a5aca55f58
fix(css): update flex and overflow properties on tags ( #7566 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-10 12:40:26 -08:00
dependabot[bot]
c60a32aa67
chore(deps-dev): bump cypress from 9.0.0 to 9.5.1 ( #7889 )
2022-03-10 11:43:40 +00:00
swagger-bot
d191c1ca18
chore(release): cut the v4.6.2 release
2022-03-10 11:36:38 +00:00
Vladimir Gorej
5874d2be4f
fix(swagger-ui-react): amend prop validation for plugins ( #7900 )
...
plugins prop can be defined as list of function as well.
2022-03-10 12:15:21 +01:00
dependabot[bot]
08829b1d06
chore(deps-dev): bump @babel/register from 7.16.0 to 7.17.0 ( #7887 )
2022-03-04 11:46:57 +00:00
dependabot[bot]
59acd1bff4
chore(deps-dev): bump jest from 27.4.7 to 27.5.1 ( #7886 )
2022-03-04 11:32:34 +00:00
dependabot[bot]
a746013aca
chore(deps-dev): bump @babel/eslint-parser from 7.16.3 to 7.17.0 ( #7884 )
2022-03-04 11:22:31 +00:00
dewijones92
3d79c24949
fix(examples): allow string created by regex pattern ( #7829 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-03 16:31:00 -08:00
dependabot[bot]
7d4086bddf
chore(deps-dev): bump prettier from 2.3.2 to 2.5.1 ( #7882 )
2022-03-03 11:55:08 +00:00
dependabot[bot]
74c527e9cb
chore(deps-dev): bump mini-css-extract-plugin from 2.4.6 to 2.5.3 ( #7883 )
2022-03-03 11:28:25 +00:00
dependabot[bot]
a1657759e5
chore(deps): bump prop-types from 15.7.2 to 15.8.1 ( #7881 )
2022-03-03 11:19:14 +00:00
swagger-bot
1dd3ef62ad
chore(release): cut the v4.6.1 release
2022-03-02 21:44:06 +00:00
glamic-ep
4109efd734
fix(docker-nginx): Output yml/yaml as text/plain ( #7749 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-02 12:06:28 -08:00
Marc Würth
09a403f382
docs: move summary to README ( #7816 )
...
* Move documentation summary to docs README
* Delete SUMMARY.md
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-02 11:55:02 -08:00
dependabot[bot]
434e9cf251
chore(deps-dev): bump eslint-plugin-jest from 25.2.4 to 26.1.1 ( #7870 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 25.2.4 to 26.1.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v25.2.4...v26.1.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-02 11:45:49 -08:00
Tim Lai
3eb05287ef
fix(oauth2): addEventListener only if document state is not 'loading' ( #7879 )
2022-03-02 11:38:19 -08:00
Bogdan-Hasanov
824917c2aa
fix(oauth2): addEventListener only if document state is not 'loading' ( #7828 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-02 11:27:53 -08:00
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