minor ver bump

2.1.0 added to changelog
This commit is contained in:
onyx-and-iris 2022-11-08 17:07:42 +00:00
parent 6ab7d03a11
commit 2255da4e53
3 changed files with 15 additions and 3 deletions

View File

@ -9,8 +9,18 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
## [Unreleased] ## [Unreleased]
- [x] delay now settable with keyword arg. - [ ]
- [x] type checks removed, prefer duck typing
## [2.1.0] - 2022-11-08
### Added
- delay keyword argument
- bounds checks for vals passed to lin_set/log_set
### Removed
- type checks, prefer duck typing
## [2.0.0] - 2022-11-07 ## [2.0.0] - 2022-11-07

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "xair-api" name = "xair-api"
version = "2.0.2" version = "2.1.0"
description = "Remote control Behringer X-Air | Midas MR mixers through OSC" description = "Remote control Behringer X-Air | Midas MR mixers through OSC"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"

View File

@ -64,6 +64,8 @@ def geq_prop(param):
return round(lin_get(-15, 15, self.getter(param)[0]), 1) return round(lin_get(-15, 15, self.getter(param)[0]), 1)
def fset(self, val): def fset(self, val):
if not -15 <= val <= 15:
raise XAirRemoteError("expected value in range -15.0 to 15.0")
self.setter(param, lin_set(-15, 15, val)) self.setter(param, lin_set(-15, 15, val))
return property(fget, fset) return property(fget, fset)