Skip to content

Releases: tshakalekholoane/bat

bat 0.9.1

12 Jun 15:38
Compare
Choose a tag to compare
refactor: update function that queries Bash path

Change the function that queries the location of the Bash shell on the
operating system to look inside of the $PATH environment variable
instead of defaulting to standard locations such as /bin/ and /usr/bin/
that maybe not be true for all Unix operating systems i.e. NixOS.

See https://github.com/tshakalekholoane/bat/issues/26.

bat 0.9

29 May 18:34
Compare
Choose a tag to compare
refactor: minor restructure and basic housekeeping

  - Document main package.
  - Update Go version to 1.18.
  - Unify cli and docs packages.
  - Rename persist package to services to allow for more idiomatic
    names.
  - Simplify error handling.
  - Separate the task of fetching the kernel version and asserting that
    it is compatible with the application.
  - Simplify logic that checks whether the kernel version is compatible
    with the application.
  - Replace `fmt.Sprint` calls with the more performant
    `strconv.FormatInt(int64(t, 10))` for writing to the threshold
    variable.
  - Create a new test suite for the threshold package including fuzz
    tests.
  - Update documentation year.
  - Fix grammar errors in the README.
  - Delete the superficial `main_test.go`.

bat 0.8.4

14 Dec 12:45
Compare
Choose a tag to compare
refactor: update structure and improve performance

bat 0.8.3

09 Sep 12:47
Compare
Choose a tag to compare
style: minor formatting changes

bat 0.8.2

12 Aug 17:00
Compare
Choose a tag to compare
fix: add more sleep and hibernate targets

Fixes https://github.com/leveson/bat/issues/15.

bat 0.8.1

30 Jul 10:11
Compare
Choose a tag to compare
fix: fix persistence issue on some distributions

This fixes an issue, https://github.com/leveson/bat/issues/12, on some
distributions where the Bash shell is not located in /usr/bin/ by
falling back to the one in /bin/ or returning an error otherwise.

bat 0.8

27 Jul 12:23
Compare
Choose a tag to compare
fix: fix threshold persistence after hibernation

Fix an issue, https://github.com/leveson/bat/issues/11, with the
charging threshold where it would not persist after the system went into
hibernation on some distributions.

bat 0.7

17 Jul 14:04
Compare
Choose a tag to compare
refactor: restructure and add tests

bat 0.6

20 Jun 16:02
Compare
Choose a tag to compare
fix: fix suspend issue on some distributions

Fix an issue (https://github.com/leveson/bat/issues/3) on some
distributions, most notably Ubuntu, where the charging threshold would
not persist after the system went into suspend.

This also updates the documentation and refactors the code to handle
errors better.

bat 0.5

26 Mar 11:42
Compare
Choose a tag to compare
feat: add threshold persistence after hibernation

Creates an additional systemd service that enables the charging
threshold to persist after the system goes into hibernation.

Also addresses parts of the following issues by adding checks for the
required systemd version,
    - https://github.com/leveson/bat/issues/3
    - https://github.com/leveson/bat/issues/5