Release 1.0.0

The version lived in three places and only one was enforced: pyproject (which
the Registry publishes and the release workflow checks the tag against), the
User-Agent this client sends, and __init__'s fallback for when pyproject cannot
be read. The other two could drift silently, and API telemetry would then
attribute traffic to a version nobody is running. Bumped together, with a test
that fails when they disagree.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Behzad
2026-07-27 14:02:28 +02:00
co-authored by Claude Sonnet 5
parent fa4e214eb1
commit 37db16fa1b
5 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ SITE_URL = "https://styleref.io"
# Identifies this surface in StyleRef's API telemetry (recordApiCall reads it).
CLIENT_TAG = "comfyui"
USER_AGENT = "styleref-comfyui/0.1.0 (+https://styleref.io)"
USER_AGENT = "styleref-comfyui/1.0.0 (+https://styleref.io)"
DEFAULT_TIMEOUT_S = 30