Breaking Changes
- CLI now uses subcommands instead of flags
- Old:
./fitobj -input=./nested -output=./flat -reverse
- New:
fitobj unflatten ./nested ./flat
New Features
- Added Cobra CLI framework with better help system
- Configuration file support (
.fitobj.yaml)
- Health check endpoint for API mode (
/health)
Bug Fixes
- Fixed nested array flattening recursion issues
- Improved bracket notation parsing
- Better error handling for empty files
Migration Guide
# Old commands → New commands
-input/-output/-reverse → unflatten [input] [output]
-input/-output → flatten [input] [output]
-api -port=8080 → api --port=8080
-i18n -cleanup → i18n clean [source] [json]