Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from Apr 17, 2022

Conversation

RAlanWright
Copy link
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
Contributor Author

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

@codecov
Copy link

codecov bot commented Apr 17, 2022

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
Owner

Great, thank you @RAlanWright! 🚀

@gene1wood
Copy link

This fixes CVE-2021-46708

JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
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.

None yet

3 participants