Changelog#

[0.1.3] - Unreleased#

Added#

  • MariaDB 10.10 and later is supported. Strings compare by code point, as on PostgreSQL. The storage raises a ValueError on MySQL and on older versions of MariaDB.

Changed#

  • scim2-server 0.8.8 or later is required. A cursor that holds a sort value now raises invalidCursor on a search without sortBy.

  • A mapping that worked in 0.1.2 can now raise a ValueError:

    • a Many cannot hold write-only values, and its sub-attributes are either all written or all read-only, since writing the resource replaces the entries;

    • a string attribute is mapped to a column of strings or of bytes, or to a property casting another column, except for id;

    • id is mapped to a column that cannot hold NULL, or to a property.

  • A SqlAlchemyStorage now raises a ValueError when its provider declares a resource type that no mapping stores.

  • generate_mappings() gives no column to a write-only sub-attribute of a multi-valued attribute.

Fixed#

  • The read-only entries of a Many are no longer written.

  • An entry without a value that its column needs is refused with a 400 error, rather than a 500.

  • A string attribute in a column of another type no longer fails on each read: the mapping refuses it.

  • A filter on a UUID the database stores without hyphens, as SQLite does, such as id sw "2819c223-", compares it in its form with hyphens.

  • An identifier too large for its integer column finds nothing, rather than raising a 500 error. In a filter, an integer too large for its column compares as a number beyond every stored value. A cursor holding an integer no database stores is an invalid cursor, and so is a cursor whose sort value does not fit the sort column, rather than raising a 500 error.

  • A search at the root sorted on an attribute that the resource types store in different types is refused with a 400 error, rather than a 500.

  • An update only checks the unique values it changes, so a resource sharing a value with another one, under the case rules of SCIM, remains writable.

  • A new resource carrying the id of another resource gets a 409 for its unique values, rather than a 500 error.

  • A value that a unique constraint of the database refuses gets a 409, rather than a 500 error, even when the storage finds no other resource holding it.

  • On PostgreSQL, a filter on a boolean stored in a column of integers no longer raises a 500 error.

[0.1.2] - 2026-11-19#

Fixed#

  • Per RFC 7643 Section 2.1, paths in a ResourceMapping are case insensitive. Two paths to the same attribute are refused, and so are an attribute and one of its sub-attributes.

  • A single-valued attribute is refused when it is mapped to several Link.

  • A storage refused for a missing mapping no longer leaves its mappings partly bound.

[0.1.1] - 2026-10-21#

Changed#

  • Requires scim2-server 0.8.1.

Fixed#

  • The package imports without the asyncio extra.

[0.1.0] - 2026-10-11#

Added#