Skip to content

Bump fastapi from 0.70.1 to 0.75.0 in /backend/app#11

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/backend/app/fastapi-0.75.0
Closed

Bump fastapi from 0.70.1 to 0.75.0 in /backend/app#11
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/backend/app/fastapi-0.75.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 6, 2022

Bumps fastapi from 0.70.1 to 0.75.0.

Release notes

Sourced from fastapi's releases.

0.75.0

Features

0.74.1

Features

  • ✨ Include route in scope to allow middleware and other tools to extract its information. PR #4603 by @​tiangolo.

0.74.0

Breaking Changes

  • ✨ Update internal AsyncExitStack to fix context for dependencies with yield. PR #4575 by @​tiangolo.

Dependencies with yield can now catch HTTPException and custom exceptions. For example:

async def get_database():
    with Session() as session:
        try:
            yield session
        except HTTPException:
            session.rollback()
            raise
        finally:
            session.close()

After the dependency with yield handles the exception (or not) the exception is raised again. So that any exception handlers can catch it, or ultimately the default internal ServerErrorMiddleware.

If you depended on exceptions not being received by dependencies with yield, and receiving an exception breaks the code after yield, you can use a block with try and finally:

async def do_something():
    try:
        yield something
    finally:
        some_cleanup()

...that way the finally block is run regardless of any exception that might happen.

Features

  • The same PR #4575 from above also fixes the contextvars context for the code before and after yield. This was the main objective of that PR.

This means that now, if you set a value in a context variable before yield, the value would still be available after yield (as you would intuitively expect). And it also means that you can reset the context variable with a token afterwards.

For example, this works correctly now:

... (truncated)

Commits
  • c89dc73 📝 Update release notes
  • 19769d0 🔖 Release version 0.75.0
  • 586d17b 📝 Update release notes
  • 786b585 📝 Update release notes
  • 8a0d4c7 ✨ Add support for custom generate_unique_id_function and docs for generatin...
  • 440d2d2 🔖 Release version 0.74.1
  • e953059 📝 Update release notes
  • f5d7df3 ✨ Include route in scope to allow middleware and other tools to extract its i...
  • 1ce16c2 🔖 Release version 0.74.0
  • 03d4d4c 📝 Update release notes
  • 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 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)

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.70.1 to 0.75.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.70.1...0.75.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 added dependencies Pull requests that update a dependency file Python Pull requests that update Python code labels Mar 6, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 4, 2022

Superseded by #31.

@dependabot dependabot bot closed this Apr 4, 2022
@dependabot dependabot bot deleted the dependabot/pip/backend/app/fastapi-0.75.0 branch April 4, 2022 23:52
Neyrii pushed a commit that referenced this pull request Sep 27, 2022
…giskard_client_verify_input_rows_and_prediction_rows

Task/GSK-239 error message in giskard client verify input rows and prediction rows
kevinmessiaen pushed a commit that referenced this pull request Jan 19, 2026
* feat: better transcript for chats with tool usage
kevinmessiaen added a commit that referenced this pull request Jan 19, 2026
* refactor: replace custom serialization with standard Pydantic methods

- Remove custom serialize() and deserialize() methods from TestCase
- Replace with standard Pydantic model_dump() and model_validate() methods
- Update discriminated union system to handle generic types properly
- Fix kind field computation for generic types like Interaction[Any, Any]
- Update all tests to use standard Pydantic serialization methods
- Simplify documentation to reflect current implementation
- Remove outdated registry system references
- All 25 tests passing with improved serialization approach

BREAKING CHANGE: serialize() and deserialize() methods removed from TestCase

* feat: Goundedness check

* chore: Renames GroundednessCheck to Groundedness

* feat: updated way to pass generators

* chore: updated doc

* feat: Goundedness check [ENG-1045 | ENG-963] (#8)

* feat: Goundedness check

* chore: Renames GroundednessCheck to Groundedness

* feat: updated way to pass generators

* chore: updated doc
kevinmessiaen added a commit that referenced this pull request Jan 19, 2026
- Add LICENSE file with MIT license text
- Update README.md with license section
- Add license metadata to pyproject.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Python Pull requests that update Python code

Development

Successfully merging this pull request may close these issues.

0 participants