refactor: consistent return values

This commit is contained in:
Mr Finchum 2025-02-01 17:43:54 +00:00
parent 47fe83d1f7
commit 3587ce1317
2 changed files with 20 additions and 42 deletions

View file

@ -1,5 +1,12 @@
# Changelog
## 0.5.0: Rework (BREAKING CHANGE)
- Improved code consistency: return values are now always **lists** when containing multiple objects.
- **Simplified the package**: Removed the default waiting period for update checks.
- It is now the **developer's responsibility** to decide when to check for updates. A separate independent function may be introduced later.
- The last update check is still saved in the config and returned as a `time.time()` object.
---
## 0.4.0: Rework (BREAKING CHANGE)
- The log file is now a JSON file, allowing it to store multiple package names, versions, and last update timestamps.