Compare commits
2
Commits
v1.0rc8
...
8e0cd411df
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e0cd411df | ||
|
|
bd3d592bdf |
@@ -1,5 +1,14 @@
|
||||
# Eurovision 25 Backend Changelog
|
||||
|
||||
## 1.0 (2025-05-18)
|
||||
|
||||
This marks the first stable release of the Eurovision 25 Homereview Backend, moving out of release candidates.
|
||||
|
||||
### Fixes
|
||||
- Fix results not showing
|
||||
|
||||
|
||||
|
||||
## 1.0rc8 (2025-05-17)
|
||||
|
||||
### Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Eurovision 25 Homereview Backend
|
||||
|
||||
**Version: 1.0rc8**
|
||||
**Version: 1.0**
|
||||
|
||||
## Description
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: eurovision-25-backend:1.0rc8
|
||||
image: eurovision-25-backend:1.0
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "Eurovision-25-backend"
|
||||
version = "1.0rc8"
|
||||
version = "1.0"
|
||||
description = "Backend for Eurovision 25"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ from lib.db import init_db
|
||||
app = FastAPI(
|
||||
title="Eurovision 25 Homereview API",
|
||||
description="Backend API for Eurovision 25 Homereview application",
|
||||
version="1.0rc8",
|
||||
version="1.0",
|
||||
openapi_url="/sec_schema.json",
|
||||
docs_url="/docut",
|
||||
redoc_url=None,
|
||||
|
||||
@@ -258,7 +258,7 @@ INSERT INTO CountryCodes (code, name_en, name_fi, name_sv) VALUES ('GBR', 'Unite
|
||||
|
||||
|
||||
-- TODO: Clean this next year. Its now here just to get the show running
|
||||
-- INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
|
||||
INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
|
||||
|
||||
-- =============================================================================
|
||||
-- DEBUG DATA
|
||||
|
||||
@@ -103,7 +103,7 @@ async def list_results(result_type: ResultType):
|
||||
)
|
||||
|
||||
|
||||
@router.get("/global", response_model=list[Result])
|
||||
@router.get("/", response_model=list[Result])
|
||||
async def list_global_results():
|
||||
with get_connection() as conn:
|
||||
df = conn.execute("SELECT * FROM ReviewSummaryGlobal").fetchdf()
|
||||
|
||||
Reference in New Issue
Block a user