Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 9, 2025

Bumps pydantic-ai from 0.0.40 to 0.4.0.

Release notes

Sourced from pydantic-ai's releases.

v0.4.0 (2025-07-08)

What's Changed

Full Changelog: pydantic/pydantic-ai@v0.3.7...v0.4.0

v0.3.7 (2025-07-07)

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-ai@v0.3.6...v0.3.7

v0.3.6 (2025-07-04)

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-ai@v0.3.5...v0.3.6

v0.3.5 (2025-06-30)

What's Changed

... (truncated)

Changelog

Sourced from pydantic-ai's changelog.

v0.4.0 (2025-07-08)

See #1799 - Pydantic Evals EvaluationReport and ReportCase are now generic dataclasses instead of Pydantic models. If you were serializing them using model_dump(), you will now need to use the EvaluationReportAdapter and ReportCaseAdapter type adapters instead.

See #1507 - The ToolDefinition description argument is now optional and the order of positional arguments has changed from name, description, parameters_json_schema, ... to name, parameters_json_schema, description, ... to account for this.

v0.3.0 (2025-06-18)

See #1142 — Adds support for thinking parts.

We now convert the thinking blocks ("<think>..."</think>") in provider specific text parts to PydanticAI ThinkingParts. Also, as part of this release, we made the choice to not send back the ThinkingParts to the provider - the idea is to save costs on behalf of the user. In the future, we intend to add a setting to customize this behavior.

v0.2.0 (2025-05-12)

See #1647 — usage makes sense as part of ModelResponse, and could be really useful in "messages" (really a sequence of requests and response). In this PR:

  • Adds usage to ModelResponse (field has a default factory of Usage() so it'll work to load data that doesn't have usage)
  • changes the return type of Model.request to just ModelResponse instead of tuple[ModelResponse, Usage]

v0.1.0 (2025-04-15)

See #1248 — the attribute/parameter name result was renamed to output in many places. Hopefully all changes keep a deprecated attribute or parameter with the old name, so you should get many deprecation warnings.

See #1484format_as_xml was moved and made available to import from the package root, e.g. from pydantic_ai import format_as_xml.


Full Changelog

Commits
  • 11d1cde Document breaking changes in v0.4.0 (#2154)
  • 9b34d6b Retain defaults in non-strict openai schemas (#1519)
  • a08a20e Make ToolDefinition.description optional and fix Bedrock description handli...
  • 5f4661f BREAKING CHANGE: Make EvaluationReport and ReportCase into generic datacl...
  • 98650cd Improve number_to_datetime performance by building TypeAdapter only once (#2153)
  • 72970c2 Add all audio types supported by Gemini to AudioUrl (#2151)
  • 7da8cc6 Automatically close stale PRs that are awaiting author revision (#2152)
  • 036428c Added support for google specific arguments for video analysis (#2110)
  • f49197c Move docstring warning of model settings as a comment (#2146)
  • f9d90aa Raise consistent deprecation warnings (#2148)
  • 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)

Bumps [pydantic-ai](https://github.com/pydantic/pydantic-ai) from 0.0.40 to 0.4.0.
- [Release notes](https://github.com/pydantic/pydantic-ai/releases)
- [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- [Commits](pydantic/pydantic-ai@v0.0.40...v0.4.0)

---
updated-dependencies:
- dependency-name: pydantic-ai
  dependency-version: 0.4.0
  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 Jul 9, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 11, 2025

Superseded by #127.

@dependabot dependabot bot closed this Jul 11, 2025
@dependabot dependabot bot deleted the dependabot/pip/pydantic-ai-0.4.0 branch July 11, 2025 01:21
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant