Releases: eannchen/leetsolv
Releases · eannchen/leetsolv
v1.2.0
Features
- Reset Command: New reset command to clear all data
Improvements
- URL Parsing: Better LeetCode/HackerRank URL handling with query params and error handling
- FileUtil: Added Delete method, removed unnecessary locks
- Code Quality: Simplified logger DI, added MockClock for tests, improved test coverage across packages
v1.1.1
Windows Compatibility Fixes
- Fix first-run crash: Create config directory (
~/.leetsolv) during initialization, preventing "cannot find the path" error on fresh Windows installations - Improve terminal colors: Use 256-color Dodger Blue (
38;5;33) instead of basic ANSI blue for better visibility on Windows PowerShell
Test Fixes
- Fix timezone-related test flakiness: Use UTC consistently in tests to match the Clock implementation, preventing failures near midnight in non-UTC timezones
v1.1.0
Multi-Platform Support
This release adds support for HackerRank problems alongside LeetCode.
Supported platforms:
- LeetCode
- HackerRank
Usage:
leetsolv add https://leetcode.com/problems/two-sum
leetsolv add https://hackerrank.com/challenges/solve-me-first/problem
- Refactored URL parsing into a dedicated
urlparserpackage for better maintainability - Simplified error messages for unsupported URLs
v1.0.6
Timezone Handling Improvement
Timestamps are now stored in UTC format for consistent behavior across timezones. Previously, dates were saved using your local timezone, which could cause incorrect display when traveling.
Existing users: Run the migration command to convert your data:
leetsolv migratev1.0.5
v1.0.4
v1.0.3
v1.0.1
v1.0.0
v1.0.0-rc.3
fix: Enhance Hydrate method for thread safety and fix undo indexing bug