Skip to content

v2.0.1 2023-07-04

Compare
Choose a tag to compare
@dmontagu dmontagu released this 04 Jul 17:13
· 718 commits to main since this release
53b1362

What's Changed

  • πŸ“ Add note about Bump Pydantic by @Kludex in #6281
  • Parse Decimal in python to avoid precision loss by @adriangb in #6321
  • Fix typo of model_parametrized_name in docs/usage/models.md by @hramezani in #6325
  • fix(docs): typo fix for docs by @ozgurturkiye in #6335
  • Allow __modify_schema__ to co-exist __get_pydantic_json_schema__ by @adriangb in #6334
  • Fix tagged unions multiple processing in submodels by @suharnikov in #6340
  • Unpack json schema refs for custom types by @adriangb in #6315
  • Fix typo in create_model function by @TimDiekmann in #6347
  • Update README.md by @weqopy in #6363
  • Adding extra field via setattr adds field to model_extra by @aaraney in #6365
  • Fix validate_call schema generation and doc error for TypedDict by @adriangb in #6370
  • πŸ“ Include Mac Address documentation by @yezz123 in #6367
  • Remove warning from top of docs/usage/types/encoded.md by @hramezani in #6377
  • Remove datamodel code generator not working warning from doc by @hramezani in #6378
  • Fix some uses of Field inside of Annotated by @adriangb in #6373
  • πŸ”¨ Include pydantic-extra-types to integration tests by @yezz123 in #6344
  • add davidhewitt to hooky respondents by @davidhewitt in #6385
  • Update pydantic-core to 2.0.2 by @adriangb in #6389
  • πŸ› Don't call repr() on qualname retrieval by @Kludex in #6382
  • Warn instead of error protected namespace by @dmontagu in #6326
  • Do not recommend raising TypeError in validators by @Viicos in #6391
  • Test model_extra is None when extra='forbid' by @dmontagu in #6341
  • Remove --verbose flag from docs build to clean up CI logs by @adriangb in #6399
  • Add note about changes to regex engine used by @adriangb in #6400
  • Allow combining Field annotations by merging them by @adriangb in #6398
  • BaseSettings moved, not removed by @tpdorsey in #6401
  • Bind validate_call to instance when decorating methods by @dmontagu in #6406
  • πŸ’š Use "result" instead of "status" on GitHub Action conditional by @Kludex in #6410
  • Update models.md by @dmontagu in #6331
  • πŸ› Add __hash__ for WithJsonSchema and Examples by @Kludex in #6414
  • πŸ› Fix generic tuple cannot have more than one item by @lig in #6384
  • Upate mypy plugin to consider pydantic-settings model by @hramezani in #6396
  • Improve BaseModel.__getattr__ to raise a better error in case of AttributeError in model property by @hramezani in #6417
  • Fix issue where validate_call methods would break when accessed as a class attribute by @dmontagu in #6431
  • Update Pydantic V1 to 1.10.11 by @hramezani in #6427
  • Rework how JSON schema refs get built/"simplified" by @dmontagu in #6402
  • Prepare for v2.0.1 by @dmontagu in #6433
  • πŸ’š Use main-pv2 FastAPI branch in integration tests by @lig in #6432

New Contributors

Full Changelog: v2.0...v2.0.1