Update version to 1.0rc7 - Add artist image URL to song endpoint
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# Eurovision 25 Backend Changelog
|
# Eurovision 25 Backend Changelog
|
||||||
|
|
||||||
|
## 1.0rc7 (2025-05-16)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Added artist image URL to song endpoint
|
||||||
|
|
||||||
## 1.0rc6 (2025-05-16)
|
## 1.0rc6 (2025-05-16)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Eurovision 25 Homereview Backend
|
# Eurovision 25 Homereview Backend
|
||||||
|
|
||||||
**Version: 1.0rc6**
|
**Version: 1.0rc7**
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: eurovision-25-backend:1.0rc6
|
image: eurovision-25-backend:1.0rc7
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "Eurovision-25-backend"
|
name = "Eurovision-25-backend"
|
||||||
version = "1.0rc6"
|
version = "1.0rc7"
|
||||||
description = "Backend for Eurovision 25"
|
description = "Backend for Eurovision 25"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ from lib.db import init_db
|
|||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
title="Eurovision 25 Homereview API",
|
title="Eurovision 25 Homereview API",
|
||||||
description="Backend API for Eurovision 25 Homereview application",
|
description="Backend API for Eurovision 25 Homereview application",
|
||||||
version="1.0rc6",
|
version="1.0rc7",
|
||||||
openapi_url="/sec_schema.json",
|
openapi_url="/sec_schema.json",
|
||||||
docs_url="/docut",
|
docs_url="/docut",
|
||||||
redoc_url=None,
|
redoc_url=None,
|
||||||
|
|||||||
+1
-2
@@ -36,13 +36,12 @@ def seed_db() -> None:
|
|||||||
with get_connection() as conn:
|
with get_connection() as conn:
|
||||||
logger.debug(f"Inserting song {idx + 1} of {len(data)}", item)
|
logger.debug(f"Inserting song {idx + 1} of {len(data)}", item)
|
||||||
conn.execute(
|
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["artist"],
|
||||||
item["country"],
|
item["country"],
|
||||||
item["title"],
|
item["title"],
|
||||||
item["lyrics_url"],
|
item["lyrics_url"],
|
||||||
item["img_url"],
|
|
||||||
item["artist_url"],
|
item["artist_url"],
|
||||||
item["flag_url"],
|
item["flag_url"],
|
||||||
item["running_order"],
|
item["running_order"],
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ from models.msg import Message
|
|||||||
from lib.db import get_connection
|
from lib.db import get_connection
|
||||||
from lib.logger import logger
|
from lib.logger import logger
|
||||||
from lib.helpers import hash_password
|
from lib.helpers import hash_password
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
router = APIRouter(prefix="/users", tags=["users"])
|
router = APIRouter(prefix="/users", tags=["users"])
|
||||||
|
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eurovision-25-backend"
|
name = "eurovision-25-backend"
|
||||||
version = "1.0rc6"
|
version = "1.0rc7"
|
||||||
source = { virtual = "." }
|
source = { virtual = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiofiles" },
|
{ name = "aiofiles" },
|
||||||
|
|||||||
Reference in New Issue
Block a user