v1.4.0
·
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, andinvestigate_database, each enforcing read-only access at the tool boundary- New
QuerySafetyServicevalidates queries against an allow list (SELECT,SHOW,EXPLAIN,WITHfor SQL;SELECT,SHOWfor 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
TelemetryServicelogs tool-boundary events (request id, query id, duration, row count, truncation, success/error code) to a local telemetry file
- New
- Enterprise/Core Retention Policy Support: Added database retention policy configuration for Core/Enterprise instances via
update_databasetool- New method
updateDatabaseCoreEnterprise()inDatabaseManagementServicefor PUT/api/v3/configure/database - Support for
retentionPeriodparameter on Core/Enterprise (sent asretention_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
- New method
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_databasefrom "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