Skip to content

Releases: python-scim/scim2-models

0.3.0

11 Dec 15:32
0.3.0
935d605
Compare
Choose a tag to compare
[0.3.0] - 2024-12-11

--------------------

Added
^^^^^
- :meth:`Attribute.get_attribute <scim2_models.Attribute.get_attribute>` can be called with brackets.

Changed
^^^^^^^
- Add a :paramref:`~scim2_models.BaseModel.model_validate.original`
  parameter to :meth:`~scim2_models.BaseModel.model_validate`
  mandatory for :attr:`~scim2_models.Context.RESOURCE_REPLACEMENT_REQUEST`.
  This *original* value is used to look if :attr:`~scim2_models.Mutability.immutable`
  parameters have mutated.
  :issue:`86`

0.2.12

09 Dec 12:56
0.2.12
33364c5
Compare
Choose a tag to compare
[0.2.12] - 2024-12-09

---------------------
Added
^^^^^
- Implement :meth:`Attribute.get_attribute <scim2_models.Attribute.get_attribute>`.

0.2.11

08 Dec 15:31
0.2.11
02fdae8
Compare
Choose a tag to compare
[0.2.11] - 2024-12-08

---------------------
Added
^^^^^
- Implement :meth:`Schema.get_attribute <scim2_models.Schema.get_attribute>`.
- Implement :meth:`SearchRequest.start_index_0 <scim2_models.SearchRequest.start_index_0>`
  and :meth:`SearchRequest.start_index_1 <scim2_models.SearchRequest.start_index_1>`.

0.2.10

02 Dec 15:53
0.2.10
eb67018
Compare
Choose a tag to compare
[0.2.10] - 2024-12-02

---------------------

Changed
^^^^^^^
- The ``schema`` attribute is annotated with :attr:`~scim2_models.Required.true`.

Fixed
^^^^^
- ``Base64Bytes`` compatibility between pydantic 2.10+ and <2.10

0.2.9

02 Dec 09:45
0.2.9
d131d07
Compare
Choose a tag to compare
[0.2.9] - 2024-12-02

--------------------

Added
^^^^^
- Implement :meth:`Resource.get_extension_model <scim2_models.Resource.get_extension_model>`.

0.2.8

02 Dec 07:29
0.2.8
5b37599
Compare
Choose a tag to compare
[0.2.8] - 2024-12-02

--------------------

Added
^^^^^
- Support for Pydantic 2.10.

0.2.7

30 Nov 14:17
0.2.7
9236228
Compare
Choose a tag to compare
[0.2.7] - 2024-11-30

--------------------

Added
^^^^^
- Implement :meth:`ResourceType.from_resource`.

0.2.6

29 Nov 16:49
0.2.6
3ab3833
Compare
Choose a tag to compare
[0.2.6] - 2024-11-29

--------------------

Fixed
^^^^^
- Implement :meth:`~scim2_models.BaseModel.model_dump_json`.
- Temporarily set Pydantic 2.9 as the maximum supported version.

0.2.4

03 Nov 19:23
0.2.4
f125eeb
Compare
Choose a tag to compare

[0.2.4] - 2024-11-03

Fixed
^^^^^

  • Python 3.9 and 3.10 compatibility.

0.2.3

01 Nov 17:47
0.2.3
4cda8e9
Compare
Choose a tag to compare
[0.2.3] - 2024-11-01

--------------------

Added
- Python 3.13 support.
- Proper Base64 serialization. #31
- BaseModel.get_field_root_type supports typing.UnionType.

Changed
- SearchRequest.attributes and SearchRequest.attributes are mutually exclusive. #19
- scim2_models.Schema ids must be valid URIs. #26