Skip to content

Releases: Xophmeister/methadone

v0.4.0

Choose a tag to compare

@Xophmeister Xophmeister released this 17 Sep 22:47
bcb224d

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

Choose a tag to compare

@Xophmeister Xophmeister released this 12 Sep 21:23
28085fa

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

Choose a tag to compare

@Xophmeister Xophmeister released this 04 Sep 21:40
a83bc8e
  • Use Babashka fs API from 1.12.218 (not .219's fs/slurp and fs/spit)
  • Fix SIGINT handling during nag screen

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@Xophmeister Xophmeister released this 03 Sep 23:17
f570a84

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

Choose a tag to compare

@Xophmeister Xophmeister released this 03 Sep 22:37

Initial release: Bash script with Nix wrappers.

Full Changelog: https://github.com/Xophmeister/wean/commits/v0.1.0