Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2984c41081 | |||
| d143d73ea9 | |||
| 9f8a6eaa76 | |||
| 0af8da2c9d | |||
| fa96d371d6 |
@@ -1,5 +1,15 @@
|
|||||||
# Changelog
|
# 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)
|
## 2026-05-09 - 1.26.1 - fix(external-gateway)
|
||||||
derive gateway client identity from the dcrouter token and make the settings UI read-only
|
derive gateway client identity from the dcrouter token and make the settings UI read-only
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/onebox",
|
"name": "@serve.zone/onebox",
|
||||||
"version": "1.26.1",
|
"version": "1.26.2",
|
||||||
"exports": "./mod.ts",
|
"exports": "./mod.ts",
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"test": "deno test --allow-all test/",
|
"test": "deno test --allow-all test/",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/onebox",
|
"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",
|
"description": "Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers",
|
||||||
"main": "mod.ts",
|
"main": "mod.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/onebox',
|
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'
|
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ export class SmartProxyManager {
|
|||||||
|
|
||||||
await this.waitForReady();
|
await this.waitForReady();
|
||||||
this.serviceRunning = true;
|
this.serviceRunning = true;
|
||||||
await this.reloadConfig();
|
await this.reloadConfig({ skipRunningCheck: true });
|
||||||
|
|
||||||
logger.success(`SmartProxy started (HTTP: ${this.httpPort}, HTTPS: ${this.httpsPort}, Admin: ${this.adminUrl})`);
|
logger.success(`SmartProxy started (HTTP: ${this.httpPort}, HTTPS: ${this.httpsPort}, Admin: ${this.adminUrl})`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -360,12 +360,14 @@ export class SmartProxyManager {
|
|||||||
return routeConfigs;
|
return routeConfigs;
|
||||||
}
|
}
|
||||||
|
|
||||||
async reloadConfig(): Promise<void> {
|
async reloadConfig(options: { skipRunningCheck?: boolean } = {}): Promise<void> {
|
||||||
|
if (!options.skipRunningCheck) {
|
||||||
const isRunning = await this.isRunning();
|
const isRunning = await this.isRunning();
|
||||||
if (!isRunning) {
|
if (!isRunning) {
|
||||||
logger.warn('SmartProxy not running, cannot reload config');
|
logger.warn('SmartProxy not running, cannot reload config');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const routes = this.buildRoutes();
|
const routes = this.buildRoutes();
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/onebox',
|
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'
|
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user