@ya-modbus/driver-loader 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.11.2](https://github.com/groupsky/ya-modbus/compare/@ya-modbus/driver-loader@0.11.1...@ya-modbus/driver-loader@0.11.2) (2026-10-12)
7
+
8
+ **Note:** Version bump only for package @ya-modbus/driver-loader
9
+
10
+ ## [0.11.1](https://github.com/groupsky/ya-modbus/compare/@ya-modbus/driver-loader@0.11.0...@ya-modbus/driver-loader@0.11.1) (2026-10-12)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **cli:** use current @ya-modbus/driver-* names in help and docs ([#577](https://github.com/groupsky/ya-modbus/issues/577)) ([6367875](https://github.com/groupsky/ya-modbus/commit/6367875ee3a19540624bd3130d18c1787c1b7921)), closes [#566](https://github.com/groupsky/ya-modbus/issues/566)
15
+
6
16
  # [0.11.0](https://github.com/groupsky/ya-modbus/compare/@ya-modbus/driver-loader@0.10.0...@ya-modbus/driver-loader@0.11.0) (2026-10-12)
7
17
 
8
18
  ### Features
@@ -44,7 +44,7 @@ export interface Logger {
44
44
  * const driver1 = await loadDriver({})
45
45
  *
46
46
  * // Load specific package
47
- * const driver2 = await loadDriver({ driverPackage: 'ya-modbus-driver-xymd1' })
47
+ * const driver2 = await loadDriver({ driverPackage: '@ya-modbus/driver-xymd1' })
48
48
  *
49
49
  * // With custom logger
50
50
  * const driver3 = await loadDriver({
@@ -59,7 +59,7 @@ export interface Logger {
59
59
  export interface LoadDriverOptions {
60
60
  /**
61
61
  * Explicit driver package name
62
- * e.g., 'ya-modbus-driver-xymd1' or '@org/ya-modbus-driver-xymd1'
62
+ * e.g., '@ya-modbus/driver-xymd1' or '@org/ya-modbus-driver-xymd1'
63
63
  *
64
64
  * A short name such as 'xymd1' is tried as '@ya-modbus/driver-xymd1',
65
65
  * then 'ya-modbus-driver-xymd1', then 'xymd1'.
@@ -105,7 +105,7 @@ export declare function getDriverCacheStats(): DriverCacheStats;
105
105
  * Load a driver package dynamically
106
106
  *
107
107
  * Supports two modes:
108
- * 1. Explicit package: `loadDriver({ driverPackage: 'ya-modbus-driver-xymd1' })`
108
+ * 1. Explicit package: `loadDriver({ driverPackage: '@ya-modbus/driver-xymd1' })`
109
109
  * 2. Auto-detect from cwd: `loadDriver({})` - reads package.json from current directory
110
110
  *
111
111
  * Auto-detection checks for `ya-modbus-driver` keyword in package.json keywords and loads
@@ -118,7 +118,7 @@ export declare function getDriverCacheStats(): DriverCacheStats;
118
118
  * const driver = await loadDriver({})
119
119
  *
120
120
  * // Load explicit package
121
- * const driver = await loadDriver({ driverPackage: 'ya-modbus-driver-xymd1' })
121
+ * const driver = await loadDriver({ driverPackage: '@ya-modbus/driver-xymd1' })
122
122
  *
123
123
  * @param options - Loading options (defaults to local package detection)
124
124
  * @param deps - System dependencies (for testing, uses Node.js built-ins by default)
@@ -101,7 +101,7 @@ function getDriverCacheStats() {
101
101
  * Load a driver package dynamically
102
102
  *
103
103
  * Supports two modes:
104
- * 1. Explicit package: `loadDriver({ driverPackage: 'ya-modbus-driver-xymd1' })`
104
+ * 1. Explicit package: `loadDriver({ driverPackage: '@ya-modbus/driver-xymd1' })`
105
105
  * 2. Auto-detect from cwd: `loadDriver({})` - reads package.json from current directory
106
106
  *
107
107
  * Auto-detection checks for `ya-modbus-driver` keyword in package.json keywords and loads
@@ -114,7 +114,7 @@ function getDriverCacheStats() {
114
114
  * const driver = await loadDriver({})
115
115
  *
116
116
  * // Load explicit package
117
- * const driver = await loadDriver({ driverPackage: 'ya-modbus-driver-xymd1' })
117
+ * const driver = await loadDriver({ driverPackage: '@ya-modbus/driver-xymd1' })
118
118
  *
119
119
  * @param options - Loading options (defaults to local package detection)
120
120
  * @param deps - System dependencies (for testing, uses Node.js built-ins by default)