Commit Graph

5290 Commits

Author SHA1 Message Date
Mahtis Michel
85597b9a94 feat(swagger-ui-react): Enable displayRequestDuration prop (#7522)
* feat(react): allow displayRequestDuration via react

* docs(react): added displayRequestDuration prop

* Update flavors/swagger-ui-react/README.md

Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-18 10:24:34 -08:00
dependabot[bot]
3af8acf758 chore(deps): bump @babel/runtime-corejs3 from 7.16.3 to 7.16.8 (#7748) 2022-01-17 15:39:51 +00:00
Vladimir Gorej
51f6aedd72 chore(package-lock): fix security vulnerabilities 2022-01-17 16:31:08 +01:00
Mahtis Michel
87226bc47d docs(request-snippet): document request snippets plug points (#7524)
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-12 14:39:00 -08:00
Alex Rejto
6273fd1dd8 feat: add support of defaultModelRendering prop to swagger-ui-react
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-12 14:31:55 -08:00
Xavier Fournet
e6ea523e7c Add source map of js files to swagger-ui-react (#7717)
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-12 13:59:50 -08:00
dependabot[bot]
b65d19cd66 chore(deps-dev): bump @babel/preset-env from 7.14.7 to 7.16.8 (#7747) 2022-01-11 09:01:58 +00:00
Vladimir Gorej
951bbbcad2 chore(package-lock): run npm audit to fix security vunls 2022-01-11 09:55:01 +01:00
Vladimir Gorej
9b8a7318e4 chore(whitesource): update configuration file
Additionally, setting the ConclusionLevel to _success_ as
there are numerous vulnerable packages being tracked though
have no documented remediation at this time. Issues will still
generate tickets though the scan will not result in a failure.
2022-01-11 09:29:27 +01:00
dependabot[bot]
a094651d84 chore(deps-dev): bump expect from 27.3.1 to 27.4.2 (#7700) 2022-01-03 11:26:44 +00:00
dependabot[bot]
7cecd1e2eb chore(deps): bump nginx from 1.21.4-alpine to 1.21.5-alpine (#7731) 2022-01-03 11:19:05 +00:00
Josh Ponelat
8718d4b267 docs(SECURITY.md): add v3 EOL info (#7701)
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>
Co-authored-by: Helen Kosova <hkosova@users.noreply.github.com>
2021-12-14 10:36:52 +01:00
dependabot[bot]
744454c7bb chore(deps-dev): bump eslint-plugin-react from 7.27.0 to 7.27.1 (#7686) 2021-12-10 13:09:57 +00:00
swagger-bot
86e7f002c6 chore(release): cut the v4.1.3 release 2021-12-10 13:02:38 +00:00
Vladimir Gorej
01a3e55960 fix(security): disable reading config params from URL search params (#7697)
Reading configuration parameters from URL search params 
is by default no longer enabled. To re-enable it, set queryConfigEnabled
configuration parameter to true.

Functionally, this is a breaking change, but given we're just providing
a security vulnerability patch we're considering this a PATCH version bump
only.

Refs #4872
Refs https://github.com/swagger-api/swagger-ui/security/advisories/GHSA-qrmm-w75w-3wpx
2021-12-09 17:28:17 +01:00
dependabot[bot]
df7749b2fe chore(deps-dev): bump less from 4.1.1 to 4.1.2 (#7685) 2021-11-29 11:25:20 +00:00
dependabot[bot]
bc4710f14f chore(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 (#7683) 2021-11-26 11:37:44 +00:00
dependabot[bot]
e5463833a0 chore(deps-dev): bump @babel/plugin-proposal-optional-chaining (#7682) 2021-11-26 11:30:41 +00:00
dependabot[bot]
1386ae592a chore(deps-dev): bump source-map-support from 0.5.19 to 0.5.21 (#7681) 2021-11-26 11:22:12 +00:00
dependabot[bot]
60cab5fca9 chore(deps-dev): bump @commitlint/cli from 12.1.4 to 15.0.0 (#7678)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 12.1.4 to 15.0.0.
- [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/v15.0.0/@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>
2021-11-26 11:43:09 +01:00
swagger-bot
c572cfe49a chore(release): cut the v4.1.2 release 2021-11-26 10:34:50 +00:00
Vladimir Gorej
f3d38987aa fix: request JumpToPath components always as container
Refs https://github.com/swagger-api/swagger-editor/issues/2099
2021-11-26 10:52:00 +01:00
swagger-bot
7b52233d5c chore(release): cut the v4.1.1 release 2021-11-25 15:35:07 +00:00
Vladimir Gorej
c69aed27c1 chore(deps): allow updating patch and minor version for highlihter 2021-11-25 16:03:07 +01:00
Vladimir Gorej
b299be764f fix: introduce Error Boundaries to handle unexpected failures (#7671)
Two new components have been updated via plugin system: ErrorBoundary and Fallback.
These components can be overridden by user plugins.

Refs #7647
2021-11-25 13:47:22 +01:00
Vladimir Gorej
fd22564598 chore(deps-dev): fix security vuln. in react-syntax-highlighter 2021-11-24 14:55:00 +01:00
dependabot[bot]
0e699d1315 chore(deps-dev): bump husky from 7.0.2 to 7.0.4 (#7664)
Bumps [husky](https://github.com/typicode/husky) from 7.0.2 to 7.0.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.2...v7.0.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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>
2021-11-24 14:36:36 +01:00
dependabot[bot]
2ff943797e chore(deps-dev): bump @commitlint/config-conventional
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 12.1.4 to 15.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/v15.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>
2021-11-24 14:30:19 +01:00
dependabot[bot]
120eb5e104 chore(deps): bump redux from 4.1.0 to 4.1.2 (#7663) 2021-11-19 11:25:18 +00:00
dependabot[bot]
519748d876 chore(deps-dev): bump @babel/eslint-parser from 7.14.3 to 7.16.3 (#7660) 2021-11-18 11:31:17 +00:00
dependabot[bot]
8c2d345945 chore(deps-dev): bump autoprefixer from 10.3.1 to 10.4.0 (#7659) 2021-11-18 11:22:35 +00:00
dependabot[bot]
40bf75f379 chore(deps-dev): bump cypress from 7.7.0 to 9.0.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.7.0 to 9.0.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.7.0...v9.0.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 22:10:09 +01:00
dependabot[bot]
8a06f8d57f chore(deps-dev): bump @babel/plugin-transform-runtime (#7655) 2021-11-17 11:32:16 +00:00
dependabot[bot]
a82433c460 chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator (#7656) 2021-11-17 11:22:33 +00:00
dependabot[bot]
18d4fb33e5 chore(deps-dev): bump eslint-plugin-jest from 24.4.0 to 25.2.4 (#7629)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.4.0 to 25.2.4.
- [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/v24.4.0...v25.2.4)

---
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: Vladimir Gorej <vladimir.gorej@gmail.com>
2021-11-16 22:17:20 +01:00
dependabot[bot]
e0e8b421c6 chore(deps-dev): bump cssnano from 5.0.4 to 5.0.11 (#7652) 2021-11-16 21:09:25 +00:00
dependabot[bot]
738c4d609c chore(deps-dev): bump json-server from 0.16.3 to 0.17.0 (#7651) 2021-11-16 21:00:02 +00:00
Vladimir Gorej
9b5cbecad0 ci: optimize speed of CI (#7649)
Refs #7627
2021-11-16 21:22:17 +01:00
dependabot[bot]
0e5bc25466 chore(deps): bump nginx from 1.21.3-alpine to 1.21.4-alpine
Bumps nginx from 1.21.3-alpine to 1.21.4-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 17:10:45 +01:00
dependabot[bot]
b1530dc103 chore(deps): bump @babel/runtime-corejs3 from 7.14.8 to 7.16.3 (#7636) 2021-11-10 16:42:26 +00:00
Vladimir Gorej
8d217ed0a0 chore(deps): fix security vulneraiblity in json-merger 2021-11-10 17:23:15 +01:00
dependabot[bot]
53bdcd9257 chore(deps-dev): bump eslint-plugin-react from 7.24.0 to 7.27.0
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.24.0 to 7.27.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.24.0...v7.27.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-10 16:41:50 +01:00
dependabot[bot]
c2866bbd00 chore(deps-dev): bump @babel/plugin-proposal-class-properties (#7621) 2021-11-08 14:17:28 +00:00
dependabot[bot]
dd0404f000 chore(deps): bump react-copy-to-clipboard from 5.0.3 to 5.0.4 (#7623) 2021-11-08 13:29:03 +00:00
swagger-bot
e0d1e19d6e chore(release): cut the v4.1.0 release 2021-11-08 13:02:27 +00:00
Andriy Semenyuk
b71446caa0 feat(swagger-ui-react): add support of filter prop (#7547)
Co-authored-by: Mahtis Michel <mathis.michel@outlook.de>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>

Closes #7546
2021-11-08 13:08:15 +01:00
dependabot[bot]
9d2b35aeb2 chore(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 (#7622) 2021-11-08 11:40:57 +00:00
Mahtis Michel
3fea224a7d feat(swagger-ui-react): add request snippets configuration (#7536)
Closes #7523
2021-11-08 12:13:32 +01:00
Vladimir Gorej
c7b215b6bb docs(configuration): document requestSnippetsEnabled config option
Along with that fix formatting of request snippet
value.
2021-11-08 11:50:00 +01:00
Vladimir Gorej
4a78313ebf fix(swagger-ui-react): add showExtension propType
Refs #5892
2021-11-08 10:07:21 +01:00