Prechádzať zdrojové kódy

2.10.0

Automatically generated by python-semantic-release
semantic-release 1 týždeň pred
rodič
commit
821488700d
3 zmenil súbory, kde vykonal 25 pridanie a 2 odobranie
  1. 23 0
      CHANGELOG.md
  2. 1 1
      pyproject.toml
  3. 1 1
      switchbot/__version__.py

+ 23 - 0
CHANGELOG.md

@@ -2,6 +2,29 @@
 
 <!-- version list -->
 
+## v2.10.0 (2026-09-29)
+
+### Bug Fixes
+
+- **art_frame**: Raise RuntimeError when no image differs from current
+  ([#568](https://github.com/sblibs/pySwitchbot/pull/568),
+  [`b8b871e`](https://github.com/sblibs/pySwitchbot/commit/b8b871e5a7cb893a40adf69206d0b862565df848))
+
+- **art_frame**: Use secrets.choice to satisfy ruff S311
+  ([#568](https://github.com/sblibs/pySwitchbot/pull/568),
+  [`b8b871e`](https://github.com/sblibs/pySwitchbot/commit/b8b871e5a7cb893a40adf69206d0b862565df848))
+
+### Chores
+
+- **pre-commit.ci**: Auto fixes ([#568](https://github.com/sblibs/pySwitchbot/pull/568),
+  [`b8b871e`](https://github.com/sblibs/pySwitchbot/commit/b8b871e5a7cb893a40adf69206d0b862565df848))
+
+### Features
+
+- **art_frame**: Add random_image method ([#568](https://github.com/sblibs/pySwitchbot/pull/568),
+  [`b8b871e`](https://github.com/sblibs/pySwitchbot/commit/b8b871e5a7cb893a40adf69206d0b862565df848))
+
+
 ## v2.9.1 (2026-09-29)
 
 ### Bug Fixes

+ 1 - 1
pyproject.toml

@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "PySwitchbot"
-version = "2.9.1"
+version = "2.10.0"
 description = "A library to communicate with Switchbot"
 authors = ["Daniel Hjelseth Hoyer"]
 license = "MIT"

+ 1 - 1
switchbot/__version__.py

@@ -1 +1 @@
-__version__ = "2.9.1"
+__version__ = "2.10.0"