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
2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion backend/src/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 4 additions & 3 deletions backend/tests/unit/test_api_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "steamselfgifter-frontend",
"private": true,
"version": "2.0.0",
"version": "2.1.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export const config = {

// App info
appName: 'SteamSelfGifter',
version: '2.0.0',
version: '2.1.0',
} as const;
Loading