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-core to 2.27.1 #8042

Open
wants to merge 1 commit into
base: rewrite
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates pydantic-core from 2.14.5 to 2.27.1.

Changelog

2.27.0

What's Changed
* Remove `Url` and `MultiHostUrl` docstrings, we moved them to pydantic by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1531
* fFx panic in `validate_assignment` when field has gone missing by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1532
* Fix for `Union` serializer: do not raise warnings in nested unions by lukapeschke in https://github.com/pydantic/pydantic-core/pull/1513
* Fix `_IncEx` type alias to be compatible with mypy by Viicos in https://github.com/pydantic/pydantic-core/pull/1537
* More union serialization tidying by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1536
* Fix `wrap` serializer breaking union serialization in presence of extra fields by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1530
* Support `trailing-strings` with `allow_partial` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1539

New Contributors
* lukapeschke made their first contribution in https://github.com/pydantic/pydantic-core/pull/1513

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.26.0...v2.27.0

2.26.0

What's Changed

Fixes
* Revert changes to url schemas that support `cls`, the 2x validation isn't worth it (and is breaking) by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1514
* Fix when `coerce_numbers_to_str` enabled and string has invalid unicode character by andrey-berenda in https://github.com/pydantic/pydantic-core/pull/1515
* Fix serializing `complex` values in enums by changhc in https://github.com/pydantic/pydantic-core/pull/1524

Packaging
* Bump `serde` from 1.0.213 to 1.0.214 by dependabot in https://github.com/pydantic/pydantic-core/pull/1519
* Bump `regex` from 1.11.0 to 1.11.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1520
* Bump `jiter` from 0.6.1 to 0.7.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1521
* bump `speedate` to 0.15 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1526

New Features
* Add `allow_partial` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1512

New Contributors
* andrey-berenda made their first contribution in https://github.com/pydantic/pydantic-core/pull/1515

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.25.1...v2.26.0

2.25.1

What's Changed

* Bump jiter from 0.5.0 to 0.6.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1498
* Update Pyodide to v0.26.3 by riyavsinha in https://github.com/pydantic/pydantic-core/pull/1507
* Allow subclassing `ValidationError` and `PydanticCustomError` by Youssefares in https://github.com/pydantic/pydantic-core/pull/1413
* Revert "feat: add 'millisecond' option to `ser_json_timedelta`" by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1503
* Support subclass inits for `Url` and `MultiHostUrl` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1508

New Contributors
* Youssefares made their first contribution in https://github.com/pydantic/pydantic-core/pull/1413
* riyavsinha made their first contribution in https://github.com/pydantic/pydantic-core/pull/1507

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.25.0...v2.25.1

2.25.0

What's Changed
* Properly enforce `host_required` for URLs by Viicos in https://github.com/pydantic/pydantic-core/pull/1488
* Support revalidation of parametrized generics by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1489
* Support default factories taking validated data as an argument by Viicos in https://github.com/pydantic/pydantic-core/pull/1491

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.24.2...v2.25.0

2.24.2

What's Changed
* Add `serialization` key to `InvalidSchema` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1482

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.24.1...v2.24.2

2.24.1

What's Changed

Packaging

* Restore Windows aarch64 builds by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1464
* Limit windows builds to Rust 1.77 (to keep Windows 7 support) by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1463
* Bump `pyo3` from 0.22.2 to 0.22.3 by dependabot in https://github.com/pydantic/pydantic-core/pull/1472
* Bump `serde` from 1.0.209 to 1.0.210 by dependabot in https://github.com/pydantic/pydantic-core/pull/1471
* Bump `regex` from 1.10.6 to 1.11.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1470

Fixes

* Fix equality checks for primitives in literals by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1459

Changes

* Add `invalid` schema placeholder by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1469
* Relax intensity of error for `issubclass` and `isinstance` schemas from json by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1479

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.24.0...v2.24.1

2.24.0

What's Changed

Features

* Add milliseconds option to `ser_json_timedelta` config parameter by ollz272 in https://github.com/pydantic/pydantic-core/pull/1427
* Add support for unpacked `TypedDict` to type hint variadic keyword arguments in `ArgumentsValidator` by Viicos in https://github.com/pydantic/pydantic-core/pull/1451

Fixes

