# Version 0.1.2

## Critical Bug Fixes
- **Data Loss Fix**: Fixed critical bug in "full" storage mode where `INSERT OR REPLACE` was recalculating ALL daily_snapshots from current usage_records, causing data loss when JSONL files aged out (30-day window)
- Now only updates dates that currently have records, preserving historical daily_snapshots forever

## Features Added
- Migrated CLI from argparse to Typer for better command structure
- New command syntax: `claude-goblin <command>` instead of `claude-goblin --<command>`
  - Old: `claude-goblin --usage` → New: `claude-goblin usage`
  - Old: `claude-goblin --stats` → New: `claude-goblin stats`
  - Old: `claude-goblin --export` → New: `claude-goblin export`
- Updated hooks to use new command syntax automatically

## Improvements
- Better command-line interface with clearer help messages
- Improved documentation structure
