Bake build number and changelog
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
BUILD_NUMBER = "2901262147"
|
BUILD_NUMBER = "2901262202"
|
||||||
|
CHANGELOG = '2026-01-29 21:49 - Hardcode build number in backend 2026-01-29 21:03 - release: 2901262102 2026-01-29 20:45 - release: 2901262044 2026-01-29 20:38 - release: 2901262036 2026-01-27 15:40 - Hydrate missing artwork from Jellyseerr (build 271261539) 2026-01-27 15:26 - Fallback to TMDB when artwork cache fails (build 271261524) 2026-01-27 13:36 - Add service test buttons (build 271261335) 2026-01-27 13:24 - Bump build number (process 2) 271261322 2026-01-27 12:39 - Add cache load spinner (build 271261238) 2026-01-27 12:30 - Fix snapshot title fallback (build 271261228) 2026-01-27 12:20 - Fix request titles in snapshots (build 271261219) 2026-01-27 12:04 - Bump build number to 271261202 2026-01-27 12:00 - Clarify request sync settings (build 271261159) 2026-01-27 11:51 - Fix backend cache stats import (build 271261149) 2026-01-27 11:46 - Improve cache stats performance (build 271261145) 2026-01-27 11:27 - Add cache control artwork stats'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ from typing import Optional
|
|||||||
from pydantic import AliasChoices, Field
|
from pydantic import AliasChoices, Field
|
||||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||||
|
|
||||||
from .build_info import BUILD_NUMBER
|
from .build_info import BUILD_NUMBER, CHANGELOG
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
model_config = SettingsConfigDict(env_prefix="")
|
model_config = SettingsConfigDict(env_prefix="")
|
||||||
@@ -49,9 +49,7 @@ class Settings(BaseSettings):
|
|||||||
site_banner_tone: str = Field(
|
site_banner_tone: str = Field(
|
||||||
default="info", validation_alias=AliasChoices("SITE_BANNER_TONE")
|
default="info", validation_alias=AliasChoices("SITE_BANNER_TONE")
|
||||||
)
|
)
|
||||||
site_changelog: Optional[str] = Field(
|
site_changelog: Optional[str] = Field(default=CHANGELOG)
|
||||||
default=None, validation_alias=AliasChoices("SITE_CHANGELOG")
|
|
||||||
)
|
|
||||||
|
|
||||||
jellyseerr_base_url: Optional[str] = Field(
|
jellyseerr_base_url: Optional[str] = Field(
|
||||||
default=None, validation_alias=AliasChoices("JELLYSEERR_URL", "JELLYSEERR_BASE_URL")
|
default=None, validation_alias=AliasChoices("JELLYSEERR_URL", "JELLYSEERR_BASE_URL")
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ SETTING_KEYS: List[str] = [
|
|||||||
"site_banner_enabled",
|
"site_banner_enabled",
|
||||||
"site_banner_message",
|
"site_banner_message",
|
||||||
"site_banner_tone",
|
"site_banner_tone",
|
||||||
"site_changelog",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
def _normalize_username(value: str) -> str:
|
def _normalize_username(value: str) -> str:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ _BOOL_FIELDS = {
|
|||||||
"jellyfin_sync_to_arr",
|
"jellyfin_sync_to_arr",
|
||||||
"site_banner_enabled",
|
"site_banner_enabled",
|
||||||
}
|
}
|
||||||
_SKIP_OVERRIDE_FIELDS = {"site_build_number"}
|
_SKIP_OVERRIDE_FIELDS = {"site_build_number", "site_changelog"}
|
||||||
|
|
||||||
|
|
||||||
def get_runtime_settings():
|
def get_runtime_settings():
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "magent-frontend",
|
"name": "magent-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2901262147",
|
"version": "2901262202",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
|||||||
Reference in New Issue
Block a user