Skip to content

Releases: Crozzers/screen_brightness_control

v0.24.3

08 Nov 20:28

Choose a tag to compare

  • Deprecate linux.XRandr brightness method

v0.24.2

19 Jan 17:14

Choose a tag to compare

  • Improve handling of missing EDIDs in linux.SysFiles method (#45)

v0.24.1

17 Nov 21:23

Choose a tag to compare

  • Add windows.COM_FLAG constant for controlling how pythoncom is initialised (#42, a9b1084)
  • Ensure that pythoncom.CoInitialise is not called without needing to
  • Fix pythoncom not being uninitialised after we're done with it

v0.24.0

13 Oct 18:20

Choose a tag to compare

  • Improve display identification by adding UID field to monitor info
    • Use WinAPI UID to populate UID field on Windows (#41, @BingoWon)
    • Use I2C path to populate UID field on Linux (05ad0c0)
  • Remove deprecated linux.Light brightness method (a3e8085)
  • Remove _OS_METHODS attr (011a847)

v0.23.0

07 Apr 18:25

Choose a tag to compare

  • Add allow_duplicates param to filter_monitors and most top-level functions (#34, @BingoWon)
  • Add allow_duplicates kwarg to command line (#35, @BingoWon)
  • Add ability to stop fade_brightness thread before starting new one (#38, @BingoWon)
  • Add ability to set default configuration values (3db8344)
    • Can set default value for method and allow_duplicate kwargs
  • Smarter interval handling in fade_brightness (#36, @BingoWon)
  • Better handling of monitor identification when using relative brightness values in set_brightness (#37, @BingoWon)
  • Fix XRandr reporting displays on wayland session (b76b82f)
  • Remove deprecated behaviour of Display.fade_brightness returning the new brightness (8880c65)
  • Deprecate linux.Light due to package being unmaintained

v0.22.2

04 Feb 19:56

Choose a tag to compare

  • Removed deprecated top level imports (38e1a85)
  • Restrict param types in EDID.parse to prevent potential TypeError (677ea14)
  • Fixed some docstrings (7d35446, e91f826)
  • Fix force kwarg not being propagated in Display.fade_brightness (ffa10a1)
  • Fix excessive calls to dxva2.DestroyPhysicalMonitor (b273777)
  • Fix potential UnboundLocalError in VCP.[get/set]_brightness (6e411d4)
  • Port test suite to pytest and expand coverage (89642fc...d7a1567)

v0.22.1

07 Oct 16:24

Choose a tag to compare

  • Fix error when laptop screen is closed while external display connected on Windows (#33)

v0.22.0

10 Sep 19:35

Choose a tag to compare

  • Type safety improvements
    • Add proper implementation for MaxRetriesExceededError (53cf7f1)
    • set_brightness now assumes 100% brightness if get_brightness fails (73b9ec1)
  • Improved debugging in test runner
  • TTL cache now deletes all expired data semi-automatically (31957f2)
  • Upgrade out of date notice on documentation to redirect to latest version of current document (f786f71)
  • Switch from setup.py to pyproject.toml
  • Upgraded release CICD
  • Fix filtering list of monitors by method in filter_monitors
  • Fix TypeError in Monitor class constructor when passing unknown monitor in
  • Fix invalid argument when correcting post-fade brightness in fade_brightness
  • Remove support for identifying displays solely by their model (c8e89dd)
  • Remove deprecated Monitor.__getitem__ behaviour
  • Dropped Python 3.7 support
  • Deprecate Display.fade_brightness returning the new brightness. Will return None from v0.23.0

v0.21.0

18 Jun 15:47

Choose a tag to compare

  • Add new Display dataclass to replace old Monitor class
    • Monitor is now deprecated for removal in v0.23.0
  • Add ability to disable --async flag in linux.DDCUtil
  • Add new type aliases with better descriptions of what they mean (see 5fa542f, 20c3dea)
  • Fix not all monitor handles being properly cleaned up in windows.VCP
  • Refactor fade_brightness
  • Remove redundant type info in docstrings (see 0431b53)
  • Remove redundant docstrings (see 20c3dea)
  • Deprecate Monitor.__getitem__ behaviour for removal in v0.22.0
  • Deprecate using a display's model to identify it. Use the name instead. Will be removed in v0.22.0
  • Deprecate unused top-level imports for removal in v0.22.0:
    • MONITOR_MANUFACTURER_CODES
    • debug_info

v0.20.0

19 Mar 17:23

Choose a tag to compare

  • Merge #28 Added increment change for --set in command line argument from @ujjukumar
  • Add ability to look up method name via get_methods
  • Rework exceptions (see d5f1bdd)
    • New exceptions added. Should all be backwards compatible
  • Refactor:
    • windows.get_display_info - removed massive generic try/except blocks
    • helpers.EDID.parse - more helpful exceptions
    • filter_monitors - better readability
  • More consistent use of "display", "screen" and "monitor" terminology (see 46bfac2)