Skip to content

Commit 2612947

Browse files
2.7.1 release prep (#9307)
1 parent 2b8efa2 commit 2612947

File tree

4 files changed

+127
-83
lines changed

4 files changed

+127
-83
lines changed

HISTORY.md

+44
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
## v2.7.1 (2024-04-23)
2+
3+
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.7.1)
4+
5+
### What's Changed
6+
7+
#### Packaging
8+
9+
* Bump `pydantic-core` to `v2.18.2` by @sydney-runkle in [#9307](https://github.com/pydantic/pydantic/pull/9307)
10+
11+
#### New Features
12+
13+
* Ftp and Websocket connection strings support by @CherrySuryp in [#9205](https://github.com/pydantic/pydantic/pull/9205)
14+
15+
#### Changes
16+
17+
* Use field description for RootModel schema description when there is `` by @LouisGobert in [#9214](https://github.com/pydantic/pydantic/pull/9214)
18+
19+
#### Fixes
20+
21+
* Fix `validation_alias` behavior with `model_construct` for `AliasChoices` and `AliasPath` by @sydney-runkle in [#9223](https://github.com/pydantic/pydantic/pull/9223)
22+
* Revert `typing.Literal` and import it outside the TYPE_CHECKING block by @frost-nzcr4 in [#9232](https://github.com/pydantic/pydantic/pull/9232)
23+
* Fix `Secret` serialization schema, applicable for unions by @sydney-runkle in [#9240](https://github.com/pydantic/pydantic/pull/9240)
24+
* Fix `strict` application to `function-after` with `use_enum_values` by @sydney-runkle in [#9279](https://github.com/pydantic/pydantic/pull/9279)
25+
* Address case where `model_construct` on a class which defines `model_post_init` fails with `AttributeError` by @babygrimes in [#9168](https://github.com/pydantic/pydantic/pull/9168)
26+
* Fix `model_json_schema` with config types by @NeevCohen in [#9287](https://github.com/pydantic/pydantic/pull/9287)
27+
* Support multiple zeros as an `int` by @samuelcolvin in [pydantic/pydantic-core#1269](https://github.com/pydantic/pydantic-core/pull/1269)
28+
* Fix validation of `int`s with leading unary plus by @cknv in [pydantic/pydantic-core#1272](https://github.com/pydantic/pydantic-core/pull/1272)
29+
* Fix interaction between `extra != 'ignore'` and `from_attributes=True` by @davidhewitt in [pydantic/pydantic-core#1276](https://github.com/pydantic/pydantic-core/pull/1276)
30+
* Handle error from `Enum`'s `missing` function as `ValidationError` by @sydney-runkle in [pydantic/pydantic-core#1274](https://github.com/pydantic/pydantic-core/pull/1754)
31+
* Fix memory leak with `Iterable` validation by @davidhewitt in [pydantic/pydantic-core#1271](https://github.com/pydantic/pydantic-core/pull/1751)
32+
33+
### New Contributors
34+
35+
* @zzstoatzz made their first contribution in [#9219](https://github.com/pydantic/pydantic/pull/9219)
36+
* @frost-nzcr4 made their first contribution in [#9232](https://github.com/pydantic/pydantic/pull/9232)
37+
* @CherrySuryp made their first contribution in [#9205](https://github.com/pydantic/pydantic/pull/9205)
38+
* @vagenas made their first contribution in [#9268](https://github.com/pydantic/pydantic/pull/9268)
39+
* @ollz272 made their first contribution in [#9262](https://github.com/pydantic/pydantic/pull/9262)
40+
* @babygrimes made their first contribution in [#9168](https://github.com/pydantic/pydantic/pull/9168)
41+
* @swelborn made their first contribution in [#9296](https://github.com/pydantic/pydantic/pull/9296)
42+
* @kf-novi made their first contribution in [#9236](https://github.com/pydantic/pydantic/pull/9236)
43+
* @lgeiger made their first contribution in [#9288](https://github.com/pydantic/pydantic/pull/9288)
44+
145
## v2.7.0 (2024-04-11)
246

347
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.7.0)

0 commit comments

Comments
 (0)