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.109.2 to 0.110.0 #306

Merged
merged 3 commits into from
Mar 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps fastapi from 0.109.2 to 0.110.0.

Release notes

Sourced from fastapi's releases.

0.110.0

Breaking Changes

  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise

Docs

Translations

  • 🌐 Add German translation for docs/de/docs/reference/background.md. PR #10820 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/templating.md. PR #10842 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/external-links.md. PR #10852 by @​nilslindemann.
  • 🌐 Update Turkish translation for docs/tr/docs/tutorial/query-params.md. PR #11162 by @​hasansezertasan.
  • 🌐 Add German translation for docs/de/docs/reference/encoders.md. PR #10840 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/responses.md. PR #10825 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/reference/request.md. PR #10821 by @​nilslindemann.
  • 🌐 Add Turkish translation for docs/tr/docs/tutorial/query-params.md. PR #11078 by @​emrhnsyts.
  • 🌐 Add German translation for docs/de/docs/reference/fastapi.md. PR #10813 by @​nilslindemann.
  • 🌐 Add German translation for docs/de/docs/newsletter.md. PR #10853 by @​nilslindemann.
  • 🌐 Add Traditional Chinese translation for docs/zh-hant/docs/learn/index.md. PR #11142 by @​hsuanchi.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/dependencies/global-dependencies.md. PR #11123 by @​riroan.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. PR #11124 by @​riroan.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/schema-extra-example.md. PR #11121 by @​KaniKim.
  • 🌐 Add Korean translation for /docs/ko/docs/tutorial/body-fields.md. PR #11112 by @​KaniKim.

... (truncated)

Commits
  • e40747f 🔖 Release version 0.110.0
  • 32b56a8 📝 Update release notes
  • b6b0f2a 📝 Update release notes
  • bf771bd 🐛 Fix unhandled growing memory for internal server errors, refactor dependenc...
  • 6336604 📝 Update release notes
  • cb93874 📝 Update release notes
  • 9210e6a 🌐 Add German translation for docs/de/docs/reference/background.md (#10820)
  • dec45c5 🌐 Add German translation for docs/de/docs/reference/templating.md (#10842)
  • 5da35ff 📝 Update release notes
  • 626b066 🌐 Add German translation for docs/de/docs/external-links.md (#10852)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 26, 2024
@davidasnider
Copy link
Owner

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 2, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@davidasnider
Copy link
Owner

@dependabot recreate

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.109.2 to 0.110.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.109.2...0.110.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/fastapi-0.110.0 branch from c4aadc0 to d6291a2 Compare March 2, 2024 15:50
@github-actions github-actions bot merged commit 53a1422 into main Mar 2, 2024
1 check passed
@github-actions github-actions bot deleted the dependabot/pip/fastapi-0.110.0 branch March 2, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants