From 38eb2cc3528866ebd76098156dc7200dd41d8c11 Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Sun, 4 Jan 2026 13:57:16 -0500 Subject: [PATCH] Create CHANGELOG.md --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ccca162 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [v0.2.0] - 2026-01-04 +### Added +- Thread-safe `Add` and `Del` methods to `Client` for dynamic host management. +- `RWMutex` to `Client` struct to protect `devices` map. +- `Transport` field to `Config` to allow mocking HTTP transport in tests. +- `getDeviceByHost` helper to centralize device lookup locking. +- Tests for thread safety and Add/Del functionality. + +### Changed +- Refactored `GetAll*` methods to snapshot host keys before iteration to avoid concurrent map read/write panic. +- Improved concurrent `GetAll` operations. + +## [v0.1.1] - 2026-01-04 +### Fixed +- CI pipeline configuration. + +## [v0.1.0] - 2026-01-04 +### Added +- Initial CI pipeline setup. +- Initial release of Ubiquiti EdgeOS Go Client.