Skip to content

v0.8

Choose a tag to compare

@Crozzers Crozzers released this 03 Mar 21:11

Added/Changed

  • Re-formatted the code in the flake8 style (using args --ignore=W503 --max-line-length=119)
  • Sped up most internal function calls by reducing the number of calls made to filter_monitors
  • If the module is imported on an unsupported platform it raises a NotImplementedError
  • Made low-level function return types more consistent
  • Added fade_brightness method to Monitor class
  • The --set and --fade arguments on the CLI now have an output

Removed

  • Removed the model_name attribute from Monitor class
  • Removed all module level filter functions (eg: linux.XRandr.__filter_monitors)
  • Removed from . import Monitor from the windows and linux modules. See here

Fixes

  • Fixed the method kwarg on windows
  • Fixed functions not returning None when no_return=True is passed in
  • Fixed FileNotFoundError in linux.Light
  • Fixed linux.XRandr.get_brightness returning out-of-date values
  • Fixed linux.XRandr.get_display_info not giving names to monitors without EDID strings

v0.8.1

  • Fixed linux.list_monitors* functions erroring out due to subprocess errors in called commands

v0.8.2

  • Fixed errors when calling fade_brightness with the current brightness values
  • Fixed Monitor.set_brightness allowing values <0 and >100 to be set using Linux and XRandr

v0.8.3

  • Changed some method decorators from staticmethod to classmethod

v0.8.4

  • Fix markdown table in readme not rendering correctly

v0.8.5

  • Changed the information in the README regarding xbacklight

v0.8.6