Changelog#

[0.6.4] - 2026-10-30#

Added#

  • object_creation_with_invalid_syntax and object_replacement_with_invalid_syntax check that POST and PUT reject a body that is not valid JSON, with a 400 invalidSyntax. #25

  • resource_type_by_id_methods and schema_by_id_methods check that /ResourceTypes/{id} and /Schemas/{id} answer 405 to POST, PUT, PATCH and DELETE. #16

  • iter_check_server() yields each result as soon as its check ends, so a long run can display its progress. ScimServerContract uses it to report each check as soon as it ends.

Fixed#

  • query_resource_type_by_id no longer succeeds on a resource type without id, without checking anything. Such a resource type has no endpoint of its own, so it is not queried.

[0.6.3] - 2026-10-29#

Added#

  • Outcome and Status.outcome tell whether a result passes, warns, fails or is skipped, without the testing extra.

Fixed#

  • A generated reference value without its $ref, such as a group member when only the required attributes are filled, points to a resource created for it.

Removed#

[0.6.2] - 2026-10-29#

Added#

  • object_creation_without_required_attribute checks that POST rejects a resource without one of its required attributes, with a 400 invalidValue.

  • object_replacement_without_required_attribute checks the same on PUT.

  • check_remove_required_attribute checks that PATCH rejects the removal of a required attribute, with a 400 mutability.

[0.6.1] - 2026-10-29#

Added#

Changed#

  • The attributes and excludedAttributes checks test each attribute, and follow its returned setting (RFC 7644 §3.4.2.5).

  • excludedAttributes has its own *_with_excluded_attributes checks. Their keys in expected_results change.

  • A failed request gives an error on its attribute only.

[0.6.0] - 2026-10-29#

Added#

  • The seed parameter of check_server() sets the seed of the generated values. Two runs with the same seed send the same values, which helps to replay a failure.

  • ScimServerContract runs the checks as a pytest test, with a subtest per result. It needs the testing extra. Its expected_results lists the known failures of a server, and its seed replays a run.

Changed#

  • The checks of the HTTP methods on the discovery endpoints return one result per endpoint, with the worst status of the methods. The reason lists the methods that did not answer 405.

  • The results of query_resource_type_by_id and resource_types_schema_validation give the queried resource type in resource_type. The results of access_schema_by_id give the queried schema URN in attribute. Each discovery result can then be told apart from the others.

[0.5.3] - 2026-10-29#

Added#

  • Support for Python 3.15.

  • attribute gives the path of the checked attribute. The PATCH checks and the attributes checks return one result per attribute, with the same title. The attribute tells them apart.

Changed#

  • A server can answer 501 to the creation of a resource type (RFC 7644 §3.12). object_creation reports it as acceptable, and the checks that need such a resource are skipped. They used to fail, each with the same error.

  • The checks of the HTTP methods on the discovery endpoints report a 404, a 501 or another 4xx status as a deviation. They used to report an error. A 405 is still the expected status.

Fixed#

  • random_url, access_invalid_schema and access_invalid_resource_type give the tested URL and the HTTP status when the server answers an error without a SCIM error body.

  • The patch:add and patch:replace checks compare a reference, such as a group member, on its value, and on its type when one was sent. The server can fill the display and the $ref itself (RFC 7643 §2.4).

  • A search returning resources without the schema of a known resource type is reported in one sentence, instead of one validation error per resource.

[0.5.2] - 2026-10-06#

Fixed#

  • The search_with_attributes check is skipped when the server answers 501 to a search at the root. A server that does not search several resource types at once answers 501 (RFC 7644 §3.12), and it used to fail this check.

  • The generated group members have a type that matches the resource of their $ref.

[0.5.1] - 2026-10-03#

Added#

  • check_server checks that the /ServiceProviderConfig, /ResourceTypes and /Schemas endpoints answer 405 to POST, PUT, PATCH and DELETE.

Changed#

  • The code is checked with mypy in strict mode.

  • scim2-client 0.11.0 is now the minimum supported version.

Fixed#

  • The PATCH checks no longer emit a DeprecationWarning with scim2-client 0.11.

  • The HTTP method checks of the discovery endpoints work with the Werkzeug engine. They used to fail with an AttributeError.

  • The patch:remove check reports an attribute left with a false value in the PATCH response, such as active: false. It accepts an empty multi-valued attribute, which is equivalent to an unassigned one (RFC 7643 §2.5).

  • The PATCH checks run when the service provider configuration does not tell whether PATCH is supported. They used to fail.

  • The /Schemas and /ResourceTypes checks report an endpoint that publishes nothing with a clear message.

  • A reference to resource types the client does not know is reported with a clear message.

[0.5.0] - 2026-09-27#

Changed#

  • Python 3.11 is now the minimum supported version.

Removed#

  • The undocumented command line. Use scim2 test instead.

Fixed#

  • A service description breaking the construction of the models with another exception than ScimProviderError is reported by the service_description check, instead of stopping check_server().

[0.4.0] - 2026-09-21#

