fix(classes.base): Use type-only import for DockerHost in classes.base to avoid runtime side-effects
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-11-24 - 3.0.1 - fix(classes.base)
|
||||
Use type-only import for DockerHost in classes.base to avoid runtime side-effects
|
||||
|
||||
- Changed the import in ts/classes.base.ts to a type-only import: import type { DockerHost } from './classes.host.js';
|
||||
- Prevents a runtime import of classes.host when only the type is needed, reducing risk of circular dependencies and unintended side-effects during module initialization.
|
||||
- No behavior changes to the public API — TypeScript-only change; intended to improve bundling and runtime stability.
|
||||
|
||||
## 2025-11-24 - 3.0.0 - BREAKING CHANGE(DockerHost)
|
||||
Refactor public API to DockerHost facade; introduce DockerResource base; make resource static methods internal; support flexible descriptors and stream compatibility
|
||||
|
||||
|
||||
Reference in New Issue
Block a user