diff --git a/CHANGELOG.md b/CHANGELOG.md index b8bc0c5..676b20a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.11.0] - 2026-03-09 + +### Added + +- Domain name caching: retrieved domain is stored on disk and reused for 24h to reduce API calls from watchdog +- Cache is force-refreshed when opening container status view, editing settings, or when watchdog detects domain failure +- Empty or failed API responses clear the cache so next call always retries immediately +- Debug logging for domain cache hits/misses (active when debug logging is enabled) +- Watchdog startup delay based on hostname hash (0–299s offset) to spread load across multiple instances + ## [1.10.8] - 2026-01-06 ### Fixed diff --git a/package.json b/package.json index 1fb8ddb..e21289e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dlvoy/ns-installer-mikrus", - "version": "1.10.8", + "version": "1.11.0", "description": "Nightscout installer for mikr.us VPS", "main": "index.js", "scripts": { diff --git a/src/lib.sh b/src/lib.sh index 28c350c..7eee952 100644 --- a/src/lib.sh +++ b/src/lib.sh @@ -41,8 +41,8 @@ DISK_LOW_MAIL=5184000 # == 60 days in seconds DISK_CRITICAL_WARNING=104857600 # == 100 MiB DISK_CRITICAL_MAIL=604800 # == 7 days in seconds DOCKER_DOWN_MAIL=604800 # == 7 days in seconds -SCRIPT_VERSION="1.10.8" #auto-update -SCRIPT_BUILD_TIME="2026.01.06" #auto-update +SCRIPT_VERSION="1.11.0" #auto-update +SCRIPT_BUILD_TIME="2026.03.09" #auto-update FORCE_DEBUG_LOG="" NONINTERACTIVE_MODE="false" EXECUTED="true"