Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
as of version 2.1.1.

## [Unreleased]
## [4.0.0] - 2025-05-26
### Added
- Added additional logging for Windows API calls.

### Changed
- Changed the build system from poetry-core to setuptools.
- Changed the VCPCode type to use class attributes instead of property functions.
- Changed the `VCPCode` type to use class attributes instead of property functions.
- Changed `get_input_source` to return an `int` instead of an `InputSource`.
- This simplifies code for users with USB Type-C monitors.
- Changed enums from `enum.Enum` to `enum.IntEnum`:
- `ColorPreset`
- `PowerMode`
- `InputSource`

### Fixed
- Fixed usability issues with mirrored displays in Windows.

### Removed
- Removed support for end-of-life python version 3.8.
- Removed `InputSourceValueError`.
Expand Down Expand Up @@ -112,7 +115,8 @@ as of version 2.1.1.
- Added a changelog.


[Unreleased]: https://github.com/newAM/monitorcontrol/compare/3.1.0...HEAD
[Unreleased]: https://github.com/newAM/monitorcontrol/compare/4.0.0...HEAD
[4.0.0]: https://github.com/newAM/monitorcontrol/compare/3.1.0...4.0.0
[3.1.0]: https://github.com/newAM/monitorcontrol/compare/3.0.3...3.1.0
[3.0.3]: https://github.com/newAM/monitorcontrol/compare/3.0.2...3.0.3
[3.0.2]: https://github.com/newAM/monitorcontrol/compare/3.0.1...3.0.2
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "monitorcontrol"
description = "Monitor controls using MCCS over DDC-CI."
version = "3.1.0"
version = "4.0.0"
authors = [{ name = "Alex Martens", email = "alex+monitorcontrol@thinglab.org" }]
license.file = "LICENSE"
readme = "README.rst"
Expand All @@ -15,7 +15,7 @@ dev = [
"coveralls>=4.0.1",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.1",
"ruff>=0.11.11",
"sphinx>=7.4.7",
"sphinx-rtd-theme>=3.0.2",
"toml>=0.10.2",
Expand Down
46 changes: 23 additions & 23 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.