From 5e3946196696bbe5e658733d690544887da675a9 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 10 Jul 2023 16:20:59 +0100 Subject: [PATCH] 2.2.0 section added to changelog mino version bump --- CHANGELOG.md | 14 ++++++++++++++ examples/events/__main__.py | 1 + pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0a609d..c7405ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,20 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass - [x] +## [2.2.0] - 2023-07-10 + +### Added + +- CAPIError class now stores fn_name, error code and message as class attributes. + +### Changed + +- macrobutton capi calls now use error code -9 on AttributeError (using an old version of the API). + +### Fixed + +- call to `self.vm_get_midi_message` now wrapped by {CBindings}.call. + ## [2.1.1] - 2023-07-01 ### Added diff --git a/examples/events/__main__.py b/examples/events/__main__.py index 5ababd7..3474196 100644 --- a/examples/events/__main__.py +++ b/examples/events/__main__.py @@ -18,6 +18,7 @@ class App: def __enter__(self): self.vm.init_thread() + return self def __exit__(self, exc_type, exc_value, traceback): self.vm.end_thread() diff --git a/pyproject.toml b/pyproject.toml index 9a098fe..d83b31b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-api" -version = "2.1.3" +version = "2.2.0" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT"