Update version to 1.0rc7 - Add artist image URL to song endpoint

This commit is contained in:
Esa Kataja
2025-05-16 18:39:42 +03:00
parent 9c5edd1e44
commit 282cdec014
8 changed files with 12 additions and 7 deletions
+5
View File
@@ -1,5 +1,10 @@
# Eurovision 25 Backend Changelog
## 1.0rc7 (2025-05-16)
### Features
- Added artist image URL to song endpoint
## 1.0rc6 (2025-05-16)
### Features
+1 -1
View File
@@ -1,6 +1,6 @@
# Eurovision 25 Homereview Backend
**Version: 1.0rc6**
**Version: 1.0rc7**
## Description
+1 -1
View File
@@ -8,7 +8,7 @@ services:
build:
context: .
dockerfile: Dockerfile
image: eurovision-25-backend:1.0rc6
image: eurovision-25-backend:1.0rc7
ports:
- "8000:8000"
volumes:
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "Eurovision-25-backend"
version = "1.0rc6"
version = "1.0rc7"
description = "Backend for Eurovision 25"
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -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.0rc6",
version="1.0rc7",
openapi_url="/sec_schema.json",
docs_url="/docut",
redoc_url=None,
+1 -2
View File
@@ -36,13 +36,12 @@ def seed_db() -> None:
with get_connection() as conn:
logger.debug(f"Inserting song {idx + 1} of {len(data)}", item)
conn.execute(
"INSERT INTO Song (year, artist, country, title, lyrics_url, img_url, artist_url, flag_url, running_order, lyrics_original, lyrics_translation_fi, tags, confidence, language) VALUES (2025, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
"INSERT INTO Song (year, artist, country, title, lyrics_url, artist_url, flag_url, running_order, lyrics_original, lyrics_translation_fi, tags, confidence, language) VALUES (2025, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
(
item["artist"],
item["country"],
item["title"],
item["lyrics_url"],
item["img_url"],
item["artist_url"],
item["flag_url"],
item["running_order"],
+1
View File
@@ -5,6 +5,7 @@ from models.msg import Message
from lib.db import get_connection
from lib.logger import logger
from lib.helpers import hash_password
from datetime import datetime
router = APIRouter(prefix="/users", tags=["users"])
Generated
+1 -1
View File
@@ -131,7 +131,7 @@ wheels = [
[[package]]
name = "eurovision-25-backend"
version = "1.0rc6"
version = "1.0rc7"
source = { virtual = "." }
dependencies = [
{ name = "aiofiles" },