diff --git a/changelog.md b/changelog.md index 5ddfb4b..02f399c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-27 - 11.12.2 - fix(dcrouter) +guard auto certificate reprovisioning against unnamed routes + +- Only re-triggers certificate provisioning for auto-cert routes when a route name is present. +- Prevents reprovision attempts from running with an undefined route name and reduces warning noise. + ## 2026-03-27 - 11.12.1 - fix(dcrouter) retry auto certificate provisioning after SmartAcme becomes ready diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 1c343b5..079be58 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/dcrouter', - version: '11.12.1', + version: '11.12.2', description: 'A multifaceted routing service handling mail and SMS delivery functions.' } diff --git a/ts/classes.dcrouter.ts b/ts/classes.dcrouter.ts index 1e8c755..e7b6d7c 100644 --- a/ts/classes.dcrouter.ts +++ b/ts/classes.dcrouter.ts @@ -410,7 +410,7 @@ export class DcRouter { const routes = this.smartProxy.routeManager.getRoutes(); for (const route of routes) { const tls = (route as any).action?.tls; - if (tls && tls.certificate === 'auto') { + if (tls && tls.certificate === 'auto' && route.name) { this.smartProxy.provisionCertificate(route.name).catch((err: any) => { logger.log('warn', `Re-provision for route '${route.name}' failed: ${err?.message || err}`); }); diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 1c343b5..079be58 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/dcrouter', - version: '11.12.1', + version: '11.12.2', description: 'A multifaceted routing service handling mail and SMS delivery functions.' }