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

Bump fastapi from 0.98.0 to 0.100.1 #1733

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2023

Bumps fastapi from 0.98.0 to 0.100.1.

Release notes

Sourced from fastapi's releases.

0.100.1

Fixes

  • 🐛 Replace MultHostUrl to AnyUrl for compatibility with older versions of Pydantic v1. PR #9852 by @​Kludex.

Docs

  • 📝 Update links for self-hosted Swagger UI, point to v5, for OpenAPI 31.0. PR #9834 by @​tiangolo.

Translations

  • 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/body.md. PR #4574 by @​ss-o-furda.
  • 🌐 Add Vietnamese translation for docs/vi/docs/features.md and docs/vi/docs/index.md. PR #3006 by @​magiskboy.
  • 🌐 Add Korean translation for docs/ko/docs/async.md. PR #4179 by @​NinaHwang.
  • 🌐 Add Chinese translation for docs/zh/docs/tutorial/background-tasks.md. PR #9812 by @​wdh99.
  • 🌐 Add French translation for docs/fr/docs/tutorial/query-params-str-validations.md. PR #4075 by @​Smlep.
  • 🌐 Add French translation for docs/fr/docs/tutorial/index.md. PR #2234 by @​JulianMaurin.
  • 🌐 Add French translation for docs/fr/docs/contributing.md. PR #2132 by @​JulianMaurin.
  • 🌐 Add French translation for docs/fr/docs/benchmarks.md. PR #2155 by @​clemsau.
  • 🌐 Update Chinese translations with new source files. PR #9738 by @​mahone3297.
  • 🌐 Add Russian translation for docs/ru/docs/tutorial/request-forms.md. PR #9841 by @​dedkot01.
  • 🌐 Update Chinese translation for docs/zh/docs/tutorial/handling-errors.md. PR #9485 by @​Creat55.

Internal

0.100.0

✨ Support for Pydantic v2

Pydantic version 2 has the core re-written in Rust and includes a lot of improvements and features, for example:

  • Improved correctness in corner cases.
  • Safer types.
  • Better performance and less energy consumption.
  • Better extensibility.
  • etc.

...all this while keeping the same Python API. In most of the cases, for simple models, you can simply upgrade the Pydantic version and get all the benefits. 🚀

In some cases, for pure data validation and processing, you can get performance improvements of 20x or more. This means 2,000% or more. 🤯

When you use FastAPI, there's a lot more going on, processing the request and response, handling dependencies, executing your own code, and particularly, waiting for the network. But you will probably still get some nice performance improvements just from the upgrade.

The focus of this release is compatibility with Pydantic v1 and v2, to make sure your current apps keep working. Later there will be more focus on refactors, correctness, code improvements, and then performance improvements. Some third-party early beta testers that ran benchmarks on the beta releases of FastAPI reported improvements of 2x - 3x. Which is not bad for just doing pip install --upgrade fastapi pydantic. This was not an official benchmark and I didn't check it myself, but it's a good sign.

... (truncated)

Commits
  • 8d27236 🔖 Release version 0.100.1
  • effa578 📝 Update release notes
  • bec5530 📝 Update release notes
  • 7b3d770 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/body.md (#4574)
  • 643d8e4 📝 Update release notes
  • c52c940 📝 Update release notes
  • 1d088ea 🌐 Add Vietnamese translation for docs/vi/docs/features.md and `docs/vi/docs...
  • 77cfb3c 📝 Update release notes
  • 5587103 🌐 Add Korean translation for docs/ko/docs/async.md (#4179)
  • e334065 📝 Update release notes
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot bot and others added 6 commits July 24, 2023 05:59
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.278 to 0.0.280.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.278...v0.0.280)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lark](https://github.com/lark-parser/lark) from 1.1.5 to 1.1.7.
- [Release notes](https://github.com/lark-parser/lark/releases)
- [Changelog](https://github.com/lark-parser/lark/blob/master/CHANGELOG.md)
- [Commits](lark-parser/lark@1.1.5...1.1.7)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pymatgen](https://github.com/materialsproject/pymatgen) from 2023.7.17 to 2023.7.20.
- [Release notes](https://github.com/materialsproject/pymatgen/releases)
- [Changelog](https://github.com/materialsproject/pymatgen/blob/master/CHANGES.rst)
- [Commits](materialsproject/pymatgen@v2023.7.17...v2023.7.20)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [click](https://github.com/pallets/click) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](pallets/click@8.1.5...8.1.6)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.98.0 to 0.100.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.98.0...0.100.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build label Jul 31, 2023
@bot-optimade bot-optimade enabled auto-merge (squash) July 31, 2023 05:21
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 7, 2023

Superseded by #1739.

@dependabot dependabot bot closed this Aug 7, 2023
auto-merge was automatically disabled August 7, 2023 05:21

Pull request was closed

@dependabot dependabot bot deleted the dependabot/pip/dependabot_updates/fastapi-0.100.1 branch August 7, 2023 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency_updates Issues pertaining to updates to our dependencies that are breaking the eager build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant