Releases: xSolutions365/ccusage
Releases · xSolutions365/ccusage
Release list
v18.0.12
🚀 Features
- ccusage: Add sync command and daily cron job for API egress - by @dllewellyn and Claude Sonnet 4.6 (39b2c)
View changes on GitHub
v18.0.11
🚨 Breaking Changes
- Rename to claude-code-usage - by @ryoppippi (b42d5)
- Rename to ccusage - by @ryoppippi (768af)
- Introducing debug command - by @ryoppippi (2b8c5)
- LoadUsageData -> loadDailyUsageData - by @ryoppippi (0d192)
- Replace typescript to tsgo - by @ryoppippi (ad0c2)
- Order is now asc instead of desc - by @ryoppippi and ben-vargas (fca4a)
- Change types -> types.internal - by @ryoppippi (08b36)
- Change shard-args -> shard-args.internal - by @ryoppippi (c53b3)
- Change utils -> utils.internal - by @ryoppippi (cac8d)
- Use hono/tiny - by @ryoppippi (105ac)
- Remove deprecated dateSchema in favor of filterDateSchema - by @ryoppippi (7a656)
- Replace deprecated getDefaultClaudePath with getClaudePaths - by @ryoppippi (e2062)
- Remove deprecated getDefaultClaudePath function and tests - by @ryoppippi (78355)
- Update documentation URL from ccusage.ryoppippi.com to ccusage.com - by @ryoppippi (296ed)
- Add automatic fallback to offline mode when fetch fails - by @ryoppippi (a9654)
- SessionLength short l -> n - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/440 (0b964)
- '-l' for locale alias - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/441 (3a05a)
- Add offline mode support to statusline command - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/471 (ea3eb)
- Migrate project aliases from env var to config file - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/555 (8e5bf)
- Exclude live and refreshInterval from blocks command JSON schema - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/556 (3dddb)
- Replace environment variables with statusline CLI options for context thresholds - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/578 (2d055)
- Remove session order flag - by @amorriscode and @ryoppippi in https://github.com/xSolutions365/ccusage/issues/613 (85586)
- ccusage:
- Add deprecation warning to blocks --live monitor - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/678 (670a0)
- Remove deprecated blocks --live monitor - by @ryoppippi in https://github.com/xSolutions365/ccusage/issues/782 (9c616)
- cli:
- Remove -p short option for path argument - by @ryoppippi (312eb)
- Remove --path option entirely and use environment variable - by @ryoppippi (3cf0c)
🚀 Features
- Implement by claude code - by @ryoppippi (0bf95)
- Use dailyCommand as a default - by @ryoppippi (daeec)
- Add claude.md - by @ryoppippi (7772f)
- Use valibot for validation - by @ryoppippi (6e05a)
- Implement json output - by @ryoppippi (2718c)
- Include dist dir - by @ryoppippi (64be6)
- Validate -s and -u with regex - by @ryoppippi (e2983)
- Add default value to json argument - by @ryoppippi (0f6e3)
- Extract claude dir path - by @ryoppippi (9ccaa)
- Use fast-sort - by @ryoppippi (54bd7)
- Export modules - by @ryoppippi (566e3)
- Implement pricing-fetcher - fetch from litellm's data - by @ryoppippi (599b5)
- Collect versions per session - by @ryoppippi (75f40)
- Add CostMode type - by @ryoppippi (77916)
- Cost mode option to args - by @ryoppippi (a6858)
- Implement cost mode options to command - by @ryoppippi (089d4)
- Extract duplicated process of calculate cost - by @ryoppippi (47cb8)
- Implement mcp - by @ryoppippi (85c23)
- Implement mcp command - by @ryoppippi (1079b)
- Register mcp command - by @ryoppippi (4f995)
- Add monthly usage report command - by @ben-vargas (74b98)
- Refactor schema to use regex for date and month - by @ryoppippi (938d6)
- Add sort order support for daily and monthly reports - by @ben-vargas (619c4)
- Add sort order support to session command - by @ben-vargas (5b022)
- Use object.groupBy as much as possible - by @ryoppippi (92aa3)
- Use TupleToUnion from type-fest for cli choices - by @ryoppippi (7c344)
- Add model breakdowns and usage details in usage reports - by @constantins2001 (b4f45)
- Add debug logging for file processing errors - by @ben-vargas (c8d20)
- Add data-aggregation module with helper functions - by @ryoppippi (34511)
- Add 5-hour blocks report command - by @a-c-m and Claude Sonnet 4.6 (b7d4c)
- Add offline mode infrastructure with macro-based pricing cache - by @ryoppippi (39af1)
- Implement offline mode in data loader and pricing fetcher - by @ryoppippi (1ecb2)
- Integrate offline mode across CLI commands and build system - by @ryoppippi (50c4a)
- Add vitest configuration - by @ryoppippi (6afbb)
- Configure vitest globals and migrate core test imports - by @ryoppippi (924d4)
- Add comprehensive MCP server tests for stdio and HTTP transports - by @ryoppippi (e59a7)
- Use @hono/mcp - by @ryoppippi [(b1b84)](b...