[go: up one dir, main page]

[0.0.75] - 2025-06-06
---------------------

.. warning::

    This version comes with a configuration breaking change.

    The OIDC configuration part have been reworked:

    - ``CANAILLE_OIDC.JWT.MAPPING`` becomes ``CANAILLE_OIDC.USERINFO_MAPPING``
    - ``CANAILLE.JWT`` is removed. You can migrate your keys with this script:

    .. code-block:: python

        import tomlkit
        from joserfc import jwk

        with open("canaille.toml") as fd:
            config = tomlkit.load(fd)

        key = jwk.RSAKey.import_key(config["CANAILLE_OIDC"]["JWT"]["PRIVATE_KEY"])
        config["CANAILLE_OIDC"]["ACTIVE_JWKS"] = [key.as_dict()]

        with open("canaille.toml", "w") as fd:
            config = tomlkit.dump(config, fd)

.. warning::

    This version comes with a schema breaking change.
    The LDAP schema has evolved. If you use the LDAP schema, please follow the :ref:`ldap_schema_update` section.

Changed
^^^^^^^
- Reworked the JWK configuration. :issue:`119`
- OIDC UserInfo endpoint is managed with Authlib. :issue:`244`
- The default behavior of ``canaille config dump`` is to write the configuration in the standard output.

Added
^^^^^
- Support for :rfc:`RFC9101 JWT-Secured Authorization Request (JAR) <9101>` :issue:`254`
- Adds a docker image on hubdocker :issue:`262`
- Update the doc to use and update the docker image :issue:`260`

Fixed
^^^^^
- The email field was losing focus when updated with HTMX. :issue:`279`