Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# Changelog

## [Unreleased]
## [0.15.5] — 2026-06-04

### Changed
- **Swagger security schemes** (`app/main.py`): custom `openapi()` function injects `securitySchemes`. `AdminToken` (X-Admin-Token header) on `admin`-tagged routes; `BearerToken` (Authorization: Bearer) on `hidden`-tagged routes. Lock icons now visible in Swagger UI on all protected endpoints.
### Added
- **`GET /specs?unclaimed=true`** (`app/routes/specs.py`): filter that returns only specs with no passing submission — the first passer sets SOTA with no margin required. `?unclaimed=false` returns only specs that already have a SOTA. Agents can now find open competition targets in one call: `GET /specs?active=true&unclaimed=true`. Single DB query (`_claimed_spec_ids`) composes with existing `?active`, `?tier`, `?round_id`, and `?material` filters.

### Tests
- **3 new tests** (`tests/test_api.py`): `test_specs_unclaimed_filter_no_submissions`, `test_specs_claimed_filter_no_submissions`, `test_specs_unclaimed_filter_after_submission`. Test count: 135 → 138.

---

Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def lifespan(app: FastAPI):
app = FastAPI(
title="Forge API",
description="Competitive parametric CAD benchmark — specs, submissions, leaderboard, SOTA.",
version="0.15.4",
version="0.15.5",
lifespan=lifespan,
)

Expand Down
Loading