Commit Graph

5443 Commits

Author SHA1 Message Date
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
glebbash
d7ec726886 feat(swagger-ui-react): add showExtensions option (#7563)
Closes #5892
2021-11-08 09:37:28 +01:00
Florian Dreier
83021df9b0 fix: add source map of css file to swagger-ui-react (#7601)
Fixes source map of css file missing in swagger-ui-react.
The source map is referenced in ./dist/swagger-ui.css,
but as it does not exist in the final package creates errors in our tooling.
2021-11-05 16:11:56 +01:00
dependabot[bot]
23d2153be4 chore(deps-dev): bump sinon from 12.0.0 to 12.0.1 (#7616) 2021-11-05 11:42:01 +00:00
Vladimir Gorej
7cc2657699 fix(highlight-code): fix regression code highlight behavior
Refs #7603
2021-11-05 11:54:14 +01:00
swagger-bot
7443b2e936 chore(release): cut the v4.0.1 release 2021-11-04 16:06:17 +00:00
Vladimir Gorej
fb7e98a431 fix(servers): prevent UI crash when chaning Server with variables
Closes #7525
2021-11-04 16:27:27 +01:00
Vladimir Gorej
62031f3ff0 chore(deps-dev): bump expect from 1.20.2 to 27.3.1
Closes #7607
2021-11-04 14:36:36 +01:00
Vladimir Gorej
e624592d60 docs(README): add v4.0.0 into compatiblity table (#7604) 2021-11-04 13:57:27 +01:00
dependabot[bot]
d903cd6ff9 chore(deps-dev): bump lint-staged from 11.0.0 to 11.2.6 (#7606) 2021-11-04 12:18:44 +00:00
dependabot[bot]
4042c82c4f chore(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.25.2 (#7605) 2021-11-04 11:32:35 +00:00
dependabot[bot]
52a7180ae5 Merge pull request #7600 from swagger-api/dependabot/npm_and_yarn/css-loader-5.2.7 2021-11-04 10:09:32 +00:00
Vladimir Gorej
b870e222da Merge branch 'master' into dependabot/npm_and_yarn/css-loader-5.2.7 2021-11-04 10:48:42 +01:00
dependabot[bot]
4b1486bb45 Merge pull request #7599 from swagger-api/dependabot/npm_and_yarn/git-describe-4.1.0 2021-11-04 07:41:41 +00:00
Vladimir Gorej
a55928267e Merge branch 'master' into dependabot/npm_and_yarn/git-describe-4.1.0 2021-11-04 08:24:42 +01:00
dependabot[bot]
cda0586f4b Merge pull request #7598 from swagger-api/dependabot/npm_and_yarn/postcss-8.3.11 2021-11-03 17:11:42 +00:00
Vladimir Gorej
ee675ec769 Merge branch 'master' into dependabot/npm_and_yarn/css-loader-5.2.7 2021-11-03 17:50:08 +01:00
Vladimir Gorej
0b79b6f3c2 Merge branch 'master' into dependabot/npm_and_yarn/git-describe-4.1.0 2021-11-03 17:49:57 +01:00
Vladimir Gorej
aecc43f6e9 Merge branch 'master' into dependabot/npm_and_yarn/postcss-8.3.11 2021-11-03 17:49:49 +01:00
Vladimir Gorej
5dc6af0e70 ci(deps): sqash & merge dependabot PRs (#7596) 2021-11-03 16:56:09 +01:00
dependabot[bot]
2f7cfd5e77 chore(deps-dev): bump css-loader from 5.2.6 to 5.2.7
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 15:22:53 +00:00
dependabot[bot]
916ca81db3 chore(deps-dev): bump git-describe from 4.0.4 to 4.1.0
Bumps [git-describe](https://github.com/tvdstaaij/node-git-describe) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/tvdstaaij/node-git-describe/releases)
- [Changelog](https://github.com/tvdstaaij/node-git-describe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tvdstaaij/node-git-describe/compare/v4.0.4...v4.1.0)

---
updated-dependencies:
- dependency-name: git-describe
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 15:22:05 +00:00
dependabot[bot]
fcd9b4365d chore(deps-dev): bump postcss from 8.3.5 to 8.3.11
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.5 to 8.3.11.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.5...8.3.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 15:21:31 +00:00
Vladimir Gorej
8955056576 chore(dependabot): limit PRs to max 3 2021-11-03 16:20:22 +01:00
dependabot[bot]
ad493cd24e Merge pull request #7590 from swagger-api/dependabot/npm_and_yarn/babel/register-7.16.0 2021-11-03 13:15:17 +00:00
dependabot[bot]
642909eeb9 chore(deps-dev): bump @babel/register from 7.14.5 to 7.16.0
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.14.5 to 7.16.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.0/packages/babel-register)

---
updated-dependencies:
- dependency-name: "@babel/register"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 11:18:42 +00:00
dependabot[bot]
b740da58b6 Merge pull request #7591 from swagger-api/dependabot/npm_and_yarn/babel-loader-8.2.3 2021-11-03 11:17:02 +00:00
dependabot[bot]
5f5be10036 chore(deps-dev): bump babel-loader from 8.2.2 to 8.2.3
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 10:54:26 +00:00
dependabot[bot]
0a53e08ac5 chore(deps): bump nginx from 1.21-alpine to 1.21.3-alpine (#7585)
Bumps nginx from 1.21-alpine to 1.21.3-alpine.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
...

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-03 11:52:49 +01:00
swagger-bot
c66bb1bc0c chore(release): cut the v4.0.0 release 2021-11-03 10:02:34 +00:00
dependabot[bot]
4b2c585f13 Merge pull request #7586 from swagger-api/dependabot/npm_and_yarn/open-8.4.0 2021-11-03 09:21:33 +00:00
dependabot[bot]
34fd921b42 chore(deps-dev): bump open from 8.2.1 to 8.4.0
Bumps [open](https://github.com/sindresorhus/open) from 8.2.1 to 8.4.0.
- [Release notes](https://github.com/sindresorhus/open/releases)
- [Commits](https://github.com/sindresorhus/open/compare/v8.2.1...v8.4.0)

---
updated-dependencies:
- dependency-name: open
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 08:51:07 +00:00
Vladimir Gorej
32b3b97ae3 chore(release): return release scripts back to original 2021-11-03 09:49:50 +01:00
Vladimir Gorej
e7e977c91f ci: enable dependabot after v4 effort 2021-11-03 09:49:50 +01:00
Vladimir Gorej
c0ef8d9b29 chore(deps): fix security vulnerabilities 2021-11-03 09:49:50 +01:00
Vladimir Gorej
ab6bb579ed chore(deps): bump DOMPurify to latest version v2.3.3 2021-11-03 09:49:50 +01:00
swagger-bot
286ac5f9f3 chore(release): cut the v4.0.0-rc.4 release 2021-11-03 09:49:50 +01:00
Vladimir Gorej
ea660603fd chore(deps-dev): update husky to 7.0.2 version 2021-11-03 09:49:50 +01:00
Vladimir Gorej
aa12144e2b chore(deps): fix all security vulnerabilities
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
be3b54c393 chore(nvm): use recommended version of Node.js@16.8.x 2021-11-03 09:49:50 +01:00
Vladimir Gorej
93bd1c9671 chore(deps): update swagger-client to 3.17.0 version 2021-11-03 09:49:50 +01:00
Vladimir Gorej
e3640739a4 fix(root-inject): handle errors in functional components properly 2021-11-03 09:49:50 +01:00
Vladimir Gorej
46b4e5cf3f fix(highlight-code): handle mousewheel events properly
SyntaxHighlighter component doesn't support ref. We had
to use different approach to finds it's DOM Node using
ref of the root Node of the render tree for HighlightCode
component.

Refs #7497
2021-11-03 09:49:50 +01:00
Vladimir Gorej
c31cb3079a feat: allow using functional components with hooks 2021-11-03 09:49:50 +01:00
swagger-bot
c6058f85b9 chore(release): cut the v4.0.0-rc.3 release 2021-11-03 09:49:50 +01:00
Mahtis Michel
5a5a27e9d5 fix(param-body): fix loosing focus in Try It when typing (#7548)
Originally reported as SWOS-418

Closes #7477
2021-11-03 09:49:50 +01:00
Vladimir Gorej
8553943875 refactor(highlight-code): add UNSAFE prefix for lifecycle methods
Refs #7497
2021-11-03 09:49:50 +01:00
swagger-bot
e2b33a817a chore(release): cut the v4.0.0-rc.2 release 2021-11-03 09:49:50 +01:00