# Version 5.8.2

This release includes the new features released with Frends 5.8, listed in [new-features](https://docs.frends.com/release-notes/frends-5.8/new-features "mention"), as well as improvements and bug fixes from the earlier releases.

## UI and Log Service <a href="#h_5581c603b0" id="h_5581c603b0"></a>

### Improvements

* Improved Conditional Trigger validation to warn about Subprocess not being selected
* Importing a Process Template which is using Task versions that have not been installed now allows you to import them in a dialog before proceeding with the Template import
* The Management API now supports deleting Process Instances
* Improved memory management when there is a large number of Agents when processing Agent notifications

### Bug fixes

* Fixed filtering by is expired for Private Application Tokens with the Management API
* Fixed nestPage url in the Management API to contain correct filters
* Fixed issue with setting Conditional Trigger value to empty when the Subprocess has a default parameter
* Fixed issue with modified custom claims not being shown for a Private Application
* Fixed using using Bearer type security definition for an API Process
* Fixed issue with exporting Process Templates to include Task mappings
* Fixed issue with large API Specifications being truncated when being returned from the Management API
* Fixed issue with not being able to save changes to a migrated API policy

## Agent <a href="#h_1668218202" id="h_1668218202"></a>

### Improvements

* Cross-platform Agent can now mount shares for itself like on older versions of the Legacy Agent

### Bug fixes

* Fixed issue with Agent reporting 404 for the Swagger page when there are no APIs deployed
* Fixed issue with Cross-platform Agent not being able to load some System dependencies, such as System.Text.Json in some cases
* Fixed issue with Cross-platform Agent functioning as a Gateway Agent
* Fixed issue with Legacy Agent not mapping the sub claim to the Identity of an executed Process instance when using OAuth authentication
* Fixed issue with Gateway Agent reporting the wrong target for a proxied request in the HTTP Monitoring log
* Fixed issue with Cross-platform Agent installer missing a DLL when updating from Frends 5.7.x requiring reinstall
