From c66d6536c99a18eac926b3d007fc94388ea13307 Mon Sep 17 00:00:00 2001 From: acossta Date: Fri, 22 Aug 2025 10:32:52 -0700 Subject: [PATCH 1/2] docs: update CHANGELOG for v0.4.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index af18c1f..cf2c6ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,33 @@ All notable changes to Captan will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.0] - 2025-08-22 + +### Added +- Complete CLI redesign to resource-oriented architecture +- Comprehensive test coverage with 886 passing tests +- Email-based stakeholder resolution alongside ID lookup +- Intelligent identifier resolution with fuzzy matching suggestions +- Performance testing for large-scale cap tables (50,000+ stakeholders) +- Timezone-consistent date handling across all operations +- Edge case tests for boundary conditions +- Debug performance logging with DEBUG_PERF environment variable + +### Changed +- **BREAKING**: Reorganized CLI commands to follow resource-verb pattern (e.g., `captan stakeholder add` instead of `captan add-stakeholder`) +- Improved type safety by replacing `any` with `unknown` in error handlers +- Enhanced error messages with actionable suggestions +- Locked number formatting to 'en-US' locale for consistency +- Made HandlerResult interface generic with unknown default +- Improved test stability with seeded pseudo-random number generators + +### Fixed +- Email comparison now case-insensitive with proper trimming +- CSV export security (formula injection prevention) +- Performance test flakiness in CI environments +- Type safety issues throughout handler modules +- Consistent error handling patterns across all commands + ## [0.3.2] - 2025-08-20 ### Added From b47fbd14606d09ee092f2a3b5a102806c8e6e00a Mon Sep 17 00:00:00 2001 From: acossta Date: Fri, 22 Aug 2025 10:34:45 -0700 Subject: [PATCH 2/2] 0.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8785248..2996a42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "captan", - "version": "0.3.2", + "version": "0.4.0", "description": "Captan — Command your ownership. A tiny, hackable CLI cap table tool.", "type": "module", "bin": {