* Do not require padding when decoding base64 bytes by bschoenmaeckers in https://github.com/pydantic/pydantic-core/pull/1448
* Support wider variety of enum validation cases by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1456

New Contributors
* bschoenmaeckers made their first contribution in https://github.com/pydantic/pydantic-core/pull/1448

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.23.4...v2.24.0

2.23.4

What's Changed
* Fix variance issue in `_IncEx` type alias, only allow `True` by Viicos in https://github.com/pydantic/pydantic-core/pull/1453
* Clean up serialization warnings for invalid data in unions by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1449

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.23.3...v2.23.4

2.23.3

What's Changed

Packaging

* Bump the python-packages group with 8 updates by dependabot in https://github.com/pydantic/pydantic-core/pull/1428
* Bump `serde` from 1.0.204 to 1.0.209 by dependabot in https://github.com/pydantic/pydantic-core/pull/1429
* Bump `idna` from 1.0.1 to 1.0.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1430
* Bump `uuid` from 1.9.1 to 1.10.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1431
* Bump `regex` from 1.10.5 to 1.10.6 by dependabot in https://github.com/pydantic/pydantic-core/pull/1432
* Bump `serde_json` from 1.0.121 to 1.0.128 by dependabot in https://github.com/pydantic/pydantic-core/pull/1440

Fixes

* Negative integers with leading zeros raise ValueError by JBLDKY in https://github.com/pydantic/pydantic-core/pull/1436
* Fix tagged union serialization warning when using aliases by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1442
* Fix `_IncEx` type annotation by Viicos in https://github.com/pydantic/pydantic-core/pull/1443

New Contributors
* JBLDKY made their first contribution in https://github.com/pydantic/pydantic-core/pull/1436

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.23.2...v2.23.3

2.23.2

What's Changed

* Adding missing API docs to `pydantic_core` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1420

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.23.1...v2.23.2

2.23.1

What's Changed

* Use more explicit warning regarding serialization warning for missing fields by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1415
* Support `BigInt` serialization for `int` subclasses by kxx317 in https://github.com/pydantic/pydantic-core/pull/1417

New Contributors
* kxx317 made their first contribution in https://github.com/pydantic/pydantic-core/pull/1417

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.23.0...v2.23.1

2.23.0

What's Changed
* Adding `cls` reference to `TypedDictSchema` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1410
* Breaking change: Change `metadata` type hint from `Any` -> `Dict[str, Any] | None` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1411

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.22.0...v2.23.0

2.22.0

What's Changed

* Expose `AnySerializer` via core schema by BoxyUwU in https://github.com/pydantic/pydantic-core/pull/1394
* Don't embed `RUSTFLAGS` in final binary by BoxyUwU in https://github.com/pydantic/pydantic-core/pull/1396
* Validate `base64` standard encoding by josh-newman in https://github.com/pydantic/pydantic-core/pull/1395
* Show value of wrongly typed in serialization warning by BoxyUwU in https://github.com/pydantic/pydantic-core/pull/1377
* Try each option in union serializer before inference by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1398
* Stop clone-ing serializers by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1402
* Fix float serialization behavior in `strict` mode by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1400
* For missing fields, we don't warn on `exclude_`, so don't warn on `exclude` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1403
* Use `typing_extensions.TypedDict` on Python < 3.12 by candleindark in https://github.com/pydantic/pydantic-core/pull/1404
* Support `complex` numbers by changhc in https://github.com/pydantic/pydantic-core/pull/1331
* Adding tagged union serializer 🚀  by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1397
* Introduce `exactness` into `Decimal` validation logic by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1405

New Contributors
* candleindark made their first contribution in https://github.com/pydantic/pydantic-core/pull/1404
* changhc made their first contribution in https://github.com/pydantic/pydantic-core/pull/1331

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.21.0...v2.22.0

2.21.0

What's Changed

Packaging

* Bump `idna` from 0.5.0 to 1.0.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1358
* Bump `pyo3` from 0.22.0 to 0.22.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1383
* Bump `serde_json` from 1.0.118 to 1.0.121 by dependabot in https://github.com/pydantic/pydantic-core/pull/1384
* Bump `serde` from 1.0.203 to 1.0.204 by dependabot in https://github.com/pydantic/pydantic-core/pull/1385
* Bump `base64` from 0.21.7 to 0.22.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1386

Fixes

