Releases: Xophmeister/methadone
Release list
v0.4.0
It occurred to me that by making the log valuable, it may make users think twice before thinking about deleting it as a way to circumvent the nag screen. So now, the log not only records sessions within the retention window, but it also aggregates daily history when session records drop out of that window. These are then used to give a usage and trend report.
For shits and giggles, Methadone will now chastise you in an escalatory fashion -- based on the friction score -- and applaud you if you Ctrl+C before the countdown ends.
Breaking changes:
- Log file change, with automatic migration path.
- Nixification has changed to an attrset that exposes both the wrapper and the reporting.
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Rename "wean" to "Methadone", as it seemed more appropriate 🙊
Breaking changes:
- Script, Nix invocation and environment variable renamed from wean to methadone (in various cases)
Full Changelog: v0.2.1...v0.3.0
v0.2.1
- Use Babashka
fsAPI from 1.12.218 (not .219'sfs/slurpandfs/spit) - Fix SIGINT handling during nag screen
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Rewrite in Babashka, with proper testing and quality assurance, and change the state format to track session starts and ends, so the friction can depend on both session count and duration. In particular, the friction is weighted by recorded events that decay exponentially and then fed through a logistic curve. The parameters of the curve are tunable through configuration.
Breaking changes:
- JSON-based log format is not compatible with new EDN-based format; no migration path.
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Initial release: Bash script with Nix wrappers.
Full Changelog: https://github.com/Xophmeister/wean/commits/v0.1.0