chore(deps): update dependency swagger-ui to v3.52.4
This MR contains the following updates:
Package | Update | Change |
---|---|---|
swagger-ui (source) | minor |
3.22.2 -> 3.52.4
|
Release Notes
swagger-api/swagger-ui (swagger-ui)
v3.52.4
: Swagger UI v3.52.4 Released!
Bug Fixes
- fix issue with highlight code scrolling causing console error (#7497) (#7519) (24aaa53)
- remove redundant whitespaces in API key auth popup (#7538) (a740f3d)
- rename request snippets configuration props (#7535) (90c8a73), closes #7534
-
paths: break long paths with
<wbr>
(#7516) (f88334a), closes #7513 - UI: correct width of HTTP request method names (#7527) (fc7cdb8), closes #7479
- ux: update the buttons of the example tabs to be displayed as links (#7517) (ff5deb3), closes #7464 #7464
v3.52.3
: Swagger UI v3.52.3 Released!
Bug Fixes
- a11n: provide proper a11n for response example tabs (#7464) (8ffb1ae), closes #7463 #7350
- sample-gen: generate the correct number of properties (#7432) (f1aab53)
- try-it-out: fix the width of image responses (#7495) (cc700f0), closes #5578
v3.52.2
: Swagger UI v3.52.2 Released!
Bug Fixes
- Dockerfile: fix security issue in docker image (3c9061e), closes #7445
- security: fix security issue in prismjs production dep (#7493) (2a1b710), closes #7492
- security: fix security issue in url-parse production dep
v3.52.1
: Swagger UI v3.52.1 Released!
Bug Fixes
- build-security: do not expose hostname to build framents (#7491) (fdef4ea), closes #7446
- security: bump swagger-client to v3.16.1 (5029b81), closes #7473
v3.52.0
: Swagger UI v3.52.0 Released!
Features
- js-yaml: update our main YAML parser to v4.1.0 (no esprima anymore in bundle) (3248428), closes #6804
v3.51.2
: Swagger UI v3.51.2 Released!
Bug Fixes
- deps: bump swagger-client to v3.14.1 (#7440) (8daf4e4), closes #7436
- minimum runtime Node.js version is now => 12.4
v3.51.1
: Swagger UI v3.51.1 Released!
Bug Fixes
v3.51.0
: Swagger UI v3.51.0 Released!
Features
Bug Fixes
- sample-gen: oas3 form-data object should generate example (#7355) (87ded99)
- try-it-out: button and inner text spacing (#7357) (14be45d)
-
ui: parameter placeholder should only display
name
(#7123) (3a0f72f)
Deprecation Warning
Swagger UI now requires Node.js v12. Node.js v10 has reached its EOL on 30-04-2021. Documentation has been updated in this MR #7359
v3.50.0
: Swagger UI v3.50.0 Released!
Features
Bug Fixes
Deprecation warning
-
wrapComponents: The new configuration option introduced in this version sets the default to
legacy
, with an opt-in setting forchain
. In a future version, this configuration option will toggle tochain
as default, as it is the intended fixed correct behavior. If your application expects and/or requires thelegacy
option, please update your application accordingly. If your application is agnostic towards the eitherchain
orlegacy
, no change is needed.
v3.49.0
: Swagger UI v3.49.0 Released!
Features
Bug Fixes
v3.48.0
: Swagger UI v3.48.0 Released!
Bug Fixes
- authorization: include oauth endpoint description (#7195) (5906dfa)
- syntaxHighlighter: request and response examples for json cases (#7199) (92f1507)
- try-it-out: required properties (#7206) (53829f1)
Features
v3.47.1
: Swagger UI v3.47.1 Released!
swagger-ui@3.47.0 was a valid but incomplete release. This release should contain downstream release jobs.
v3.47.0
: Swagger UI v3.47.0 Released!
Features
- remove node_native option from request snippets plugin (#7181) (2373a83)
- dev: migrate to local-web-server (#7174) (01c8de4)
Bug Fixes
v3.46.0
: Swagger UI v3.46.0 Released!
Features
- sample-gen: infer implicit type and validation constraint types (#7117) (032bd71)
- download of text/csv now uses .csv extension (#7141) (75865f3)
- markdown sanitization of form tag (#7146) (f5b84e5)
Bug Fixes
- add aria label to select element for content types (#7133) (4abbc62)
- array constraint validation only if value was provided (#7112) (4103e0f)
Other
- swagger-client: bump to v3.13.2
v3.45.1
: Swagger UI v3.45.1 Released!
Bug Fixes
- response examples fallback (#7065) (9a2b646)
- cypress: tweak to ensure an element exists before test (#7074) (d17a81e)
v3.45.0
: Swagger UI v3.45.0 Released!
Features
- request snippets plugin (#6910) (8405fa0)
- sample gen should incorporate schema validation constraint (#7043) (3ead825)
Bug Fixes
- auth: support pkce when using basic auth header (#7038) (f23a9d6)
- auth: url change should flush auth (#7046) (219d886)
- sample-gen: allOf, oneOf lifting should consider properties and items (#7041) (f9e54a2)
- sample-gen: xml attr with media-type example value (#7045) (902241c)
- ui: prevent example select from overflowing (#7060) (0723622)
- preserve multipart file part position in requestData (#7008) (15b8c0c)
v3.44.1
: Swagger UI v3.44.1 Released!
Bug Fixes
- json schema array items (#7007) (2016c18)
- multipart enum initial value not set (#7004) (68bd61a)
- optional empty validation (#7003) (d32bd1a)
v3.44.0
: Swagger UI v3.44.0 Released!
Bug Fixes
- info: use externalDocsUrl check to render Link (#6997) (b7d3d1c)
- lint: use semicolons + closing link in html (#6951) (17093f2)
-
lint: put
script
tag inbody
in oauth2-redirect.html (#6958)
Features
- models: collapsed schema content should be clickable (#6942) (0e6dc04)
- verbose Failed to fetch error (#6938) (4db2edc)
- docs: sample datepicker plugin with json schema components (#6939) (ba74c02)
v3.43.0
: Swagger UI v3.43.0 Released!
Features
- use example gen for multiple example value retainer examples (#6920) (fad81f8)
- validate nullable (#6928) (a2a561e)
Bug Fixes
- support OAuth2 PKCE when using the OIDC authorization_code flow (#6914) (5e69d3c)
- sample-gen: enum without type should be handled by sample-gen (#6912) (7ead9ba)
Other
swagger-cllient: version bump to 3.13.1
v3.42.0
: Swagger UI v3.42.0 Released!
Features
- enhance parameter validation (#6878) (5c4dfc2)
- sample-gen multi and form media-type (#6874) (8ed6c34)
Bug Fixes
v3.41.1
: Swagger UI v3.41.1 Released!
Bug Fixes
v3.41.0
: Swagger UI v3.41.0 Released!
Features
- sample-gen: yaml sample generation (#6858) (470e2fe)
- ux: enhance media-type switching experience in RequestBodyEditor (#6837) (e877580)
- config: add tryItOutEnabled configuration (#6865) (265bdc0)
- swagger-client: bump to v3.12.2
Bug Fixes
- buildUrl: relative url is invalid URL (OAS3) or non-url (OAS2) (#6864) (a5eb3dc)
- sample-gen: case yaml parsed example is number but string schema (#6872) (5b2ad68)
- ux: ensure that optional security schema is rendered without padlock. (#6839) (eddde95)
- webpack: assets should not be treaded as esModule (#6861) (cdfb64f)
v3.40.0
: Swagger UI v3.40.0 Released!
Features
- doc: added introduction (#6806) (d80cc40)
- docker: add docker support for persist authorization variable (#6832) (a7ba55a)
- group / sort parameters by location (#6745) (ddaee4e)
Bug Fixes
- sample-gen: should render additionalProperties in example (#6821) (35cb925)
- sample-gen: should return json literal example (#6827) (a2f7917)
- sample-gen: should return xml literal example (#6822) (59b42bb)
- spec-selector: isMediaTypeSchemaPropertiesEqual should handle case where literal media-types are equal. (#6820) (25433c4)
- style: code should should wrap line (#6831) (7087210), closes #6764
v3.39.0
: Swagger UI v3.39.0 Released!
Features
Bug Fixes
- sample-gen: first oneOf or anyOf should be combined with schema (#6775) (0f541a1)
- style: response data flows off the screen (#6764) (85a3ec9)
- examples: Request Body examples should respect media-type (#6739) (68e9b1b)
v3.38.0
: Swagger UI v3.38.0 Released!
Features
Bug Fixes
- components: fix keys rendering in React 16 using .entrySeq() (#6685) (20a8987)
- security fixes applied in
highlight.js@10.4.1
,node-fetch@2.6.1
, anddot-prop@5.3.0
v3.37.2
: Swagger UI v3.37.2 Released!
- chore: update swagger-js to v3.12.1 which brings better support for $ref resolving (#4765) (#5625 )
- chore(release): fix release v3.37.1 release
- chore(package): allow auto-update of swagger-client (
d3fb9ab
)
v3.37.1
: Swagger UI v3.37.1 Released!
Warning
This is a failed release which is identical to v3.37.0. Please install v3.37.2 instead.
v3.37.0
: Swagger UI v3.37.0 Released!
Features
Bug Fixes
- examples: properly update memoized value in non-schema case (#6641) (d2ef8f3), closes #6631
- xml: example generation if an array has an example (#6634) (24225e4), closes #6627
v3.36.2
: Swagger UI v3.36.2 Released!
Bug Fixes
- duplicate labels in Servers UI (#6568) (1f10240)
- externalDocs url for tags when using swagger v2.0 (#6579) (6db4def)
- schema example: xml gen should follow json gen behavior (#6555) (288c89b), closes #6470 #6540 #4943
- cypress: oas3-request-body-required flakineess (#6583) (64ae7af)
v3.36.1
: Swagger UI v3.36.1 Released!
-
swagger-client: update to v3.12.0. Fixes
nested allOf/oneOf schema resolution
in #5194, #5923, #4672
Bug Fixes
v3.36.0
: Swagger UI v3.36.0 Released!
Features
Bug Fixes
- auth: Allow PKCE for legacy AccessCode OAuth2 Grant Type (#6011) (5a87c8a), closes #6010
- auth: support for oauth2 relative url (#6546) (0a807d6)
- auth: add additional autoFocus for http-auth component (#6527) (8e3e059), closes #6483
- response examples should respect media-type (#6456) (87ab4e9)
- duplicate downloading of remote config (#6544) (50e5f65)
- oauth redirect HTML title tag (#6533) (17f140b)
v3.35.2
: Swagger UI v3.35.2 Released!
Bug Fixes
-
oas3: switching media types should update schema properties (#6518) (3905fad), closes #6201 #6250 #6476
-
missing commas in response header values #6183 (#6515) (99fda81)
-
style: preventing long strings from overflowing (#5934) (#6507) (4b2fddd)
-
jest: add stub for errActions to prevent unhandled promise rejections #6365 (#6495) (537ad6d)
-
jest: unknown prop initialValue on input tag (#6506) (1af8678)
v3.35.1
: Swagger UI v3.35.1 Released!
Bug Fixes
-
parameter-row: rendering of default/example values of 0 (#6454) (797929f)
-
syntax-highlighter: configuration for Examples (#6455) (b5e8081), closes #5259
-
examples multipart array sample generation for items (#6461) (f4bdf2f)
-
filter: avoid filtering by the strings "true/false" when enabled (#6477) (aa53ec2)
-
style: inconsistent background colors in code sections (#6472) (1b11d5c)
-
deprecate from "new Buffer" to "Buffer.from" (#6489) (6c5e91d)
v3.35.0
: Swagger UI v3.35.0 Released!
Bug Fixes
- auth: both array and Im.List scopes can be added to redirectURL (#6416) (95fd3e7)
- swagger-ui-react: Use oneOfType in spec prop validation (fix #6399) (#6400) (52360a0)
- sample schema should stringify string values for content-type: text/json (#6431) (ad630cc), closes #6412
- try-it-out: required boolean default value set to empty string (#6449) (f5c709f), closes #6429
Features
- curl: configuration setting to pass additional options to curl command for "Try it out" (#6288) (cbe99c8)
- swagger-ui-react: add deeplinking as prop (#6424) (6b12f15)
v3.34.0
: Swagger UI v3.34.0 Released!
Features
- Preserve authorization on browser refresh and close/reopen (#5939) (96aecc8)
- build: use core-js@3 (#6410) (ac41813)
Refactor
- build: increase maxEntrypointSize for core-js@3 (#6419)
- csp: Update how the JavaScript run function is invoked in oauth2-redirect.html (#6393)
v3.33.0
: Swagger UI v3.33.0 Released!
Bug Fixes
- curlify: for -d, handle Immutable vs non-Immutable cases (#6349) (0c60696)
-
curlify: replace all occurrences of
$
(#6354) (89d57fc) - Add
entrySeq()
tobodyProperties.map()
(#6267) (0199b47) - Allowing servers dropdown to change when oas3Actions.setSelectedServer is called (#6358) (5123b47), closes #6351
- Updating select to pass in a better prop; updating test to do a better check (#6385) (6ad418d), closes #6372
- models view when object key contains deprecated:true (#6371) (d4eea4d), closes #6369
- style: servers environment select (#6367) (7a63ba3)
- style: restore wrapping of long text in pre blocks (#6377)
Features
v3.32.5
: Swagger UI v3.32.5 Released!
Bug Fixes
v3.32.4
: Swagger UI v3.32.4 Released!
Bug Fixes
- remove unused and redux@4 non-compliant system method inside 'err' reducer (#6330) (6742cbd)
- deps: revert to redux@3 and react-redux@4 (#6331) (e82aaae)
v3.32.3
: Swagger UI v3.32.3 Released!
This release is intended to enable npm to include es2015 bundle files. There are no source code changes in this release.
Bug Fixes
v3.32.2
: Swagger UI v3.32.2 Released!
Bug Fixes
- Models: onLoad should check this.props.layoutSelectors method (#6307) (168d0ae), closes #6305
- cypress: deep-linking tests should use cy.location (#6309) (02e0515)
- cypress: tests should fail on uncaught exception (#6308) (471c24d), closes #6305
- cypress: use less restrictive 'include.text' assertion (#6312)
- build: css stylesheets bundle config and dependency updates (#6315) (20b32d8)
Security Update
-
deps: update react-syntax-highlighter from 12.2.1 to 13.5.0, which includes dependency security update fixed by
prismjs@1.21.0
(#6312)
Additional dependency updates via #6317, #6316, #6313, #6310
v3.32.1
: Swagger UI 3.32.1 Released!
This release should properly include swagger-ui-es-bundle
and swagger-ui-es-bundle-core
in the /dist
directory. There are no other source code changes in this release.
Bug Fixes
v3.32.0
: Swagger UI 3.32.0 Released!
Features
- build: SwaggerUI now also has an es2015 bundle artifact (#6291) (2eaa6c1)
- swagger-ui-react: SwaggerUI-React now also includes an es2015 module (#6303) (c575324)
Bug Fixes
-
Models: use
specPath
forisShownKey
to toggle models (#6200) (084b236) -
curl: escape
$
in curl request bodies and headers (#6245) (225a915), closes #5390 - OAS3: relative urls is now supported (#5341) (d9f5691)
- OAS3: servers component update on definition change (#6280) (22668ee)
- requestInterceptor: use async/await to support return new Promise (#6279) (abcc383), closes #4778
- html specify charset utf-8 in html script declaration (#6278) (d7d166d), closes #5311
v3.31.1
: Swagger UI 3.31.1 Released!
Bug Fixes
v3.31.0
: Swagger UI 3.31.0 Released!
Bug Fixes
- try-it-out: Better tooltips for min/max validations (#6266) (4cbae09)
- style: make paths try to stay on single line in opblock (#6243) (cfede14)
- style: Replace an inline styles with propClass (#6265) (bd9117d)
Features
- Display minProperties an maxProperties for object schemas (#6272) (fd5a59a)
- swagger-ui-react: option for showMutatedRequest (#6273) (b99ebe7)
- swagger-ui-react: support for presets and defaultModelsExpandDepth (#6275) (aebfccc)
v3.30.2
: Swagger UI 3.30.2 Released!
Fixes
v3.30.1
: Swagger UI 3.30.1 Released!
Housekeeping
This build was reduced to 963 KiB
v3.30.0
: Swagger UI 3.30.0 Released!
Features
Security
- housekeeping(deps): lodash@4.17.19 [security] (#6230)
v3.29.0
: Swagger UI 3.29.0 Released!
Features
- RequestBody: set default true for 'send empty value' (#6228) (b68942c), closes #6203
- RequestBody: validation support for required fields (#6223) (2fd1e40), closes #5181
Fixes
Housekeeping
Reverts
- feat: Allow to skip submitting empty values in form data (#5830) (1b6cb7d), closes #6203
- Revert "revert: feat: Allow to skip submitting empty values in form data (#5830)" (#6227) (eacc7b9), closes #5830 #6227
v3.28.0
: Swagger UI 3.28.0 Released!
Bug Fixes
- avoid mapping Immutable.Map as React children (#6165) (93020e2)
- render Common Extensions properly in React 16 (#5930) (e1e4d5b)
Features
v3.27.0
: Swagger UI 3.27.0 Released!
Features
- model view: hide applicable readOnly and writeOnly properties (#5832) (f8dd4e6)
- model view Added onLoad()s and tweaker onToggle() to support ScrollTo functionality for Models (#5237)
- Copy response to clipboard #4300 (#5278) (973e1f7)
- Display example value in Swagger ReadOnly documentation mode (#4422) (ca1b19a)
-
swagger-ui-react: add
displayOperationId
config support (#5795) (bd1b297)
Bug Fixes
- remove clipboard inline svg from a file with SASS (#6148) (eeb0b73)
- curlify agnostic to order of header values (#6152) (b86e8e9), closes #6082
- Docker: case where SWAGGER_ROOT in conjunction with BASE_URL does not work (#6147)
- Call
DomPurify.addHook
only if it exists (#5428)
Docs
- Docs: Demonstrate a simple Webpack setup (#5185)
v3.26.2
: Swagger UI 3.26.2 Released!
Bug Fixes
- update corrupted swagger-client from v3.10.6 to v3.10.7
v3.26.1
: Swagger UI 3.26.1 Released!
Features
- New
OAUTH_SCOPES
configuration property to select all/none/user_list to OAuth scopes popup (#6037) (275c8f2) -
Docker New
SWAGGER_JSON_URL
option to allow remote urls from Docker (#6122) -
Docker
VALIDATOR_URL
now has options to disable the validation badge (#5994) - Various style improvements (#6014) (#5578) (#5478)
Bug Fixes
- Markdown: render markdown in more secure way (a616cb4)
- Docker allow local ref's to be served by nginx (#5565) (f353974)
- Docker support variables in auth urls (#5913) (21f5149)
v3.26.0
: Swagger UI 3.26.0 Released!
Features
- Allow to skip submitting empty values in form data (#5830) (b9b32c9)
- Add empty data param to cURL if no POST request body was given (#6017)
Bug Fixes
- set default supportedSubmitMethods (#6030) (3b6942c)
- OAS3 upload file when array items are type=string format=binary (#6040)
- support generated curl for PUT and PATCH requests (#5960)
- flaky test: bugs/4641 use wait on route alias (#6048) (5bbd3e7)
Housekeeping
- SwaggerClient version 3.10.6
- dependency updates
v3.25.5
: Swagger UI 3.25.5 Released!
Bug Fixes
-
entries
can now be generally used again as a key name. special handling of non-FormData entries removed (#6036) (68185dd), closes #6033
v3.25.4
: Swagger UI 3.25.4 Released!
Bug Fixes
- bump swagger-client to version 3.10.4 and return back compatibility with node.js >= 4
- allow entries as property name (#6025) (3a65070)
v3.25.3
: Swagger UI 3.25.3 Released!
Changelog
- housekeeping: update release-it config
- housekeeping: bump swagger-client version with package-lock (#6008)
- housekeeping: update dev-e2e-cypress-open script name (#6005)
Bug Fixes
- curl array support within multipart/form-data (#3838) (#5999) (96c7b4c)
- jsonSchemaComponent file/files (#5997) (#6000) (65597d1)
v3.25.2
: Swagger UI 3.25.2 Released!
Changelog
- feature: JsonSchema components are now ImmutableJS compliant (#5952)
- fix: remove clearValidation from onTryoutClick (#5955)
v3.25.1
: Swagger UI 3.25.1 Released!
No release summary included.
Changelog
- improvement: render OAS3 parameter type formats (#5796)
- improvement:
showCommonExtensions
support for OAS3 parameters (#5901) - improvement: support for supportedSubmitMethods property in react component (#5376)
- improvement: do not require basic password in UI (#5812)
- improvement: add isShownKey prop to Operation to allow overriding (#5196)
- fix(docker-image): send relative HTTP 301s from within container (#5409)
- fix: expanding model when query param showExtensions=true exists (#5918)
- fix: incorrect PropType in Model ImmutablePureComponent (#5921)
- fix: OAS3 online validator badge (#5909)
- housekeeping: add static distribution file documentation (#5095)
- housekeeping: update plugin api component for failSilently (#5953)
v3.25.0
: Swagger UI 3.25.0 Released!
No release summary included.
Changelog
- feature(swagger-ui-react):
defaultModelExpandDepth
andplugins
props (#5594) - improvement: clear auth information from memory when logging out (#5316)
- improvement: use type 'password' instead of text for client secret (#5262)
- housekeeping(docs): https path for unpkg link (#5769)
- housekeeping: fix logo size (#5702)
- housekeeping: fix
npm run lint
andnpm test
on Windows (#5737) - housekeeping:
npm audit fix
(#5718, #5772, #5805)
v3.24.3
: Swagger UI 3.24.3 Released!
Changelog
- housekeeping:
npm audit fix
(#5718)
v3.24.2
: Swagger UI 3.24.2 Released!
This release reverts Swagger UI's upgrade to redux@^4
(via #5569), which was causing test failures in downstream projects.
v3.24.1
: Swagger UI 3.24.1 Released!
Specifically, this version updates Swagger UI's dompurify
dependency to ^2.0.7
, which mitigates our exposure to dompurify
's mXSS vulnerability that was disclosed earlier this week.
Changelog
- fix: code highlight styles are now only applied
pre.microlight
(#5673) - housekeeping: npm audit resolutions (#5681)
- housekeeping(deps): redux v4 (#5569)
- housekeeping(deps): redux-immutable v4 (#5639)
- housekeeping(dev-deps): babel monorepo (#5682)
- housekeeping(dev-deps): cypress@3.6.0 (#5683)
v3.24.0
: Swagger UI 3.24.0 Released!
Changelog
- feature: add PKCE support for OAuth2 Authorization Code flows (#5361)
- fix:
parameterMacro
functionality for OAS3 (#5617) - fix(validateParam): validate JSON values + support
Parameter.content
(#5657) - fix: overweight dependencies in PKCE implementation (#5658)
v3.23.11
: Swagger UI 3.23.11 Released!
Changelog
- fix: mitigate "sequential
@import
chaining" vulnerability (via #5616)
v3.23.10
: Swagger UI 3.23.10 Released!
This release fixes two bugs: one visual issue within static documentation, and another within runtime validation for Array-typed parameters.
Changelog
- fix:
<Select disabled>
fortype: string
+enum
schemas (#5601) - fix: accept string-represented values in required array runtime validation (#5609)
v3.23.9
: Swagger UI 3.23.9 Released!
This release changes the default value for the validatorUrl
configuration option from https://online.swagger.io/validator
to https://validator.swagger.io/validator
.
v3.23.8
: Swagger UI 3.23.8 Released!
This release fixes an issue with Swagger 2.0 required body parameter runtime validation (#5583) that was introduced in v3.23.7.
v3.23.7
: Swagger UI 3.23.7 Released!
This release includes new support for display and Try-It-Out functionality of OAS 3.0 Parameter.content
values.
Changelog
- feature: support for
Parameter.content
(#5571) - housekeeping(dev-deps): babel-plugin-transform-react-remove-prop-types@0.4.24
-
43db164
2019-08-27 | docs: clarify that preauthorizeApiKey works for OAS3 Bearer auth too (#5566)
v3.23.6
: Swagger UI 3.23.6 Released!
This release fixes a React warning originating in Swagger UI and a CSS class name collision with Bootstrap 4.0.
It also includes several in-range updates to minimum dependency versions.
Changelog
- fix: React warning related to "true" used as boolean (via #5497)
- fix: remove
.col
class that causes collision with Bootstrap (via #5541)
v3.23.5
: Swagger UI 3.23.5 Released!
This release includes a fix to our Markdown parsing implementation that should resolve display issues with certain Markdown strings.
Changelog
- fix: remove problematic Markdown optimization (via #5520)
v3.23.4
: Swagger UI 3.23.4 Released!
Changelog
- housekeeping:
@kyleshockey/js-yaml
->js-yaml
(via #5511) - housekeeping: more
npm audit
resolutions (via #5509) - housekeeping: non-breaking dependency updates (via #5515)
v3.23.3
: Swagger UI 3.23.3 Released!
This release resolves an undeclared dependency issue visible in swagger-ui-react@3.23.3
due to usage of @babel/runtime-corejs2
. No source changes were made.
See #5505 for more information.
v3.23.2
: Swagger UI 3.23.2 Released!
This release includes improvements to our Docker container permissions, bug fixes for OpenAPI 3.0 rendering of Responses and Request Bodies, and resolution of most npm audit
warnings visible to consumers.
Channgelog
- improvement: allow Swagger UI Docker containers to run as non-root users (via #5476)
- fix: empty ModelExample rendering in a Response w/o
content
(via #5504) - fix: use
null
as a notSetValue for examplesForMediaType (via #5503) - housekeeping: resolve (almost) all
npm audit
warnings (via #5457)
v3.23.1
: Swagger UI 3.23.1 Released!
This release fixes a couple of minor regressions introduced in v3.23.0, and also includes improvements to our module sizes and sourcemap quality.
Changelog
- fix: Swagger 2.0
Response.examples
(via #5464 + #5465) - fix: enum Select crashes when selecting the empty value (via #5463)
- housekeeping: upgrade to webpack@4 (via #5454)
- housekeeping: upgrade to babel@7 (via #5450)
Note: swagger-ui-react@3.23.1
was unpublished due to a bad build being pushed to npm. It will be updated again with the next release of Swagger UI.
v3.23.0
: Swagger UI 3.23.0 Released!
This release includes support for OpenAPI 3.0's Examples Object within Parameter, Request Body, and Response Objects.
Changelog
- feature: Multiple Examples for OpenAPI 3 Parameters, Request Bodies, and Responses (via #5427)
Internal API notes
Several things have moved around internally.
If you make heavy use of the Plugin API, this may be of concern to you:
- the
Parameters
component no longer has awrapComponent
in OpenAPI 3.0. Version-specific logic is now contained within one component. -
ParameterRow
now needsoas3Actions
andoas3Selectors
as props. -
Response
now needspath
andmethod
as props. -
Responses
'shouldComponentUpdate
check has been removed, it now re-renders as the Redux store changes. -
RequestBodyEditor
has been heavily modified. It is no longer aware of the underlying request body or schema, and only concerns itself with the string value being edited. It will now also update its own internal state if thevalue
prop given to it changes.
v3.22.3
: Swagger UI 3.22.3 Released!
No source changes.
This release moves Swagger UI to swagger-client@3.9.0
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.