From 69c2fd01f99e6f8a8ea6ceee4e17fb06c7941580 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 14 May 2026 17:30:13 +0200 Subject: [PATCH] chore: bump version to 1.0.1 --- docs/API.md | 4 ++-- docs/CONFIGURATION.md | 2 +- package.json | 2 +- src/server/api/health.py | 4 ++-- src/server/database/init.py | 4 ++-- src/server/fastapi_app.py | 2 +- src/server/services/config_service.py | 2 +- src/server/utils/template_helpers.py | 2 +- tests/unit/test_database_init.py | 2 +- tests/unit/test_health.py | 2 +- tests/unit/test_page_controller.py | 2 +- tests/unit/test_template_helpers.py | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/API.md b/docs/API.md index 2548916..cbbe532 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1285,7 +1285,7 @@ Basic health check endpoint. { "status": "healthy", "timestamp": "2025-12-13T10:30:00.000Z", - "version": "1.0.0" + "version": "1.0.1" } ``` @@ -1303,7 +1303,7 @@ Comprehensive health check with database, filesystem, and system metrics. { "status": "healthy", "timestamp": "2025-12-13T10:30:00.000Z", - "version": "1.0.0", + "version": "1.0.1", "dependencies": { "database": { "status": "healthy", diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index ec171a1..6df784e 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -144,7 +144,7 @@ Location: `data/config.json` "master_password_hash": "$pbkdf2-sha256$...", "anime_directory": "/path/to/anime" }, - "version": "1.0.0" + "version": "1.0.1" } ``` diff --git a/package.json b/package.json index 9119988..895daf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aniworld-web", - "version": "1.0.0", + "version": "1.0.1", "description": "Aniworld Anime Download Manager - Web Frontend", "type": "module", "scripts": { diff --git a/src/server/api/health.py b/src/server/api/health.py index f50331a..d812569 100644 --- a/src/server/api/health.py +++ b/src/server/api/health.py @@ -22,7 +22,7 @@ class HealthStatus(BaseModel): status: str timestamp: str - version: str = "1.0.0" + version: str = "1.0.1" service: str = "aniworld-api" series_app_initialized: bool = False anime_directory_configured: bool = False @@ -60,7 +60,7 @@ class DetailedHealthStatus(BaseModel): status: str timestamp: str - version: str = "1.0.0" + version: str = "1.0.1" dependencies: DependencyHealth startup_time: datetime diff --git a/src/server/database/init.py b/src/server/database/init.py index 63a372c..e65c372 100644 --- a/src/server/database/init.py +++ b/src/server/database/init.py @@ -27,7 +27,7 @@ logger = logging.getLogger(__name__) # Schema Version Constants # ============================================================================= -CURRENT_SCHEMA_VERSION = "1.0.0" +CURRENT_SCHEMA_VERSION = "1.0.1" SCHEMA_VERSION_TABLE = "schema_version" # Expected tables in the current schema @@ -319,7 +319,7 @@ async def get_schema_version(engine: Optional[AsyncEngine] = None) -> str: engine: Optional database engine (uses default if not provided) Returns: - Schema version string (e.g., "1.0.0", "empty", "unknown") + Schema version string (e.g., "1.0.1", "empty", "unknown") """ if engine is None: engine = get_engine() diff --git a/src/server/fastapi_app.py b/src/server/fastapi_app.py index c4887b8..0fde2c5 100644 --- a/src/server/fastapi_app.py +++ b/src/server/fastapi_app.py @@ -480,7 +480,7 @@ async def lifespan(_application: FastAPI): app = FastAPI( title="Aniworld Download Manager", description="Modern web interface for Aniworld anime download management", - version="1.0.0", + version="1.0.1", docs_url="/api/docs", redoc_url="/api/redoc", lifespan=lifespan diff --git a/src/server/services/config_service.py b/src/server/services/config_service.py index 0f0e5eb..405ec44 100644 --- a/src/server/services/config_service.py +++ b/src/server/services/config_service.py @@ -44,7 +44,7 @@ class ConfigService: """ # Current configuration schema version - CONFIG_VERSION = "1.0.0" + CONFIG_VERSION = "1.0.1" def __init__( self, diff --git a/src/server/utils/template_helpers.py b/src/server/utils/template_helpers.py index 8d0aa78..561cc03 100644 --- a/src/server/utils/template_helpers.py +++ b/src/server/utils/template_helpers.py @@ -48,7 +48,7 @@ def get_base_context( "request": request, "title": title, "app_name": "Aniworld Download Manager", - "version": "1.0.0", + "version": "1.0.1", "static_v": STATIC_VERSION, } diff --git a/tests/unit/test_database_init.py b/tests/unit/test_database_init.py index 97dc197..6a7a3cc 100644 --- a/tests/unit/test_database_init.py +++ b/tests/unit/test_database_init.py @@ -472,7 +472,7 @@ async def test_validate_schema_with_inspection_error(): def test_schema_constants(): """Test that schema constants are properly defined.""" - assert CURRENT_SCHEMA_VERSION == "1.0.0" + assert CURRENT_SCHEMA_VERSION == "1.0.1" assert len(EXPECTED_TABLES) == 5 assert "anime_series" in EXPECTED_TABLES assert "episodes" in EXPECTED_TABLES diff --git a/tests/unit/test_health.py b/tests/unit/test_health.py index 604bf9c..4d90a50 100644 --- a/tests/unit/test_health.py +++ b/tests/unit/test_health.py @@ -25,7 +25,7 @@ async def test_basic_health_check(): assert isinstance(result, HealthStatus) assert result.status == "healthy" - assert result.version == "1.0.0" + assert result.version == "1.0.1" assert result.service == "aniworld-api" assert result.timestamp is not None assert result.series_app_initialized is False diff --git a/tests/unit/test_page_controller.py b/tests/unit/test_page_controller.py index 7870402..3456615 100644 --- a/tests/unit/test_page_controller.py +++ b/tests/unit/test_page_controller.py @@ -187,7 +187,7 @@ class TestTemplateHelpers: assert context["request"] == mock_request assert context["title"] == "Test Title" assert context["app_name"] == "Aniworld Download Manager" - assert context["version"] == "1.0.0" + assert context["version"] == "1.0.1" def test_get_base_context_default_title(self): """Test getting base context with default title.""" diff --git a/tests/unit/test_template_helpers.py b/tests/unit/test_template_helpers.py index 721afff..49dc176 100644 --- a/tests/unit/test_template_helpers.py +++ b/tests/unit/test_template_helpers.py @@ -30,7 +30,7 @@ class TestTemplateHelpers: assert context["request"] == request assert context["title"] == "Test Title" assert context["app_name"] == "Aniworld Download Manager" - assert context["version"] == "1.0.0" + assert context["version"] == "1.0.1" def test_get_base_context_default_title(self): """Test that default title is used."""