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

Update pydantic to 2.0 #396

Closed
wants to merge 2 commits into from
Closed

Conversation

pyup-bot
Copy link
Collaborator

This PR updates pydantic from 1.10.7 to 2.0.

Changelog

2.0

Pydantic V2 is here! :tada:

See [this post](https://docs.pydantic.dev/2.0/blog/pydantic-v2-final/) for more details.

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0)

2.0b3

Third beta pre-release of Pydantic V2

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b3)

2.0b2

Add `from_attributes` runtime flag to `TypeAdapter.validate_python` and `BaseModel.model_validate`.

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b2)

2.0b1

First beta pre-release of Pydantic V2

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b1)

2.0a4

Fourth pre-release of Pydantic V2

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a4)

2.0a3

Third pre-release of Pydantic V2

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a3)

2.0a2

Second pre-release of Pydantic V2

See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a2)

2.0a1

First pre-release of Pydantic V2!

See [this post](https://docs.pydantic.dev/blog/pydantic-v2-alpha/) for more details.

1.10.10

* Add Pydantic `Json` field support to settings management, 6250 by hramezani
* Fixed literal validator errors for unhashable values, 6188 by markus1978
* Fixed bug with generics receiving forward refs, 6130 by mark-todd
* Update install method of FastAPI for internal tests in CI, 6117 by Kludex

1.10.9

* Fix trailing zeros not ignored in Decimal validation, 5968 by hramezani
* Fix mypy plugin for v1.4.0, 5928 by cdce8p
* Add future and past date hypothesis strategies, 5850 by bschoenmaeckers
* Discourage usage of Cython 3 with Pydantic 1.x, 5845 by lig

1.10.8

* Fix a bug in `Literal` usage with `typing-extension==4.6.0`, 5826 by hramezani
* This solves the (closed) issue 3849 where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, 5736 by benwah
* Update email-validator dependency to >=2.0.0post2, 5627 by adriangb
* update `AnyClassMethod` for changes in [python/typeshed9771](https://github.com/python/typeshed/issues/9771), #5505 by ITProKyle
Links

@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Jul 4, 2023

Closing this in favor of #398

@pyup-bot pyup-bot closed this Jul 4, 2023
@cguardia cguardia deleted the pyup-update-pydantic-1.10.7-to-2.0 branch July 4, 2023 18:58
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.

1 participant