Skip to content

v1.4.0

Choose a tag to compare

@jstirnaman jstirnaman released this 30 Jul 16:01
· 16 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Read-only query tools (Phase 1): query_sql, query_influxql, list_tables, describe_table, and investigate_database, each enforcing read-only access at the tool boundary
    • New QuerySafetyService validates queries against an allow list (SELECT, SHOW, EXPLAIN, WITH for SQL; SELECT, SHOW for InfluxQL) and rejects write/DDL statements before they reach InfluxDB
    • Row limit enforcement: default 1000 rows, hard max 5000, applied consistently across query paths including outer-query limits on wrapped queries
    • Query routing options forwarded through to the underlying query execution (e.g. per-request timeout, query parameters)
    • New TelemetryService logs tool-boundary events (request id, query id, duration, row count, truncation, success/error code) to a local telemetry file
  • Enterprise/Core Retention Policy Support: Added database retention policy configuration for Core/Enterprise instances via update_database tool
    • New method updateDatabaseCoreEnterprise() in DatabaseManagementService for PUT /api/v3/configure/database
    • Support for retentionPeriod parameter on Core/Enterprise (sent as retention_period, a humantime duration string such as "60d")
    • Warning when unsupported parameters (maxTables, maxColumnsPerTable) are provided for Core/Enterprise
    • Enhanced tool description to indicate Core/Enterprise support for retention configuration

Fixed

  • Query routing options (timeout, parameters) are now forwarded correctly instead of being dropped
  • Outer query limits are now enforced on wrapped/nested queries, not just top-level queries

Enhanced

  • Tool Availability: Updated update_database from "Cloud Dedicated only" to "All versions"
    • Cloud Dedicated: supports maxTables, maxColumnsPerTable, retentionPeriod
    • Core/Enterprise: supports retentionPeriod only
  • Documentation: Added retention policy examples for Enterprise and common retention period reference table

Full Changelog: v1.3.0...v1.4.0