From 675f809ce32e6de5fa99bbde051db698ba053644 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Mon, 4 Mar 2024 17:39:21 -0800 Subject: [PATCH] version: 0.11.1 -> 0.12.0 --- CHANGELOG.md | 15 ++++++++++++++- idasen/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb6a110..7e9d21c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. 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). +## [0.12.0] - 2024-03-04 +### Added +- Added public methods to get the speed, `get_speed` and `get_height_and_speed`. +- Added a command line option to read the speed of the desk. + +### Fixed +- Fixed the desk not stopping when requested during movement. +- Fixed the desk pausing during raising / lowering. + +### Changed +- Heights in the configuration file are no longer allowed to be called "speed". + ## [0.11.1] - 2024-01-13 ### Fixed - Fixed the desk stopping at inconsistent heights. @@ -156,7 +168,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.1.0] - 2020-09-07 - Initial release -[Unreleased]: https://github.com/newAM/idasen/compare/v0.11.1...HEAD +[Unreleased]: https://github.com/newAM/idasen/compare/v0.12.0...HEAD +[0.12.0]: https://github.com/newAM/idasen/compare/v0.11.1...v0.12.0 [0.11.1]: https://github.com/newAM/idasen/compare/v0.11.0...v0.11.1 [0.11.0]: https://github.com/newAM/idasen/compare/v0.10.3...v0.11.0 [0.10.3]: https://github.com/newAM/idasen/compare/v0.10.2...v0.10.3 diff --git a/idasen/__init__.py b/idasen/__init__.py index 06b6197..6ba6ad4 100644 --- a/idasen/__init__.py +++ b/idasen/__init__.py @@ -428,7 +428,7 @@ async def get_speed(self) -> float: async def get_height_and_speed(self) -> Tuple[float, float]: """ - Get a tuple of the desk height in meters and speed in meters per second. + Get the desk height in meters and speed in meters per second. Returns: Tuple of desk height in meters and speed in meters per second. diff --git a/pyproject.toml b/pyproject.toml index 72b1480..51297ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ target-version = ["py38"] name = "idasen" description = "ikea IDÅSEN desk API and CLI." authors = ["Alex Martens "] -version = "0.11.1" +version = "0.12.0" license = "MIT" readme = "README.rst" repository = "https://github.com/newAM/idasen"