From 4964317b6b8494370fca144f2d20ef3ec4f4decd Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Sun, 18 Jan 2026 17:08:27 -0500 Subject: [PATCH] update changelog --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f24d0bb..e32b17a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ All notable changes to this project will be documented in this file. +## v0.4.0 - 2026-01-18 +### Added +- CLI tool (`cmd/`) for quick device queries using cobra + - `get device ` - fetch info from a single device + - `get devices` - fetch info from all configured devices in parallel + - YAML/JSON config file support with environment variable overlay + - Pretty print and colorized YAML output options +- `Login(ctx, host)` method to both toughswitch and edgeos clients for explicit pre-authentication +- Context helpers for storing/retrieving clients (`ToughSwitchClientFromContext`, `EdgeOSClientFromContext`) + +### Changed +- CLI uses zerolog's built-in context methods for logger storage +- CLI prerun creates shared clients from config and stores in context +- Updated documentation (README.md, CLAUDE.md) with CLI usage and new Login method + +### Fixed +- Config default flag handling in CLI + ## v0.3.0 - 2026-01-14 ### Changed - Renamed project from toughswitch to ubiquiti-clients