* Fixes discriminated union bug regression when using enums by kfreezen in https://github.com/pydantic/pydantic-core/pull/1286
* string: Use 're.Pattern.search' instead of 're.Pattern.match' by tinez in https://github.com/pydantic/pydantic-core/pull/1368
* Fix model `field_serializer` with computed field by nix010 in https://github.com/pydantic/pydantic-core/pull/1349
* Clean up some string handling cases by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1381

Features

* Validate bytes based on `ser_json_bytes` by josh-newman in https://github.com/pydantic/pydantic-core/pull/1308
* Support `allow_partial='trailing-strings'` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1390

Performance

* Use `Uuid:::from_u128` for `uuid_to_string` by fft001 in https://github.com/pydantic/pydantic-core/pull/1362

New Contributors
* kfreezen made their first contribution in https://github.com/pydantic/pydantic-core/pull/1286
* tinez made their first contribution in https://github.com/pydantic/pydantic-core/pull/1368
* fft001 made their first contribution in https://github.com/pydantic/pydantic-core/pull/1362
* nix010 made their first contribution in https://github.com/pydantic/pydantic-core/pull/1349
* BoxyUwU made their first contribution in https://github.com/pydantic/pydantic-core/pull/1379

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.20.1...v2.21.0

2.20.1

What's Changed
* Restore 3.13 PGO builds by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1346
* Bump `pytest-examples` to get tests passing with ruff `v0.5.0` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1360
* Bump `uuid` from 1.9.0 to 1.9.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1356
* Bump `num-bigint` from 0.4.5 to 0.4.6 by dependabot in https://github.com/pydantic/pydantic-core/pull/1357
* Bump the python-packages group across 1 directory with 7 updates by dependabot in https://github.com/pydantic/pydantic-core/pull/1361
* Bump `speedate` to v0.14.1 and prep for `v0.20.1` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1347

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.20.0...v2.20.1

2.20.0

What's Changed
* Tidy up `tagged_union_schema` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1333
* Improvements in `Union` matching logic during validation by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1332
* Fix `Union` validation logic when `extra='allow'` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1334
* Add list `fail_fast` config option by uriyyo in https://github.com/pydantic/pydantic-core/pull/1322
* Update to PyO3 0.22, add Python 3.13 support by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1340

New Contributors
* uriyyo made their first contribution in https://github.com/pydantic/pydantic-core/pull/1322

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.19.0...v2.20.0

2.19.0

What's Changed

Packaging

* Lower MSRV to 1.75 by tiran in https://github.com/pydantic/pydantic-core/pull/1316
* Bump `libc` from 0.2.147 to 0.2.155 by wxpppp in https://github.com/pydantic/pydantic-core/pull/1317

Fixes

* Make `ValidatorFunctionWrapHandler` positional only by Viicos in https://github.com/pydantic/pydantic-core/pull/1323
* Reuse `re.Pattern` object in regex patterns by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1318

Features
* Add ser_json_inf_nan='strings' mode to produce valid JSON by josh-newman in https://github.com/pydantic/pydantic-core/pull/1307

New Contributors
* tiran made their first contribution in https://github.com/pydantic/pydantic-core/pull/1316
* wxpppp made their first contribution in https://github.com/pydantic/pydantic-core/pull/1317
* josh-newman made their first contribution in https://github.com/pydantic/pydantic-core/pull/1307

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.18.4...v2.19.0

2.18.4

What's Changed

Packaging

* Bump uuid from 1.7.0 to 1.8.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1311
* Bump serde from 1.0.197 to 1.0.203 by dependabot in https://github.com/pydantic/pydantic-core/pull/1310
* Bump the python-packages group with 6 updates by dependabot in https://github.com/pydantic/pydantic-core/pull/1312
* Uprev `jiter` to v0.4.1 by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1306

Fixes

* Fix `context` type hints by OhioDschungel6 in https://github.com/pydantic/pydantic-core/pull/1303

New Contributors
* OhioDschungel6 made their first contribution in https://github.com/pydantic/pydantic-core/pull/1303

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.18.3...v2.18.4

2.18.3

What's Changed

Packaging
* Bump `serde_json` from 1.0.114 to 1.0.116 by dependabot in https://github.com/pydantic/pydantic-core/pull/1281
* Bump the python-packages group with 7 updates by dependabot in https://github.com/pydantic/pydantic-core/pull/1280
* Bump `regex` from 1.10.3 to 1.10.4 by dependabot in https://github.com/pydantic/pydantic-core/pull/1282
* Bump `pyo3` from 0.21.1 to 0.21.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1283
* Bump `uraimo/run-on-arch-action` from 2.7.1 to 2.7.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1284

