From 3c02776086fdedaa1b24d992a2befa65b44e8180 Mon Sep 17 00:00:00 2001 From: Petr Date: Wed, 22 Jul 2026 18:35:20 +0200 Subject: [PATCH] chore(release): 0.76.1 -- serve banner ASCII fallback on non-UTF-8 Windows consoles Patch release shipping the #526 fix (already merged to main): `kbagent serve --ui` no longer crashes on startup on Windows consoles with a non-UTF-8 codepage (cp1250 on Czech/Polish/Hungarian Windows). The startup banner's box-drawing glyphs now degrade to ASCII when the console can't encode them. - pyproject.toml 0.76.0 -> 0.76.1 - changelog entry for 0.76.1 - version-sync -> plugin.json, marketplace.json, uv.lock --- .claude-plugin/marketplace.json | 2 +- plugins/kbagent/.claude-plugin/plugin.json | 2 +- pyproject.toml | 2 +- src/keboola_agent_cli/changelog.py | 11 +++++++++++ uv.lock | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 75b6af86..cd1821a8 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "kbagent", - "version": "0.76.0", + "version": "0.76.1", "source": "./plugins/kbagent", "description": "AI-friendly interface to Keboola Connection projects — explore configs, jobs, lineage, call MCP tools, manage dev branches, and debug SQL in workspaces", "category": "development" diff --git a/plugins/kbagent/.claude-plugin/plugin.json b/plugins/kbagent/.claude-plugin/plugin.json index c380db5f..c0290217 100644 --- a/plugins/kbagent/.claude-plugin/plugin.json +++ b/plugins/kbagent/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "kbagent", - "version": "0.76.0", + "version": "0.76.1", "description": "AI-friendly interface to Keboola Connection projects — explore configs, jobs, lineage, call MCP tools, manage dev branches, and debug SQL in workspaces", "author": { "name": "Keboola", diff --git a/pyproject.toml b/pyproject.toml index 0cb5d5ac..54607533 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "keboola-cli" -version = "0.76.0" +version = "0.76.1" description = "AI-friendly CLI for managing Keboola projects" readme = "README.md" requires-python = ">=3.12" diff --git a/src/keboola_agent_cli/changelog.py b/src/keboola_agent_cli/changelog.py index f6631310..5be022f5 100644 --- a/src/keboola_agent_cli/changelog.py +++ b/src/keboola_agent_cli/changelog.py @@ -24,6 +24,17 @@ # Ordered newest-first. Each value is a list of brief one-line descriptions. CHANGELOG: dict[str, list[str]] = { + "0.76.1": [ + "Fix (#522, #526): `kbagent serve --ui` no longer crashes on startup on Windows " + "consoles with a non-UTF-8 codepage (cp1250 on Czech/Polish/Hungarian Windows). The " + "startup banner's box-drawing glyphs (`├─` / `└─`) raised `UnicodeEncodeError` from " + "`sys.stdout.write` before uvicorn bound the port, so the server never started. They " + "now degrade to ASCII (`|-` / `` `- ``) when the console can't encode them -- the same " + "UTF-8/ASCII fallback `install.sh` already uses -- with a belt-and-braces `try/except` " + "so a cosmetic banner can never abort startup. Modern UTF-8 terminals are unchanged. " + "The `set PYTHONUTF8=1` workaround is no longer needed. Thanks to @papousek-radan for " + "the detailed report.", + ], "0.76.0": [ "Change (#520): the ~3,960-LOC `client.py` is split into a `client/` package by " "endpoint family (storage tables/files, configs, queue, tokens, branches, stream, " diff --git a/uv.lock b/uv.lock index 6441b62f..6f9daeaf 100644 --- a/uv.lock +++ b/uv.lock @@ -590,7 +590,7 @@ wheels = [ [[package]] name = "keboola-cli" -version = "0.76.0" +version = "0.76.1" source = { editable = "." } dependencies = [ { name = "croniter" },