> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.cloudquant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What's New in Liberator 2.7

> Release notes for CloudQuant Data Liberator 2.7 — alerts, per-user activity, organization API keys, query limits, Google BigQuery, and security fixes

# What's new in Liberator 2.7

Liberator 2.7 tells you when something needs attention and gives Super Admins more control over who uses the platform and how much.

* **Alerts** flag stale datasets, usage limits, and unhealthy storage connections, in the UI and by email or webhook.
* **Activity** views show which datasets and date ranges each user queries, and when each user was last active.
* **Organization API keys** keep Grafana and admin automation working when people change roles or leave.
* **Query limits** stop one user from tying up every query worker.
* **Google BigQuery** joins the list of supported database connections.

> [!WARNING]
>
> **Grafana and Admin API tokens.** Metrics and Admin API bearer tokens issued before 2.7, including tokens from **System Monitoring → Grafana Integration**, stop working after the upgrade. Create a new key under **Settings → API Keys** and update each tool. See [Organization API keys](#organization-api-keys).

## Highlights

> [card] [Alerts](https://knowledge.cloudquant.com/administration/alerts.md)
>
> Notices for stale datasets, usage limits, and unhealthy storage, with email and signed webhook delivery.

> [card] [Activity by user](#activity-by-user)
>
> The datasets and date ranges each user queries, and when they were last active.

> [card] [Organization API keys](https://knowledge.cloudquant.com/administration/organization-api-keys.md)
>
> Audited, scoped keys for the Admin API and Metrics API that belong to the organization.

> [card] [Query limits](#query-limits)
>
> Set how many queries each user can run at once, with per-user overrides.

## Before you upgrade

| Change | Who is affected | What to do |
| - | - | - |
| Bearer tokens issued before 2.7 no longer work | Grafana and other Prometheus clients, and scripts that call the Admin API with a bearer token | Create an organization API key with the **Metrics** or **Admin** scope, update the tool, and confirm it works. |
| Fine-grained **Columns** restrictions are now enforced | Users who have a column restriction on a dataset | Review column restrictions after the upgrade. Restrictions saved on earlier versions may not have been stored, so re-apply them. See [Security fixes](#security-fixes). |
| Per-user query limits | Users who send many queries in parallel | Extra queries now wait in the queue. Above the hard limit, Liberator returns HTTP 429 with a `Retry-After` header. Retry after that delay. |
| Unentitled requests are rejected sooner | Clients that query datasets they are not entitled to | These requests now fail with HTTP 403 before they reach a query worker. |
| `symbols=[]` returns no rows on last-known-value queries | Code that passes an empty list and expects every symbol | Omit `symbols`, or pass `None`, to get every symbol. |

The client libraries and the dataset query API are otherwise unchanged.

## Alerts

Liberator now raises a notice when:

* A dataset misses its expected update schedule, or stays in an error or processing state.
* A user or the organization nears or passes a usage limit.
* A storage connection's mount fails or keeps restarting.
* A dataset webhook cannot be sent because scheduled onboarding did not complete.

Notices appear in the Liberator UI for administrators and clear when the condition recovers.

Super Admins can also deliver notices outside the UI from **Settings → Alerts**:

* **Channels.** Add email recipients or an HTTPS webhook. **Send test** confirms delivery before you rely on the channel.
* **Rules.** Choose a category or a specific event type, a minimum severity, and the channels. Turn on **Notify on resolve** to also send a message when the condition clears.
* **Delivery history.** See each attempt with its status, retry count, and last error.

Webhook requests are signed. Each request carries an `X-Liberator-Timestamp` header and an `X-Liberator-Signature` header of the form `sha256=<HMAC>`, computed over `<timestamp>.<body>` with the channel's signing secret. Failed deliveries are retried with backoff.

See [Alerts](https://knowledge.cloudquant.com/administration/alerts.md).

## Activity by user

Open a user in the System Monitoring usage view to see, for the period on screen:

* Each dataset the user queried, with the query count and rows returned
* The earliest `back_to` and latest `as_of` they asked for
* Their most recent query against each dataset
* Queries that were rejected, and why

The **Users** page now shows when each person last signed in to the UI or ran a query. You can also list users who have been inactive for a number of days you choose. This supports access reviews that remove inactive accounts.

See [System monitoring](https://knowledge.cloudquant.com/system-monitoring/overview.md#usage) and [Managing users and entitlements](https://knowledge.cloudquant.com/administration/managing-users-and-entitlements.md#last-active).

## Organization API keys

Super Admins create keys under **Settings → API Keys**. A key belongs to the organization, not to the person who created it, so it keeps working after that person leaves.

* Each key has one or more scopes: **Metrics API** for Grafana and other Prometheus clients, **Admin API (read-only)** for `GET` requests, and **Admin API (full)** for any Admin API request except managing organization API keys.
* The secret is shown once. Liberator stores only a hash of it.
* Revoking a key takes effect within seconds, with no restart.
* Creating and revoking a key are recorded in the audit log. The **API Keys** page shows when a key last called the Admin API. Metrics API requests are not tracked there.

Organization keys are separate from the personal API keys that client libraries use to query data. Personal keys still follow that user's entitlements.

Organization API keys replace the earlier bearer tokens on the Metrics API and the Admin API. Tokens issued before 2.7, from **System Monitoring → Grafana Integration** or by CloudQuant, stop working. Create a new key for each tool and update the tool with it.

See [Organization API keys](https://knowledge.cloudquant.com/administration/organization-api-keys.md) and [Grafana](https://knowledge.cloudquant.com/integrations/grafana.md).

## Query limits

Before 2.7, one user sending many parallel queries could occupy every query worker and block everyone else. Super Admins can now cap that on the **Query Limits** page in the Admin section:

* **Running limit per user.** When a user reaches it, their next queries wait in the queue and start as their earlier queries finish. Other users' queries keep running.
* **Queue depth per user.** How many queries one user can have waiting.
* **Hard limit per user.** Requests above it are rejected immediately with HTTP 429 and a `Retry-After` header.
* **Per-user overrides.** Raise or lower any limit for a specific user.

Changes take effect within about 30 seconds without a restart, and each change is written to the audit log. The defaults suit most organizations.

These limits control how many queries run **at the same time**. They are separate from [fine-grained permissions](https://knowledge.cloudquant.com/administration/fine-grained-permissions.md) such as **Max Queries**, **Max Rows**, and **Max Query Days**, which decide whether a single query is allowed.

See the **Queue** tab in [System monitoring](https://knowledge.cloudquant.com/system-monitoring/overview.md#queue) for who is running and who is waiting.

## Connections and files

* **Google BigQuery.** Connect a BigQuery table or view with a service account key, or with the cluster identity on CloudQuant-hosted Google Cloud environments. Liberator samples rows, discovers partitions, and queries the table like any other database source. See [Google BigQuery](https://knowledge.cloudquant.com/datasource-config/bigquery.md).
* **Cache storage on any file connection.** Pre-generated cache can now be written to Amazon S3, Azure Blob, Google Cloud Storage, or another file storage connection. Earlier versions supported S3 only. See [Cache pre-generation](https://knowledge.cloudquant.com/administration/cache-pre-generation.md).
* **Append files with overlapping timestamps.** When an appended file contains timestamps that are already stored, Liberator shows how many rows would be replaced. **Yes, Continue** overwrites them. See [File upload management](https://knowledge.cloudquant.com/administration/file-upload-management.md#append-a-file).

## Administration

* **About.** An info button next to the profile menu shows the Liberator version, build, and environment. **Copy version info** copies one line you can paste into a support request.
* **Site details** moved from dataset onboarding to the Admin tab. Onboarding no longer asks for them.

## Security fixes

* **Column restrictions are enforced.** A **Columns** restriction in fine-grained permissions was not saved, so users could still query every column. Liberator now stores and enforces the column list, and the dialog shows what is enforced. Review your column restrictions after upgrading.
* **Unentitled requests no longer use query workers.** Liberator checks dataset entitlement before a request enters the queue, and returns HTTP 403 when the user has no access.
* **Database update.** Liberator's internal PostgreSQL database is upgraded to 15.20, which includes the upstream security fixes since 15.3.

## Reliability fixes

* S3 connections that use an `https://s3.amazonaws.com/...` endpoint now connect. Liberator no longer reads `s3` as the region.
* `symbols=[]` (or `keys=[]`) returns no rows on last-known-value queries, matching time-range queries. See [Symbols and key fields](https://knowledge.cloudquant.com/python-guide/symbols-and-key-fields.md#empty-symbol-list).
* AI-generated reports return an error when they time out, instead of running with no response.
* A dataset no longer switches from **Ready** back to **Processing** when nobody has edited it.
* Fixed intermittent dataset load failures, stalled partition discovery, worker hangs under heavy load, and queries that failed after a dropped internal connection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.