BREAKING CHANGE(core): rework core device architecture: consolidate protocols into a protocols/ module, introduce UniversalDevice + factories, and remove many legacy device-specific classes (breaking API changes)
This commit is contained in:
11
changelog.md
11
changelog.md
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-01-09 - 2.0.0 - BREAKING CHANGE(core)
|
||||
rework core device architecture: consolidate protocols into a protocols/ module, introduce UniversalDevice + factories, and remove many legacy device-specific classes (breaking API changes)
|
||||
|
||||
- Consolidated protocol implementations into ts/protocols and added protocols/index.ts for unified exports.
|
||||
- Added device factory layer at ts/factories/index.ts to create UniversalDevice instances with appropriate features.
|
||||
- Introduced protocols/protocol.upssnmp.ts (UPS SNMP handler) and other protocol reorganizations.
|
||||
- Removed legacy concrete device classes and related files (Device abstract, Scanner, Printer, SnmpDevice, UpsDevice, DlnaRenderer/Server, Speaker and Sonos/AirPlay/Chromecast implementations).
|
||||
- Updated top-level ts/index.ts exports to prefer UniversalDevice, factories and the new protocols module.
|
||||
- Updated feature and discovery modules to import protocols from the new protocols index (import path changes).
|
||||
- BREAKING: Consumers must update imports and device creation flows to use the new factories/UniversalDevice and protocols exports instead of the removed legacy classes.
|
||||
|
||||
## 2026-01-09 - 1.1.0 - feat(devicemanager)
|
||||
Introduce a UniversalDevice architecture with composable Feature system; add extensive new device/protocol support and discovery/refactors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user