Fixes
* CI: lint fixes for rust 1.78 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1289
* Fix validation of `int`s with leading unary minus by RajatRajdeep in https://github.com/pydantic/pydantic-core/pull/1291
* Defer to PyO3 `i64` extraction to avoid implicit integer casts by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1288
* Fix: keyword only non default argument by JeanArhancet in https://github.com/pydantic/pydantic-core/pull/1290
* Fix `str` subclass validation for enums by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1273
* Support `BigInt`s in `Literal`s and `Enum`s by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1297
* Fix: uuid - allow `str` subclass as input by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1296
* Fix case of checking truthiness of `NotImplemented` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1298
* Fix generate_self_schema for Python 3.12+ by JelleZijlstra in https://github.com/pydantic/pydantic-core/pull/1299

New Contributors
* RajatRajdeep made their first contribution in https://github.com/pydantic/pydantic-core/pull/1291
* JelleZijlstra made their first contribution in https://github.com/pydantic/pydantic-core/pull/1299

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.18.2...v2.18.3

2.18.2

What's Changed
* Support multiple zeros as an `int` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1269
* Fix validation of `int`s with leading unary plus by cknv in https://github.com/pydantic/pydantic-core/pull/1272
* Fix interaction between `extra != 'ignore'` and `from_attributes=True` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1275
* Handle error from `Enum`'s `missing` function as `ValidationError` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1274
* Fix memory leak with `Iterable` validation by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1271

New Contributors
* cknv made their first contribution in https://github.com/pydantic/pydantic-core/pull/1272

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.18.1...v2.18.2

2.18.1

What's Changed
* allow serialization functions to upgrade warnings to exceptions by Lance-Drane in https://github.com/pydantic/pydantic-core/pull/1258
* Fix: add `coerce_numbers_to_str option` in `StringSchema` by NeevCohen in https://github.com/pydantic/pydantic-core/pull/1262
* Trim leading zeros before parsing `str` -> `int` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1266
* Prevent trailing dots in integers by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1267

New Contributors
* Lance-Drane made their first contribution in https://github.com/pydantic/pydantic-core/pull/1258

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.18.0...v2.18.1

2.18.0

What's Changed
* update to PyO3 0.21 final by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1248
* Add coerce_numbers_to_str option in str_schema by NeevCohen in https://github.com/pydantic/pydantic-core/pull/1249
* caching strings from JSON by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1240
* Bump serde from 1.0.196 to 1.0.197 by dependabot in https://github.com/pydantic/pydantic-core/pull/1255
* Bump smallvec from 1.13.1 to 1.13.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1253
* Bump enum_dispatch from 0.3.12 to 0.3.13 by dependabot in https://github.com/pydantic/pydantic-core/pull/1252
* fix build warnings on python <3.11 by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1259
* Fixes for `ser_json_inf_nan` inference by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1251
* Adopt jiter `0.2.0` by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1250

New Contributors
* NeevCohen made their first contribution in https://github.com/pydantic/pydantic-core/pull/1249

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.17.0...v2.18.0

2.17.0

What's Changed

Packaging

* Bump `smallvec` from 1.11.2 to 1.13.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1181
* Bump `regex` from 1.10.2 to 1.10.3 by dependabot in https://github.com/pydantic/pydantic-core/pull/1180
* Bump `uuid` from 1.6.1 to 1.7.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1179
* Bump `serde` from 1.0.195 to 1.0.196 by dependabot in https://github.com/pydantic/pydantic-core/pull/1177
* Bump `serde_json` from 1.0.109 to 1.0.114 by dependabot in https://github.com/pydantic/pydantic-core/pull/1211
* Bump `ahash` from 0.8.7 to 0.8.10 by dependabot in https://github.com/pydantic/pydantic-core/pull/1210
* Bump `strum_macros` from 0.25.3 to 0.26.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1208
* update to `PyO3` 0.21 beta by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1222
* Update `pyodide` to 0.25.0 by samdobson in https://github.com/pydantic/pydantic-core/pull/1199
* Really drop python<=3.7 support by kloczek in https://github.com/pydantic/pydantic-core/pull/1232
* Uprev `speedate` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1244

