Compare commits

...

5 Commits

Author SHA1 Message Date
jkunz 2984c41081 v1.26.2
Release / build-and-release (push) Successful in 2m30s
2026-05-20 14:32:04 +00:00
jkunz d143d73ea9 chore(release): remove duplicate pending heading 2026-05-20 14:31:56 +00:00
jkunz 9f8a6eaa76 chore(release): format pending changelog entry 2026-05-20 14:31:18 +00:00
jkunz 0af8da2c9d chore(release): document proxy reload fix 2026-05-20 14:30:31 +00:00
jkunz fa96d371d6 fix(proxy): reload routes after SmartProxy startup 2026-05-20 14:27:17 +00:00
6 changed files with 22 additions and 10 deletions
+10
View File
@@ -1,5 +1,15 @@
# Changelog
## Pending
## 2026-05-20 - 1.26.2
### Fixes
- reload SmartProxy routes after managed startup (proxy)
- reloads SmartProxy routes immediately after the admin API is ready during startup, avoiding an empty route table when Docker task state lags behind service readiness
## 2026-05-09 - 1.26.1 - fix(external-gateway)
derive gateway client identity from the dcrouter token and make the settings UI read-only
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@serve.zone/onebox",
"version": "1.26.1",
"version": "1.26.2",
"exports": "./mod.ts",
"tasks": {
"test": "deno test --allow-all test/",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@serve.zone/onebox",
"version": "1.26.1",
"version": "1.26.2",
"description": "Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers",
"main": "mod.ts",
"type": "module",
+1 -1
View File
@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/onebox',
version: '1.26.1',
version: '1.26.2',
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
}
+8 -6
View File
@@ -179,7 +179,7 @@ export class SmartProxyManager {
await this.waitForReady();
this.serviceRunning = true;
await this.reloadConfig();
await this.reloadConfig({ skipRunningCheck: true });
logger.success(`SmartProxy started (HTTP: ${this.httpPort}, HTTPS: ${this.httpsPort}, Admin: ${this.adminUrl})`);
} catch (error) {
@@ -360,11 +360,13 @@ export class SmartProxyManager {
return routeConfigs;
}
async reloadConfig(): Promise<void> {
const isRunning = await this.isRunning();
if (!isRunning) {
logger.warn('SmartProxy not running, cannot reload config');
return;
async reloadConfig(options: { skipRunningCheck?: boolean } = {}): Promise<void> {
if (!options.skipRunningCheck) {
const isRunning = await this.isRunning();
if (!isRunning) {
logger.warn('SmartProxy not running, cannot reload config');
return;
}
}
const routes = this.buildRoutes();
+1 -1
View File
@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/onebox',
version: '1.26.1',
version: '1.26.2',
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
}