# Release Notes

## :label: v3.9.0

*<mark style="color:blue;">Feb 02, 2026</mark>*

### Changes

> * Allows switching from an MD5-based query identifier to PostgreSQL’s native `queryid`.\
>   [Refer to the documentation](https://docs.datasentinel.io/manual/features/tips-and-hints/query-identifier) for more details.
> * Added the `DATASENTINEL_FOREGROUND` environment variable to facilitate [automatic startup via a systemd service](https://docs.datasentinel.io/manual/implementation/troubleshooting/unexpected-agent-termination).

## :label: v3.8.0

*<mark style="color:blue;">Nov 12, 2025</mark>*

### Changes

> * Fully compatible with the newest release, [PostgreSQL Version 18.](https://www.postgresql.org/docs/18/index.html)
> * Updated third-party libraries.

### Fixes

> **Solaris Compatibility for `system_stats` Extension:**\
> Resolved an issue where the current [system\_stats](https://github.com/EnterpriseDB/system_stats) extension running on Solaris systems was missing certain metric fields.

## :label: v3.7.0

*<mark style="color:blue;">Jun 9, 2025</mark>*

### Changes

> The agent now includes the **PostgreSQL listening port** in the metadata it sends to the repository. This enables the repository to track database connection endpoints.

### Fixes

> * **Extension Compatibility Update:**\
>   The agent now detects the version of the [pg\_store\_plans extension](https://docs.datasentinel.io/manual/getting-started/postgresql-clusters/extensions/pg_store_plans) and adjusts its queries accordingly. It automatically runs the appropriate query to collect metrics based on the detected version.\
>   This ensures compatibility with [version 1.9](https://github.com/ossc-db/pg_store_plans) (related to [PostgreSQL 17](https://www.postgresql.org/docs/17/index.html)), which includes renamed columns.&#x20;

## :label: v3.6.0

*<mark style="color:blue;">Oct 15, 2024</mark>*

### Changes

> * Fully compatible with the newest release, [PostgreSQL Version 17.](https://www.postgresql.org/docs/17/index.html)
> * Replaced WSGI CherryPy, a web framework, with Uvicorn, an ASGI web server optimized for handling asynchronous requests. \
>   The agent now includes a **hard-coded limit** for the maximum size of the `api_calls.log` file. The log file **cannot exceed 10MB**, ensuring better management of disk usage and avoiding unbounded growth
> * Updated third-party libraries.
> * Internal memory management improvements

## :label: v3.5.2

*<mark style="color:blue;">Apr 10, 2024</mark>*

### Changes

> * Fully compatible with the newest release, [PostgreSQL Version 16.](https://www.postgresql.org/docs/16/index.html)
> * Updated third-party libraries.
> * Send any issues encountered during instance monitoring directly to the platform.

#### Fixes

> Error occurred with **archive\_mode** set to **always.**

## :label: v3.5.1

*<mark style="color:blue;">Mar 20, 2024</mark>*

#### Fixes

> Every query text is now automatically converted to UTF-8 format before sending to our platform, sidestepping issues with non-ASCII characters like accents

## :label: v3.5.0

*<mark style="color:blue;">Jan 22, 2024</mark>*

#### Changes

> Fully compatible with the newest release, [PostgreSQL Version 16.](https://www.postgresql.org/docs/16/index.html)\
> Updated third-party libraries.\
> Send any issues encountered during instance monitoring directly to the platform.
