Thanks to visit codestin.com
Credit goes to github.com

Skip to content

⬆ Upgrade Swagger UI - swagger-ui-dist@4#4347

Merged
tiangolo merged 3 commits into
fastapi:masterfrom
RAlanWright:bump-swagger-ui-version-latest
Apr 17, 2022
Merged

⬆ Upgrade Swagger UI - swagger-ui-dist@4#4347
tiangolo merged 3 commits into
fastapi:masterfrom
RAlanWright:bump-swagger-ui-version-latest

Conversation

@RAlanWright

Copy link
Copy Markdown
Contributor

Before the change, latest SwaggerUI version pulled was 3.52.5:

image

After the change, latest SwaggerUI version pulled is current at 4.1.3:

image

Latest SwaggerUI uses current React version 17.0.2.

@RAlanWright

Copy link
Copy Markdown
Contributor Author

Current SwaggerUI package.json vs SwaggerUI 3.52.5 package.json.

@codecov

codecov Bot commented Apr 17, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4347 (0f1ff37) into master (b93f8a7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            master     #4347    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          522       529     +7     
  Lines        13136     13510   +374     
==========================================
+ Hits         13136     13510   +374     
Impacted Files Coverage Δ
fastapi/openapi/docs.py 100.00% <ø> (ø)
fastapi/routing.py 100.00% <0.00%> (ø)
fastapi/applications.py 100.00% <0.00%> (ø)
fastapi/openapi/utils.py 100.00% <0.00%> (ø)
tests/test_exception_handlers.py 100.00% <0.00%> (ø)
tests/test_dependency_contextmanager.py 100.00% <0.00%> (ø)
tests/test_include_router_defaults_overrides.py 100.00% <0.00%> (ø)
docs_src/generate_clients/tutorial003.py 100.00% <0.00%> (ø)
...tutorial/test_generate_clients/test_tutorial003.py 100.00% <0.00%> (ø)
tests/test_dependency_normal_exceptions.py 100.00% <0.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b93f8a7...0f1ff37. Read the comment docs.

@tiangolo tiangolo changed the title Bump up swagger-ui-dist@4 ⬆ Upgrade Swagger UI - swagger-ui-dist@4 Apr 17, 2022
@tiangolo tiangolo enabled auto-merge (squash) April 17, 2022 14:46
@tiangolo

Copy link
Copy Markdown
Member

Great, thank you @RAlanWright! 🚀

@gene1wood

Copy link
Copy Markdown

This fixes CVE-2021-46708

JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants