<h1>Changelog</h1>

<h2>v3.0.0 (2024-06-13)</h2>
<ul>
    <li>
        Breaking: The ID Connector now trusts all certificates, on the UCS system. If your ID Connector connects to any recipient servers that use a private CA, you need to add that CA to the UCS system before you update (Issue #58).
    </li>
    <li>
        Breaking: Cron job for ``listener_trash_cleaner`` was moved from the container to the host (Bug #54640).
    </li>
    <li>
        Breaking: The ID Connector image is now build based on the UCS base image and not Alpine anymore (Issue #15).
    </li>
    <li>
        Breaking: The ID Connector is now using Python 3.11 and not Python 3.8 (Issue #66).
    </li>
    <li>
        Chore: Dependencies have been updated (Issue #68).
    </li>
    <li>
        Fixed: Updating or re-adding previously deleted school authority configuration through the web API, did not take effect until the app had been restarted. This has been fixed, and a restart is not necessary anymore (Issue #70).
    </li>
</ul>

<h2>v2.3.3 (2023-01-11)</h2>
<ul>
    <li>
        The python package <code>tenacity</code> has been added as additional dependency to properly support the ID-Broker plugin (Issue #101).
    </li>
</ul>

<h2>v2.3.2 (2024-01-08)</h2>
<ul>
    <li>
        The scripts to schedule users, groups and schools have been improved to have a help message (Issue #47).
    </li>
</ul>

<h2>v2.3.1 (2023-12-06)</h2>
<ul>
    <li>
        A new <code>schedule_group</code> command has been added. It can be used to force a group to be synced again (Issue #41).
    </li>
    <li>
        A new <code>schedule_school</code> command has been added. It can be used to force a school to be synced again (Issue #41).
    </li>
    <li>
        The ID Connector API patch endpoint for school authorities was fixed (Issue #44).
    </li>
</ul>

<h2>v2.3.0 (2023-11-30)</h2>
<ul>
    <li>
	The rotation of log files is now managed by the UCS host systems <code>logrotate</code>. This is also fixing a bug that could lead to missing or incorrectly ordered log entries (Bug #55983).
    </li>
</ul>

<h2>v2.2.8 (2023-08-21)</h2>
<ul>
    <li>
        ID Connector Kelvin plugin compares OU names case insensitive (Bug #55344).
    </li>
    <li>
        Upgrade <code>Pydantic</code>, improve <code>ListenerFileAttributeError</code> exceptions (Bug #56399).
    </li>
    <li>
        The automatic clean up of the ID Connector's <code>trash</code> directory now works as intended (Bug #56235).
        The following issues were fixed:
        <ul>
            <li>
                The <code>listener_trash_cleaner</code> file is now executable.
            </li>
            <li>
                The <code>cron daemon</code> within the Docker-Container runs on startup of the container.
            </li>
        </ul>
    </li>
</ul>

<h2>v2.2.7 (2023-06-22)</h2>
<ul>
    <li>
        Updated upstream dependencies. A security vulnerability in Starlette (CVE-2023-30798) was fixed (Bug #56265).
    </li>
</ul>

<h2>v2.2.6 (2023-06-14)</h2>
<ul>
    <li>
        The ID Connector can now be configured to automatically clean up its <code>trash</code> directory periodically (Bug #53048).
        Two new app settings where created:
        <ul>
            <li>
                <code>trash_delete_state</code> determines if the clean up should be run periodically,
            </li>
            <li>
                <code>trash_delete_offset</code> determines after how many days old listener files are be cleaned up.
            </li>
        </ul>
    </li>
</ul>

<h2>v2.2.5 (2023-03-29)</h2>
<ul>
    <li>
        Boolean attributes are now synced correctly (Bug #54307).
        The format of objects which are written by the listener and read by the ID Connector plugins changed from version <code>2.2.4</code> and <code>2.2.5</code> (cf. Bug #54773).
        It now has the format of the UDM Rest API objects (e.g. users and groups). Customized plugins might have to be adapted.
    </li>
</ul>

<h2>v2.2.4 (2022-08-25)</h2>
<ul>
    <li>
        The permissions of the school authority configuration files was fixed (Bug #54534).
    </li>
     <li>
        Users with multiple schools are now updated correctly if the Kelvin REST API is installed in version <code>1.5.4</code> or above on the school authority side (Bug #54411).
    </li>
    <li>
        Kelvin REST API versions up to <code>1.7.0</code> are now supported (Bug #54966). <b>Warning</b>: Kelvin REST API version <code>1.7.0</code> and above will break ID Connector versions below <code>2.2.4</code>.
    </li>
     <li>
        Remote school (OU) names are now compared case insensitively.
    </li>
</ul>


<h2>v2.2.2 (2022-03-03)</h2>
<ul>
    <li>
        The ID Broker plugin was removed from the app and can be installed separately by a Debian package (Bug #54488).
    </li>
    <li>
    	The ID Broker partial group sync plugin now safely handles group names with hyphen (Bug #54464).
    </li>
    <li>
        Users with multiple schools are now created with the correct primary OU (Bug #54439).
    </li>
</ul>

<h2>v2.2.0 (2022-01-04)</h2>
<ul>
    <li>
        A new plugin was added to sync all user data to the ID Broker.
    </li>
    <li>
        The ID Connector can now also be installed on DC Backups.
    </li>
    <li>
        The Kelvin plugin can now be imported by other plugins, so they can subclass it.
    </li>
    <li>
        The synchronization of the <code>birthday</code> and <code>userexpiry</code> (in Kelvin <code>expiration_date</code>) attributes was fixed. The Kelvin REST API on the school authority side must be of version <code>1.5.1</code> or above!
    </li>
</ul>

<h2>v2.1.1 (2021-10-25)</h2>
<ul>
    <li>
        The log level for messages written to <code>/var/log/univention/ucsschool-id-connector/*.log</code> is now configurable.<br/>
        Valid values are <code>DEBUG</code>, <code>INFO</code>, <code>WARNING</code> and <code>ERROR</code>". Defaults to <code>INFO</code>.
    </li>
</ul>

<h2>v2.1.0 (2021-10-11)</h2>
<ul>
    <li>
        Update the integrated kelvin rest client to version 1.5.0 to work with Kelvin 1.5.0
    </li>
    <li>
        Include kelvin plugin derivate for partial group sync
    </li>
</ul>

<h2>v2.0.1 (2021-03-04)</h2>
<ul>
    <li>
	    The transfer of Kerberos key hashes has been fixed.
	</li>
</ul>

<h2>v2.0.0 (2020-11-10)</h2>
<ul>
    <li>
	    Support for replicating to target systems exposing the <a href="https://docs.software-univention.de/ucsschool-kelvin-rest-api">UCS@school Kelvin REST API</a> was added.
	</li>
	<li>
	    <b>Important</b>: The support for replicating to target systems exposing the BB API has been dropped.
    </li>
    <li>
        The new variable "plugin_configs" now contains configuration details for plugin relevant configuring for each school authority configuration.
    </li>
</ul>

<h2>v1.1.0 (2020-06-02)</h2>
<ul>
    <li>
        The source code that is responsible for replicating users to specific target systems has been moved to plugins.
    </li>
    <li>
        The new variable "plugins" allows configuring which plugin to use for each school authority configuration.
    </li>
    <li>
        In combination the previous two features allow the connector to target a different API for each school authority.
    </li>
    <li>
	    Update to Python 3.8.
    </li>
</ul>

<h2>v1.0.0 (2019-11-15)</h2>
<ul>
    <li>
        Initial release.
    </li>
</ul>
