Compare commits

...

2 Commits

4 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -1,6 +1,6 @@
{
"name": "@apiclient.xyz/docker",
"version": "3.0.0",
"version": "3.0.1",
"description": "Provides easy communication with Docker remote API from Node.js, with TypeScript support.",
"private": false,
"main": "dist_ts/index.js",

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiclient.xyz/docker',
version: '3.0.0',
version: '3.0.1',
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
}

View File

@@ -1,4 +1,4 @@
import { DockerHost } from './classes.host.js';
import type { DockerHost } from './classes.host.js';
/**
* Abstract base class for all Docker resources.