From ff930ff50c13536633c591501052f670eb156730 Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Sun, 24 Nov 2024 15:26:38 +0100 Subject: [PATCH] chore: release v0.40.0 --- CHANGELOG.md | 13 ++++++++++++- docs/user/install.md | 10 ++++++++-- docs/user/usage.md | 6 +++--- pyproject.toml | 2 +- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4b3cab..ceb3848f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ _prefixes_. This project adheres to [Semantic Versioning](https://semver.org/spe ## [Unreleased] +## [0.40.0] - 2024-11-24 + +### Changed + +- Replace Poetry with [uv](https://docs.astral.sh/uv/) ([#1218](https://github.com/DonDebonair/slack-machine/pull/1218)) +- Replace Tox with [Nox](https://nox.thea.codes) ([#1218](https://github.com/DonDebonair/slack-machine/pull/1218)) +- Replace Dependabot with [Renovate](https://www.mend.io/renovate/) + ([#1220](https://github.com/DonDebonair/slack-machine/pull/1220)) +- Bump `pydantic` from 2.10.0 to 2.10.1 + ## [0.39.0] - 2024-11-22 ### Added @@ -729,7 +739,8 @@ _First release. Rejoice!_ :wave: - A simple, yet powerful and extendable Slack bot framework -[Unreleased]: https://github.com/DonDebonair/slack-machine/compare/v0.39.0...HEAD +[Unreleased]: https://github.com/DonDebonair/slack-machine/compare/v0.40.0...HEAD +[0.40.0]: https://github.com/DonDebonair/slack-machine/compare/v0.39.0...v0.40.0 [0.39.0]: https://github.com/DonDebonair/slack-machine/compare/v0.38.1...v0.39.0 [0.38.1]: https://github.com/DonDebonair/slack-machine/compare/v0.38.0...v0.38.1 [0.38.0]: https://github.com/DonDebonair/slack-machine/compare/v0.37.0...v0.38.0 diff --git a/docs/user/install.md b/docs/user/install.md index 7fa68ea3..b74f3fa6 100644 --- a/docs/user/install.md +++ b/docs/user/install.md @@ -6,10 +6,10 @@ flexibility. ## Installing the easy way with pip Slack Machine is published to the [Python package index](https://pypi.python.org/pypi/slack-machine) so you can easily -install Slack Machine using pip: +add Slack Machine to your uv project by running: ```bash -pip install slack-machine +uv add slack-machine ``` or add it to your [Poetry](https://python-poetry.org/) project: @@ -18,6 +18,12 @@ or add it to your [Poetry](https://python-poetry.org/) project: poetry add slack-machine ``` +Lastly, you can install it using pip (not recommended): + +``` bash +$ pip install slack-machine +``` + It is **strongly recommended** that you install `slack-machine` inside a [virtual environment](https://docs.python.org/3/tutorial/venv.html)! diff --git a/docs/user/usage.md b/docs/user/usage.md index 1fdd0ea2..ec909f99 100644 --- a/docs/user/usage.md +++ b/docs/user/usage.md @@ -135,7 +135,7 @@ dependencies. **Does not persist data between restarts** #### Redis -Install with: `pip install 'slack-machine[redis]'` +Install with: `uv add 'slack-machine[redis]'` This backend stores data in [Redis](https://redis.io/). Redis is a very fast key-value store that is super easy to install and operate. This backend is recommended, because it will persist data between restarts. The Redis backend @@ -157,7 +157,7 @@ Optional parameters: #### DynamoDB -Install with: `pip install 'slack-machine[dynamodb]'` +Install with: `uv add 'slack-machine[dynamodb]'` This backend stores data in [DynamoDB](https://aws.amazon.com/dynamodb/). DynamoDB is a managed NoSQL datastore on AWS that, among other things, allows for easy persistance of objects by key. The DynamoDB backend requires either a set of @@ -179,7 +179,7 @@ Optional parameters: #### SQLite -Install with: `pip install 'slack-machine[sqlite]'` +Install with: `uv add 'slack-machine[sqlite]'` This backend stores data in [SQLite](https://www.sqlite.org/). SQLite is a C library that provides a lightweight disk-based database that doesn’t require a separate server process and allows accessing the database using a diff --git a/pyproject.toml b/pyproject.toml index 543c9d47..64622616 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "slack-machine" -version = "0.39.0" +version = "0.40.0" description = "A wonderful, simple, yet powerful and extendable Slack bot framework" readme = "README.md" authors = [