fix(hotfix): v3.13.1 — fix ImportError in api_list_sites (My Sites broken)
Some checks failed
CI / Test (Python 3.11) (push) Has been cancelled
CI / Test (Python 3.12) (push) Has been cancelled
CI / Lint & Format (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
Release / Test before release (push) Has been cancelled
Release / Publish to PyPI (push) Has been cancelled
Release / Publish to Docker Hub (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled

routes.py still imported MAX_SITES_PER_USER from core.site_api which was
removed in v3.13.0. This caused 500 errors on /api/sites, making My Sites
appear empty for all users. Fixed to use get_cached_max_sites().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 01:09:51 +02:00
parent 331d756851
commit ec6c006235
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "mcphub-server"
version = "3.13.0"
version = "3.13.1"
description = "AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)"
authors = [
{name = "MCP Hub", email = "contact@mcphub.dev"}