feat(acme): Improve certificate management by adding global ACME configuration support and allowing route-level overrides. Enhanced error messages help identify missing ACME email and misconfigurations (e.g. wildcard domains). Documentation has been updated and new tests added to verify SmartCertManager behavior, ensuring a clearer migration path from legacy implementations.

This commit is contained in:
2025-05-18 18:29:59 +00:00
parent ac4645dff7
commit 68738137a0
14 changed files with 706 additions and 1472 deletions

View File

@ -1,5 +1,16 @@
# Changelog
## 2025-05-18 - 19.2.0 - feat(acme)
Improve certificate management by adding global ACME configuration support and allowing route-level overrides. Enhanced error messages help identify missing ACME email and misconfigurations (e.g. wildcard domains). Documentation has been updated and new tests added to verify SmartCertManager behavior, ensuring a clearer migration path from legacy implementations.
- Added global ACME defaults (email, useProduction, port, renewThresholdDays, etc.) in SmartProxy options
- Route-level ACME configuration now overrides global defaults
- Improved validation and error messages when ACME email is missing or configuration is misconfigured
- Updated SmartCertManager to consume global ACME settings and set proper renewal thresholds
- Removed legacy certificate modules and port80-specific code
- Documentation updated in readme.md, readme.hints.md, certificate-management.md, and readme.plan.md
- New tests added in test.acme-configuration.node.ts to verify ACME configuration and migration warnings
## 2025-05-18 - 19.1.0 - feat(RouteManager)
Add getAllRoutes API to RouteManager and update test environment to improve timeouts, logging, and cleanup; remove deprecated test files and adjust devDependencies accordingly