------------------
New features
See migration guide.
Breaking
- Drop support for python 3.6.
- Drop support for pydantic v1.
- The function ``FHIRAbstractModel::add_root_validator`` is no longer available.
Deprecations
Some of functions from ``FHIRAbstractModel`` are deprecated to comply with Pydantic V2. Some are
- ``FHIRAbstractModel::dict``
- ``FHIRAbstractModel::json``
- ``FHIRAbstractModel::parse_obj``
- ``FHIRAbstractModel::parse_raw``: no longer supports xml and yaml data.
- ``FHIRAbstractModel::parse_file``: no longer supports xml and yaml file.
Improvements
- `Issue 133 <https://github.com/nazrulworld/fhir.resources/issues/133>`_ Pydantic 2.0 migration plan. It's not fully migration though, instead of using of Pydantic V1 API.
- `Issue 144 <https://github.com/nazrulworld/fhir.resources/issues/144>`_ Parsing XML byte string MESH acknowledgment response.