Added#

  • A check reporting a service description that cannot be composed, such as a ResourceType naming a schema /Schemas does not publish. The remaining checks used to be silently skipped.

Changed#

  • scim2-client 0.9.0 and scim2-models 0.8.0 are now the minimum supported versions.

  • What the discovery endpoints publish is registered on the client as a ScimProvider, in place of its resource models, its resource types and its service provider configuration.

Removed#

  • Breaking: the httpx packaging extra, as scim2-client dropped its own. The engines require httpx2, pulled by the httpx2 extra. An application that cannot migrate all its dependencies at once can call httpx2.alias_httpx() at the very top of its entrypoint, so that import httpx resolves to httpx2 process-wide.

Fixed#

  • The data of a failed check holds the decoded response payload instead of the response object, whose representation only carries a status code.

  • Two resource types built upon a same schema are told apart, where the model of the first one declaring the schema used to answer for both.

  • The data of a check failed against the TestSCIMClient engine holds the response payload, where reading it raised a TypeError.

  • check_server() takes any synchronous client, as it always did, instead of declaring the httpx2 one. Importing scim2_tester no longer requires the httpx2 packaging extra, which only the command line needs.

[0.3.0] - 2026-09-20#

Added#

  • The httpx2 packaging extra, pulling scim2-client[httpx2].

Changed#

  • scim2-client 0.8.0 is now the minimum supported version.

  • The data of a failed check holds the server response instead of the request payload, as scim2-client 0.8 attaches the response to the exceptions it raises.

Deprecated#

  • The httpx packaging extra, in favor of the httpx2 extra. Will be removed when scim2-client drops its own httpx extra.

Fixed#

  • Checks performing one request per attribute, such as the PATCH ones, report one result per attribute again when the server answers a SCIM error, instead of a single result for the whole check.

  • check_server no longer registers the debugging data of a failed discovery check as the resource types, the schemas or the service provider configuration of the client.

[0.2.8] - 2026-04-02#

Fixed#

  • Fix ref/value consistency for root complex attributes (e.g. standalone GroupMember).

[0.2.7] - 2026-04-02#

Fixed#

  • Fix ref/value consistency for nested complex attributes like Manager. #47

Added#

  • Attribute filtering compliance checkers for attributes and excludedAttributes on single resource, list, and .search endpoints (RFC 7644 §3.4). #20

[0.2.6] - 2026-02-19#

Changed#

  • Random integers are 32bits and positive.

[0.2.5] - 2026-01-01#

Changed#

  • Use scim2-models native path management.

[0.2.4] - 2025-10-10#

Added#

  • Support for Python 3.14.

Fixed#

  • Compatibility with Pydantic 2.12.

[0.2.3] - 2025-08-22#

Fixed#

  • Error and critical check results directly raise an exception when raise_exceptions=True.

  • Use ComplexAttribute instead of MultiValuedComplexAttribute to generate data.

  • Respect the primary attribute unique truthy value when generating random values.

  • Correctly handle value generation in sub-attributes. #41

[0.2.2] - 2025-08-13#

Fixed#

  • Discovery checkers are always executed, even with tag filtering.

  • Don’t execute PATCH tests when the ServiceProviderConfig advises patch is not supported.

[0.2.1] - 2025-08-13#

Fixed#

  • Sort results in get_all_available_tags, so it can be used with pytest-xdist.

  • generate_random_value generate coherent ref and value values for complex attributes. #30 #37

  • Include PATCH operations in get_all_available_tags.

[0.2.0] - 2025-08-12#

Added#

  • Check filtering. #23

  • PATCH checks. #31

[0.1.14] - 2025-03-28#

Fixed#

  • Fix a Pydantic warning.

[0.1.13] - 2024-12-11#

Fixed#

  • Generate valid emails and phone numbers when filling objects attributes.

[0.1.12] - 2024-12-08#

Fixed#

  • Resource replacement test was not using new values.

[0.1.11] - 2024-12-08#

Added#

  • Slightly improved error messages.

  • Create temporary resources to test references.

[0.1.10] - 2024-12-02#

Added#

Fixed#

  • Avoid to randomly generate references to unexisting objects.

[0.1.9] - 2024-11-29#

Added#

[0.1.8] - 2024-11-29#

Added#

  • Implement a raise_exceptions parameter that allows failed checks to raise exceptions.

[0.1.7] - 2024-11-29#

Added#

  • Support with scim2-client 0.3.0.

[0.1.6] - 2024-11-28#

Added#

  • Python 3.13 support.

[0.1.5] - 2024-09-01#

Fixed#

  • check_random_url error after scim2-client 0.2.0 update. #8

[0.1.4] - 2024-09-01#

Fixed#

  • Do not raise exceptions when encountering SCIM errors. #3

  • Invalid domains and network errors are properly handled. #6

[0.1.3] - 2024-07-25#

Fixed#

[0.1.2] - 2024-06-05#

Fixed#

  • Import exception.

[0.1.1] - 2024-06-05#

Added#

[0.1.0] - 2024-06-03#

Added#

  • Initial release