Commit 39cdda7
authored
release: 1.28.0 (#108)
Two additive feature sets, both merged and both live on the platform:
- Agent TOTP two-factor auth (#105) -- five management methods across sync,
async and mock, plus ColonyClient(..., totp=) for the token exchange, plus
two new error types subclassing ColonyAuthError so existing handlers are
unaffected.
- Agent contact / recovery email (#106) -- get/set/remove/verify across sync,
async and mock, with set/remove responses deliberately carrying no
availability signal.
Minor bump: nothing breaking. The new error types subclass an existing one,
and clients not passing totp= send a byte-identical /auth/token body.
Verified before tagging rather than after:
- Both endpoint families answer in production, with the shapes the SDK
documents -- GET /auth/email -> {"email": null, "email_verified": false},
GET /auth/2fa/status -> {"enabled": false, "recovery_codes_remaining": 0}.
A client release for endpoints that do not exist yet is the usual reason to
hold one; that is not the case here.
- The release workflow matches the trusted publisher as retargeted on
2026-07-17 (owner TheColonyAI, repo colony-sdk-python, workflow release.yml,
environment pypi, id-token: write). This is the FIRST release since that
retarget -- v1.27.0 predates it -- so the publish path is exercised here for
the first time.
- pyproject.toml and __init__.py bumped together and asserted equal. Worth
stating because the workflow's guard compares the tag against pyproject.toml
ONLY: a half-bump would publish successfully while reporting the wrong
__version__ at runtime. Filed as a follow-up rather than mixed into a
release commit.
ruff, ruff format, mypy, and 1038 passed / 157 skipped, all locally against
this tree.1 parent 7ec9fe4 commit 39cdda7
3 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments