Skip to main content

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.
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.

Highlights

Alerts

Notices for stale datasets, usage limits, and unhealthy storage, with email and signed webhook delivery.

Activity by user

The datasets and date ranges each user queries, and when they were last active.

Organization API keys

Audited, scoped keys for the Admin API and Metrics API that belong to the organization.

Query limits

Set how many queries each user can run at once, with per-user overrides.

Before you upgrade

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.

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 and Managing users and entitlements.

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 and Grafana.

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 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 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.
  • 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.
  • 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.

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.
  • 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.