Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 3.79 KB

CHANGELOG.md

File metadata and controls

81 lines (59 loc) · 3.79 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.7.8] - 2020-11-01

Fixed

  • Add nix dependency back for FreeBSD build (#76)

[0.7.7] - 2020-10-19

Fixed

  • Update dependencies versions to fix nightly toolchain compilation

[0.7.6] - 2020-08-24

  • MSRV changed to Rust 1.36.0

Fixed

  • Zero energy rate is not considered as an error for Windows #63

[0.7.5] - 2019-11-26

Fixed

  • Handling missing energy_full_design source files for Linux #40

[0.7.4] - 2019-06-03

Fixed

  • Manager::refresh method in Linux implementation checks if battery folder is exists #29
  • Battery::energy_full_design is not falling into a infinite recursion anymore #30

[0.7.3] - 2019-05-30

Fixed

  • ENODEV errors for Linux are now handled the same as ENOENT #28

Changed

  • Relaxing uom dependency version to ^0.23 for battery crate
  • Relaxing libc dependency version to ^0.2 for battery-ffi crate

[0.7.2] - 2019-05-21

Fixed

  • Battery::state_of_health and Battery::state_of_charge are always returning values in 0.0 ≤ x ≤ 1.0 interval

[0.7.1] - 2019-03-31

Changed

  • uom, core-foundation and libc dependencies were updated to latest versions
  • Zero cycles count is considered as non-existing value for Linux #23

Removed

[0.7.0] - 2019-03-10

Changed

  • Propagate all errors happened from battery and battery-ffi crates to the caller
  • Return SI measurement units from uom crate for almost all public Battery methods
  • Re-export used uom quantities and measurement units in public battery::units module
  • Rename Battery::percentage method into Battery::state_of_charge
  • Rename Battery::capacity method into Battery::state_of_health
  • Mark battery::State and battery::Technology enums as a non-exhaustive
  • Support multiple devices for FreeBSD and DragonFlyBSD #17
  • Ignore devices with scope attributes different from System for Linux #18
  • Update outdated mach dependency for Mac OS

[0.6.2] - 2019-02-28

Changed

  • Replace looks-to-be-abandoned CoreFoundation-sys and IOKit-sys dependencies #2

Fixed

  • Free hanging mach port used for communication with Mac OS IOKit

[0.6.1] - 2019-02-27

Fixed

  • Fix energy and remaining time calculations for MacOS #8, #11
  • Fix multiplication overflow while calculating battery percentage in Mac OS by @mindriot101 #10
  • Fix wrong units for consumption graph in battery-cli, should be W instead of Wh #9
  • Fix non-uniform path import that was breaking compilation for Rust<1.32 #6
  • Fix time_to_empty and time_to_full calculations for Linux when charger is unplugged but driver still reports zero energy_rate by @kerhong #5