Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.1.0] - 2026-10-05

### Added

- **Snowflake cloud discovery provider.** Inventories Snowflake Postgres instances with `SHOW POSTGRES INSTANCES` and `DESCRIBE POSTGRES INSTANCE`, one row per instance, under `cloud_results.providers.snowflake`. The discovery role needs `OPERATE` on each instance. See [Snowflake Setup](docs/providers/snowflake.md).
- **Azure cloud discovery provider.** Discovers Azure Database for PostgreSQL Flexible Servers, Azure Database for MySQL Flexible Servers, and the virtual networks and network security groups around them. See [Azure Setup](docs/providers/azure.md).
- **Snowflake cloud discovery provider.** Inventories Snowflake Postgres instances with `SHOW POSTGRES INSTANCES` and `DESCRIBE POSTGRES INSTANCE`, one row per instance, under `cloud_results.providers.snowflake`. The discovery role needs `OPERATE` on each instance. See [Snowflake Setup](docs/providers/snowflake.md).
- **PostgreSQL identity and generated columns.** Each column in `table_analysis` now records `identity_kind`, `generated_kind` and `owned_sequence`. The workload bundle's `schema.sql` now writes identity clauses.

### Changed

- `workload finalize` no longer writes a statement whose counters did not change during the capture window.

### Fixed

- **User and role analysis failed on PostgreSQL 15 and earlier.** The query read `pg_auth_members.inherit_option`, which exists only on PostgreSQL 16 and later.
- **MySQL per-database object counts were lost under `ONLY_FULL_GROUP_BY`.** The count query failed on a server with the default `sql_mode` and was recorded as an analysis gap.
- **MySQL replication reads that the server rejected were reported as empty.** A user without `REPLICATION CLIENT` now gets an analysis gap, not an empty replica and binary log result.
- **The MySQL processlist summary looked server-wide without the `PROCESS` privilege.** When `Threads_connected` is larger than the processlist, the summary now sets `processlist_truncated` and the report gives a warning.

## [2.0.1] - 2026-09-24

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Agents must follow instructions in `AGENTS.md`.

```bash
# Download and extract the release
unzip ps-discovery-2.0.1.zip
cd ps-discovery-2.0.1
unzip ps-discovery-2.1.0.zip
cd ps-discovery-2.1.0

# Run the interactive setup script
./setup.sh
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.1
2.1.0
2 changes: 1 addition & 1 deletion docs/workload-bundle.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ here would be a second source that can disagree with them.
"schema_version": 3,
"capture_id": "b01d8e74",
"generated_at": "2026-08-31T14:27:19Z",
"discovery_version": "2.0.1",
"discovery_version": "2.1.0",
"window": { "start": "...", "end": "...", "tz": "UTC" },
"intervals": [{ "start": "...", "end": "...", "calls": 146079 }],
"intervals_skipped": [],
Expand Down
2 changes: 1 addition & 1 deletion planetscale_discovery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
across PostgreSQL databases and cloud infrastructure.
"""

__version__ = "2.0.1"
__version__ = "2.1.0"
__author__ = "PlanetScale"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "planetscale-discovery-tools"
version = "2.0.1"
version = "2.1.0"
description = "Comprehensive database and cloud infrastructure discovery tools"
authors = [{name = "PlanetScale", email = "engineering@planetscale.com"}]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name="planetscale-discovery-tools",
version="2.0.1",
version="2.1.0",
description="Comprehensive database and cloud infrastructure discovery tools",
long_description=README,
long_description_content_type="text/markdown",
Expand Down
Loading