Skip to content

v0.2.0 - Clean Architecture Implementation

Latest

Choose a tag to compare

@FradSer FradSer released this 24 Sep 10:58

What's Changed

This release introduces a major architectural refactor implementing Clean Architecture with a 4-layer structure.

✨ New Features

  • Clean Architecture implementation with 4-layer structure
  • Domain layer with entities, value objects, and exceptions
  • Use Cases layer for business logic orchestration
  • Application layer for core services
  • Infrastructure layer for external service adapters
  • Dependency inversion with interfaces for GitManager and InteractiveService
  • Strategy pattern implementation for sync operations
  • SyncUseCase for centralized business logic
  • Domain-specific exceptions for better error handling
  • Immutable value objects for SyncOptions and SyncResult

🔧 Changes

  • Refactored core components to follow Clean Architecture principles
  • Moved sync strategies to domain layer
  • Extracted business logic into use cases
  • Improved separation of concerns
  • Updated import structure to follow dependency rule
  • Restored inquirer with arrow key navigation support

🐛 Bug Fixes

  • Circular import issues by moving StrategyFactory to use cases layer
  • Module organization for better maintainability

Full Changelog: v0.1.3...v0.2.0