Changelog#
[0.6.4] - 2026-10-30#
Added#
object_creation_with_invalid_syntaxandobject_replacement_with_invalid_syntaxcheck that POST and PUT reject a body that is not valid JSON, with a 400invalidSyntax. #25resource_type_by_id_methodsandschema_by_id_methodscheck that/ResourceTypes/{id}and/Schemas/{id}answer 405 to POST, PUT, PATCH and DELETE. #16iter_check_server()yields each result as soon as its check ends, so a long run can display its progress.ScimServerContractuses it to report each check as soon as it ends.
Fixed#
query_resource_type_by_idno longer succeeds on a resource type withoutid, 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#
OutcomeandStatus.outcometell whether a result passes, warns, fails or is skipped, without thetestingextra.
Fixed#
A generated reference
valuewithout its$ref, such as a group member when only the required attributes are filled, points to a resource created for it.
Removed#
Support of the
TestSCIMClientengine, deprecated by scim2-client. UseWSGISCIMClientinstead.
[0.6.2] - 2026-10-29#
Added#
object_creation_without_required_attributechecks that POST rejects a resource without one of its required attributes, with a 400invalidValue.object_replacement_without_required_attributechecks the same on PUT.check_remove_required_attributechecks that PATCH rejects the removal of a required attribute, with a 400mutability.
[0.6.1] - 2026-10-29#
Added#
expected_resultsaccepts a status alone, without a reason.ScimServerContractshows the traceback of a check failing on an exception.
Changed#
The
attributesandexcludedAttributeschecks test each attribute, and follow itsreturnedsetting (RFC 7644 §3.4.2.5).excludedAttributeshas its own*_with_excluded_attributeschecks. Their keys inexpected_resultschange.A failed request gives an error on its attribute only.
[0.6.0] - 2026-10-29#
Added#
The
seedparameter ofcheck_server()sets the seed of the generated values. Two runs with the same seed send the same values, which helps to replay a failure.ScimServerContractruns the checks as a pytest test, with a subtest per result. It needs thetestingextra. Itsexpected_resultslists the known failures of a server, and itsseedreplays 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_idandresource_types_schema_validationgive the queried resource type inresource_type. The results ofaccess_schema_by_idgive the queried schema URN inattribute. Each discovery result can then be told apart from the others.
[0.5.3] - 2026-10-29#
Added#
Support for Python 3.15.
attributegives the path of the checked attribute. The PATCH checks and theattributeschecks 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_creationreports 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_schemaandaccess_invalid_resource_typegive the tested URL and the HTTP status when the server answers an error without a SCIM error body.The
patch:addandpatch:replacechecks compare a reference, such as a group member, on itsvalue, and on itstypewhen one was sent. The server can fill thedisplayand the$refitself (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_attributescheck 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
typethat matches the resource of their$ref.
[0.5.1] - 2026-10-03#
Added#
check_serverchecks that the/ServiceProviderConfig,/ResourceTypesand/Schemasendpoints answer 405 toPOST,PUT,PATCHandDELETE.
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
DeprecationWarningwith 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:removecheck reports an attribute left with a false value in the PATCH response, such asactive: 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
/Schemasand/ResourceTypeschecks 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
ScimProviderErroris reported by theservice_descriptioncheck, instead of stoppingcheck_server().
[0.4.0] - 2026-09-21#
Added#
A check reporting a service description that cannot be composed, such as a
ResourceTypenaming a schema/Schemasdoes 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
httpxpackaging extra, as scim2-client dropped its own. The engines require httpx2, pulled by thehttpx2extra. An application that cannot migrate all its dependencies at once can callhttpx2.alias_httpx()at the very top of its entrypoint, so thatimport httpxresolves to httpx2 process-wide.
Fixed#
The
dataof 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
dataof a check failed against theTestSCIMClientengine holds the response payload, where reading it raised aTypeError.check_server()takes any synchronous client, as it always did, instead of declaring the httpx2 one. Importingscim2_testerno longer requires thehttpx2packaging extra, which only the command line needs.
[0.3.0] - 2026-09-20#
Added#
The
httpx2packaging extra, pullingscim2-client[httpx2].
Changed#
scim2-client 0.8.0 is now the minimum supported version.
The
dataof 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
httpxpackaging extra, in favor of thehttpx2extra. Will be removed when scim2-client drops its ownhttpxextra.
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_serverno 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/valueconsistency for root complex attributes (e.g. standaloneGroupMember).
[0.2.7] - 2026-04-02#
Fixed#
Fix
ref/valueconsistency for nested complex attributes likeManager. #47
Added#
[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
ComplexAttributeinstead ofMultiValuedComplexAttributeto generate data.Respect the
primaryattribute 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#
[0.2.0] - 2025-08-12#
Added#
[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#
Restrict expected status codes in checks.
Check individual
SchemaandResourceTypeendpoints.Check for
SchemaandResourceTypewith invalid ids.
Fixed#
Avoid to randomly generate references to unexisting objects.
[0.1.9] - 2024-11-29#
Added#
Added support for
Extensions.
[0.1.8] - 2024-11-29#
Added#
Implement a
raise_exceptionsparameter 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#
[0.1.3] - 2024-07-25#
Fixed#
Bug with the new
Referenceattribute type.
[0.1.2] - 2024-06-05#
Fixed#
Import exception.
[0.1.1] - 2024-06-05#
Added#
Basic checks:
ServiceProviderConfig,SchemaandResourceTyperetrieval and creation, query, replacement and deletion operations onUserandGroup.
[0.1.0] - 2024-06-03#
Added#
Initial release