[2.0.0] - 2025-02-27
⚠️ Breaking Changes
This release includes a complete refactoring of the project. As a result, there is no backward compatibility with previous versions. Please review the documentation and adjust your code accordingly.
🚀 Features
- Update ClickHouse connection handling
- Add new structure and base CLI
- Refactor command structure and add config support
- Add commands for check, config, export, sync
- Add PostgreSQL setup and initial migrations
- Add usage info to root command
- (database) Enhance schema with new fields
- (migrations) Add 'force' to sync_type enum
- Add storage interface and factory function
- Add PostgreSQL storage implementation
- Update init scripts for new tables
- Use postgres package for storage creation
- Add PostgreSQL storage and CRUD operations
- Update .gitignore to include build directory
- (config) Update DBConfig comment for clarity
- (sync) Enhance sync process and database handling
- Remove unused command files
- Update default sync entities option
- Update to version 2 structure
- Remove date flags from sync options
- Remove date options from sync command
- Add mocks
- Add interface for pgxpool.Pool
🐛 Bug Fixes
- Improve sync condition checks
- Update container names for clarity
- Move GetReminder function to a new file
- Update Docker platforms for release workflow
💼 Other
- Добавлена зависимость github.com/stretchr/objx v0.5.2
🚜 Refactor
- Delete all structure
- Rename config file constant
- Move factory comment up to function
- Rename package and update struct names
- Separate postgresql methods
- Sync status tracking in Save method
- Command structure and sync logic
- Rename Postgres compose file
🧪 Testing
- Add unit tests for storage creation
- Add account management tests
- Add batch tests for database save functions
- Add budget management tests
- Add comprehensive database tests
⚙️ Miscellaneous Tasks
- Update dependencies in go.mod and go.sum
- Update dependencies to latest versions
- Update README for ZenMoney Export
- Update Go version and dependencies
- Add changelog and code of conduct
- Full update ci/cd for working proposal
- Update release workflow and changelog generation
- Clean up extra files in release workflow
- Update release workflow cleanup step
Full Changelog: v1.4.2...v2.0.0