Fixes

* Add benchmarks for serializing model with complete schema by alexmojaki in https://github.com/pydantic/pydantic-core/pull/1189
* Prevent panicking when `__dict__` changes during iteration by alexmojaki in https://github.com/pydantic/pydantic-core/pull/1196
* Fix `TzInfo` equality check based on offset by 13sin in https://github.com/pydantic/pydantic-core/pull/1197
* Fix stack overflow due to recursion in some recursive serializer schemas. by dmontagu in https://github.com/pydantic/pydantic-core/pull/1198
* Use PEP570 syntax by Viicos in https://github.com/pydantic/pydantic-core/pull/1216
* Fix parsing `BigInt` from `str` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1204
* Use new typing syntax for `_pydantic_core.pyi` by Viicos in https://github.com/pydantic/pydantic-core/pull/1217
* separate `Input` trait `'a` and `'py` lifetimes by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1227
* Fix json serialization when `computed_field` is excluded by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1228
* Implement `Input` for `str` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1229
* Move list validation to produce an associated type by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1230
* Remove `with_new_extra` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1233
* Associated types for arguments in Input by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1234
* Associated types for dict in input by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1237
* Remaining associated types by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1238
* Refactor `Input` trait to have single `as_python` cast for python inputs by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1241
* Allow case where `__pydantic_extra__` is `None`, even if `extra='allow'` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1236

Performance

* Rust enums validator by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1235
* Support json cow of jiter 0.1.0 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1231

New Features

* Add ability to pass `context` to serialization by ornariece in https://github.com/pydantic/pydantic-core/pull/1215
* Add `serialize_as_any` runtime flag support by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1194

Changes

* Trimming str before parsing to int and float by hungtsetse in https://github.com/pydantic/pydantic-core/pull/1203
* `speedate` change: Serialize duration to hour minute second, instead of just seconds by kakilangit in https://github.com/pydantic/speedate/pull/50

New Contributors
* alexmojaki made their first contribution in https://github.com/pydantic/pydantic-core/pull/1189
* samdobson made their first contribution in https://github.com/pydantic/pydantic-core/pull/1199
* 13sin made their first contribution in https://github.com/pydantic/pydantic-core/pull/1197
* hungtsetse made their first contribution in https://github.com/pydantic/pydantic-core/pull/1203
* stonebig made their first contribution in https://github.com/pydantic/pydantic-core/pull/1214
* ornariece made their first contribution in https://github.com/pydantic/pydantic-core/pull/1215
* bmwiedemann made their first contribution in https://github.com/pydantic/pydantic-core/pull/1221
* kloczek made their first contribution in https://github.com/pydantic/pydantic-core/pull/1232

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.16.3...v2.17.0

2.16.3

What's Changed

* `'YYYY-MM-DD'` `date` string coerced to `datetime` shouldn't infer timezone by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1193
* CI: Updates for Rust 1.76 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1191

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.16.2...v2.16.3

2.16.2

What's Changed

* Remove `AsLocItem` trait by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1169
* Fix: pattern serialization by Smixi in https://github.com/pydantic/pydantic-core/pull/1168
* Fid `UUID` validation from string by JeanArhancet in https://github.com/pydantic/pydantic-core/pull/1172
* Fix warning for `tuple` of wrong size in `Union` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1174
* Fix model `computed_field` json serialization by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1187

New Contributors
* Smixi made their first contribution in https://github.com/pydantic/pydantic-core/pull/1168

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.16.1...v2.16.2

2.16.1

What's Changed
* Ensure recursion guard is always used as a stack by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1166

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.16.0...v2.16.1

2.16.0

What's Changed
* Group dependencies on dependabot updates by Kludex in https://github.com/pydantic/pydantic-core/pull/1149
* simplify instantiation of undefined type by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1157
* unify 'profile.profiling' configuration by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1158
* Bump the python-packages group with 4 updates by dependabot in https://github.com/pydantic/pydantic-core/pull/1154
* Bump base64 from 0.21.5 to 0.21.7 by dependabot in https://github.com/pydantic/pydantic-core/pull/1153
* Bump pyo3 from 0.20.1 to 0.20.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1152
* Bump pyo3-build-config from 0.20.1 to 0.20.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1151
* Bump serde from 1.0.193 to 1.0.195 by dependabot in https://github.com/pydantic/pydantic-core/pull/1150
* correct build-profiling make command by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1160
* Int extraction by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1155
* improve performance of recursion guard by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1156
* dataclass serialization speedups by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1162
* Add support for dataclass fields init by dmontagu in https://github.com/pydantic/pydantic-core/pull/1163
* uprev to jiter v0.0.6, uprev pydantic-core by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1165


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.15.0...v2.16.0

