Skip to content

Commit 9171e01

Browse files
author
Josh Bendson
committed
chore: Add v8.5.3 release notes to CHANGELOG
Documents changes since v8.5.2: - Hybrid authentication for web UI endpoints (PR #730) - CSRF token handling fixes (PR #729) - Callback-based delegation job completion (Story #720) - Server stability improvements (Epic #733) This commit prepares for creating the v8.5.3 git tag, which will enable pipx installation at this version.
1 parent f77d097 commit 9171e01

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,68 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [8.5.3] - 2026-01-19
9+
10+
### Fixed
11+
12+
#### Hybrid Authentication for Web UI Endpoints
13+
14+
**Issue**: The golden repo index management endpoint (`/api/admin/golden-repos/{alias}/indexes`) only supported token-based authentication (JWT/API keys). Web UI uses session-based authentication (cookies + CSRF tokens), causing "Missing authentication credentials" errors when attempting to add indexes via the web interface.
15+
16+
**Root Cause**: Authentication dependency checked for Bearer tokens only, not session cookies.
17+
18+
**Solution**: Implemented hybrid authentication that tries both methods:
19+
1. Session-based auth first (for web UI users)
20+
2. Token-based auth as fallback (for API clients)
21+
22+
**Changes**:
23+
- Added `get_current_admin_user_hybrid()` and `get_current_user_hybrid()` to dependencies.py
24+
- Fixed session attribute check (`session.role` instead of `session.is_admin`)
25+
- Fixed session cookie name (use `SESSION_COOKIE_NAME` constant)
26+
- Applied hybrid auth to golden repo index endpoint and job status endpoint
27+
- Added comprehensive Playwright-based testing
28+
29+
**Impact**: Web UI can now successfully call admin endpoints using session authentication while maintaining full API client compatibility.
30+
31+
**Related Commits**: 8a46162, e6fc9f6, 0b33e36, 94fe373, d38332c, 11bbff9
32+
33+
#### CSRF Token Handling in HTMX Partials
34+
35+
**Issue**: Auto-discovery HTMX partial responses weren't properly passing CSRF tokens, causing validation failures.
36+
37+
**Solution**:
38+
- Fixed CSRF token extraction from cookies in detail endpoints
39+
- Set CSRF cookie in partial response builders
40+
- Pass CSRF token to auto-discovery HTMX partials
41+
42+
**Related Commits**: e354533, 2fd98c6, 202f912
43+
44+
### Added
45+
46+
#### Callback-Based Delegation Job Completion
47+
48+
**Feature**: Delegation functions can now use callback URLs for asynchronous job completion instead of polling.
49+
50+
**Implementation**:
51+
- Poll handler extracts results from conversation API
52+
- Enhanced delegation job tracking
53+
- Comprehensive delegation functions documentation
54+
55+
**Related Commits**: ccaed58, 92a94b5
56+
57+
### Changed
58+
59+
#### Server Stability and Technical Debt Cleanup
60+
61+
**Epic #733**: General server stability improvements and technical debt reduction.
62+
63+
**Improvements**:
64+
- Fixed missing server config module (was excluded by gitignore)
65+
- Fixed missing mocks in temporal indexer tests
66+
- Linting and formatting fixes
67+
68+
**Related Commits**: 642c182, a81e0b1, de5eb22, 711f501
69+
870
## [8.4.46] - 2025-12-28
971

1072
### Enhanced

0 commit comments

Comments
 (0)