diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 6baabc8..4eaf233 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -20,7 +20,7 @@ package-dir = {"" = "src"} [project] name = "steamselfgifter-backend" -version = "2.0.0" +version = "2.1.0" description = "Automated SteamGifts bot backend with REST API" readme = "README.md" requires-python = ">=3.14" diff --git a/backend/src/core/config.py b/backend/src/core/config.py index 55eb76a..6127924 100644 --- a/backend/src/core/config.py +++ b/backend/src/core/config.py @@ -16,7 +16,7 @@ class Settings(BaseSettings): # Application app_name: str = "SteamSelfGifter" - version: str = "2.0.0" + version: str = "2.1.0" environment: Literal["development", "production"] = "development" debug: bool = True diff --git a/backend/tests/unit/test_api_main.py b/backend/tests/unit/test_api_main.py index 1285ee4..ec51687 100644 --- a/backend/tests/unit/test_api_main.py +++ b/backend/tests/unit/test_api_main.py @@ -10,6 +10,7 @@ from fastapi.testclient import TestClient from api.main import app +from core.config import settings from core.exceptions import ( ConfigurationError, InsufficientPointsError, @@ -31,7 +32,7 @@ def client(): def test_app_initialization(): """Test that the FastAPI app is properly initialized.""" assert app.title == "SteamSelfGifter" - assert app.version == "2.0.0" + assert app.version == settings.version assert app.docs_url == "/docs" assert app.redoc_url == "/redoc" assert app.openapi_url == "/openapi.json" @@ -44,7 +45,7 @@ def test_root_endpoint(client): data = response.json() assert data["app"] == "SteamSelfGifter" - assert data["version"] == "2.0.0" + assert data["version"] == settings.version assert data["status"] == "running" assert "environment" in data assert data["docs"] == "/docs" @@ -64,7 +65,7 @@ def test_openapi_schema_available(client): schema = response.json() assert schema["info"]["title"] == "SteamSelfGifter" - assert schema["info"]["version"] == "2.0.0" + assert schema["info"]["version"] == settings.version def test_docs_endpoint_available(client): diff --git a/frontend/package-lock.json b/frontend/package-lock.json index abba5e2..eda9ea2 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "steamselfgifter-frontend", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "steamselfgifter-frontend", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { "@tanstack/react-query": "^5.101.2", "clsx": "^2.1.1", diff --git a/frontend/package.json b/frontend/package.json index af70d8b..77b0393 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "steamselfgifter-frontend", "private": true, - "version": "2.0.0", + "version": "2.1.0", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/config/env.ts b/frontend/src/config/env.ts index 4c6689f..e948bae 100644 --- a/frontend/src/config/env.ts +++ b/frontend/src/config/env.ts @@ -11,5 +11,5 @@ export const config = { // App info appName: 'SteamSelfGifter', - version: '2.0.0', + version: '2.1.0', } as const;