2.15.0

What's Changed
* Fix bug with `UUID` validation from json with a wrap validator by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1080
* move all `clippy` lints into `[lints.clippy]` table by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1083
* Remove lifetime from errors by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1084
* Fix typo in `is_instance_schema` docstring by mariuswinger in https://github.com/pydantic/pydantic-core/pull/1087
* Don't build dummy objects when populating `ObTypeLookup` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1086
* Remove needless uses of `PyString::intern` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1088
* Correct deprecation message for `general_after_validator_function` by adamchainz in https://github.com/pydantic/pydantic-core/pull/1090
* support newest `jiter` behaviour by samuelcolvin in https://github.com/pydantic/pydantic-core/pull/1092
* Fixing `exclude_none` for json serialization of `computed_field`s by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1098
* Bump `pandas` tests to run on 3.12 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1097
* Fix memory leak caused by not visiting the function in a `CallValidator` during gc by dmontagu in https://github.com/pydantic/pydantic-core/pull/1100
* Pass extra argument in arguments validator by andresliszt in https://github.com/pydantic/pydantic-core/pull/1094
* Use input type json when validating a json schema by dmontagu in https://github.com/pydantic/pydantic-core/pull/1117
* Implement pickling for `ValidationError` by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1119
* Bump uuid from 1.5.0 to 1.6.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1105
* Bump url from 2.4.1 to 2.5.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1102
* Bump smallvec from 1.11.1 to 1.11.2 by dependabot in https://github.com/pydantic/pydantic-core/pull/1103
* Bump serde from 1.0.190 to 1.0.193 by dependabot in https://github.com/pydantic/pydantic-core/pull/1104
* Support `yyyy-MM-DD` string for datetimes by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1124
* Support indirect definition references by dmontagu in https://github.com/pydantic/pydantic-core/pull/1130
* drop Python 3.7, and PyPy 3.7 and 3.8 by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1129
* Bump ahash from 0.8.6 to 0.8.7 by dependabot in https://github.com/pydantic/pydantic-core/pull/1135
* Bump pyo3 from 0.20.0 to 0.20.1 by dependabot in https://github.com/pydantic/pydantic-core/pull/1136
* Bump serde_json from 1.0.108 to 1.0.109 by dependabot in https://github.com/pydantic/pydantic-core/pull/1134
* Rework `PYDANTIC_ERRORS_OMIT_URL` to `PYDANTIC_ERRORS_INCLUDE_URL` by akx in https://github.com/pydantic/pydantic-core/pull/1123
* Support serialization mode specification from model config and `SerializationConfig` by sydney-runkle in https://github.com/pydantic/pydantic-core/pull/1122
* Bump idna from 0.4.0 to 0.5.0 by dependabot in https://github.com/pydantic/pydantic-core/pull/1101
* Add unified tuple validator that can handle "variadic" tuples via PEP-646 by dmontagu in https://github.com/pydantic/pydantic-core/pull/865
* Use stricter serializer for unions of simple types by alexdrydew in https://github.com/pydantic/pydantic-core/pull/1132

New Contributors
* mariuswinger made their first contribution in https://github.com/pydantic/pydantic-core/pull/1087
* adamchainz made their first contribution in https://github.com/pydantic/pydantic-core/pull/1090
* andresliszt made their first contribution in https://github.com/pydantic/pydantic-core/pull/1094
* akx made their first contribution in https://github.com/pydantic/pydantic-core/pull/1123
* alexdrydew made their first contribution in https://github.com/pydantic/pydantic-core/pull/1132

**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.14.6...v2.15.0

2.14.6

What's Changed
* fix memory leak with recursive definitions creating reference cycles by davidhewitt in https://github.com/pydantic/pydantic-core/pull/1125


**Full Changelog**: https://github.com/pydantic/pydantic-core/compare/v2.14.5...v2.14.6
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant