Skip to content

v0.1.38 - Code Organization Refactor (2025-12-13)

What Changed?

This release reorganizes CLI option definitions for better code structure. The count option is moved from the generic Options class to MockOptions where it's actually used, improving code clarity and maintainability. No user-facing changes or new features.


What's New

Refactored: CLI Option Organization

What it does: Options definitions are now properly grouped by their usage context. Mock/generate-specific options are consolidated in MockOptions, while device communication options remain in Options.

Changes:

  • Removed unused Options.count() method
  • Moved count option to MockOptions.generate_count()
  • generate command now uses all MockOptions methods for consistency
  • Updated documentation examples to reflect current API

Installation

Quick Start

# Get the release
git checkout v0.1.38

# Setup
uv sync

# Run CLI
uv run kazunoko --help

What's Different from the Last Version?

✅ Added

  • None (refactoring only)

🔧 Changed

  • Moved count option definition from Options to MockOptions
  • generate command now uses MockOptions methods for all parameters
  • Updated Options class documentation example

🐛 Fixed

  • None

Is It Safe to Upgrade?

Backward Compatible: Yes

  • No user-facing API changes
  • No breaking changes to CLI commands
  • Internal refactoring only

Tests Passed

  • ✅ Builds without errors
  • ✅ Ruff linting passed
  • ✅ CLI commands work correctly

Release Details

  • Date: 2025-12-13
  • Version: v0.1.38
  • Files Changed: 2
  • Commits: 7efdc10

Next Steps

Continue development with improved code organization and clarity.