BREAKING CHANGE(smartproxy): Remove legacy migration utilities and deprecated forwarding helpers; consolidate route utilities, streamline interface definitions, and normalize IPv6-mapped IPv4 addresses

This commit is contained in:
2025-05-15 08:56:27 +00:00
parent aa1194ba5d
commit ac3a888453
18 changed files with 459 additions and 458 deletions

View File

@ -1,5 +1,17 @@
# Changelog
## 2025-05-15 - 17.0.0 - BREAKING CHANGE(smartproxy)
Remove legacy migration utilities and deprecated forwarding helpers; consolidate route utilities, streamline interface definitions, and normalize IPv6-mapped IPv4 addresses
- Deleted ts/proxies/smart-proxy/utils/route-migration-utils.ts and removed its re-exports
- Removed deprecated helper functions (httpOnly, tlsTerminateToHttp, tlsTerminateToHttps, httpsPassthrough) from ts/forwarding/config/forwarding-types.ts
- Updated ts/common/port80-adapter.ts to consistently normalize IPv6-mapped IPv4 addresses in IP comparisons
- Cleaned up legacy connection handling code in route-connection-handler.ts by removing unused parameters and obsolete comments
- Consolidated route utilities by replacing imports from route-helpers.js with route-patterns.js in multiple modules
- Simplified interface definitions by removing legacy aliases and type checking functions from models/interfaces.ts
- Enhanced type safety by replacing any remaining 'any' types with specific types throughout the codebase
- Updated documentation comments and removed references to deprecated functionality
## 2025-05-14 - 16.0.4 - fix(smartproxy)
Update dynamic port mapping to support 'preserve' target port value