mirror of
https://github.com/MinaSaad1/pbi-cli
synced 2026-04-21 13:37:19 +00:00
The MCP server assigns connection names like "PBIDesktop-demo-57947" but we were saving and reusing "localhost-57947", causing "connection not found" errors on subsequent commands. Now _auto_reconnect extracts the server-returned connectionName from the Connect response.
2.7 KiB
2.7 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.0.6] - 2026-03-26
Fixed
- Use server-assigned connection name for subsequent commands (fixes "connection not found" mismatch)
[1.0.5] - 2026-03-26
Fixed
- Auto-reconnect to saved connection on each command (each invocation starts a fresh MCP server)
[1.0.4] - 2026-03-26
Fixed
- Commands now auto-resolve last-used connection from store (no --connection flag needed)
[1.0.3] - 2026-03-26
Added
- Support Microsoft Store version of Power BI Desktop for port auto-discovery
Fixed
- UTF-16 LE encoding when reading Power BI port file
- Updated all 5 skills, error messages, and docs to reflect new install flow
[1.0.2] - 2026-03-26
Fixed
- Separate README for GitHub (Mermaid diagrams) and PyPI (text art)
[1.0.1] - 2026-03-26
Fixed
- README SVG header and diagrams now render correctly on PyPI
[1.0.0] - 2026-03-26
Added
- Auto-discovery of running Power BI Desktop instances (
pbi connectwithout-d) - Auto-setup on first connect: downloads MCP binary and installs Claude Code skills automatically
- 5 Claude Code skills: Modeling, DAX, Deployment, Security, Documentation
- Skill installer (
pbi skills install/list/uninstall) - Interactive REPL mode (
pbi repl) with persistent MCP connection, tab completion, command history - Error hierarchy (
PbiCliError,McpToolError,BinaryNotFoundError,ConnectionRequiredError) - 22 command groups covering all Power BI MCP tool operations
- Binary manager: download Power BI MCP binary from VS Code Marketplace
- Connection management with named connections and persistence
- DAX query execution, validation, and cache clearing
- Full CRUD for measures, tables, columns, relationships
- Model metadata, statistics, and refresh operations
- Database import/export (TMDL and TMSL formats)
- Security role management (row-level security)
- Calculation groups, partitions, perspectives, hierarchies
- Named expressions, calendar tables, diagnostic traces
- Transaction management (begin/commit/rollback)
- Advanced operations: cultures, translations, functions, query groups
- Dual output mode:
--jsonfor agents, Rich tables for humans - Named connection support with
--connection/-cflag - Binary resolution chain: env var, managed binary, VS Code extension fallback
- Cross-platform support: Windows, macOS, Linux (x64 and ARM64)
- CI/CD with GitHub Actions (lint, typecheck, test matrix)
- PyPI publishing via trusted OIDC publisher