From 2d04bb2326c162c535489e395d7a186587dbc095 Mon Sep 17 00:00:00 2001 From: Daan Debie Date: Sat, 16 Nov 2024 16:42:34 +0100 Subject: [PATCH] chore: release v0.38.0 --- CHANGELOG.md | 35 ++++++++++++++++++++++++++++++++++- README.md | 26 +++----------------------- docs/index.md | 26 +++----------------------- pyproject.toml | 2 +- 4 files changed, 41 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45805ac4..d8198fde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,38 @@ _prefixes_. This project adheres to [Semantic Versioning](https://semver.org/spe ## [Unreleased] +## [0.38.0] - 2024-11-16 + +### Added + +- Add Python 3.13 support ([#1199](https://github.com/DonDebonair/slack-machine/pull/1199)) + +### Changed + +- Bump `slack-sdk` from 3.27.2 to 3.33.3 +- Bump `pydantic` from 2.7.1 to 2.9.2 +- Bump `structlog` from 24.1.0 to 24.4.0 +- Bump `redis` from 5.0.4 to 5.2.0 +- Bump `hiredis` from 2.3.2 to 3.0.0 +- Bump `aioboto3` from 12.4.0 to 13.2.0 +- Bump `urllib3` from 1.26.18 to 1.26.19 +- Bump `httpx` from 0.27.0 to 0.27.2 +- Bump `multidict` from 6.0.5 to 6.1.0 +- Bump `cryptography` from 42.0.4 to 43.0.1 +- Bump `aiohttp` from 3.9.5 to 3.10.11 +- Bump `tzdata` from 2024.1 to 2024.2 +- Bump `dill` from 0.3.8 to 0.3.9 + +### Fixed + +- Add rate limit handling to Slack client to improve Slack Machine's resilience when interacting with Slack's API, + especially when working with large workspaces ([#1194](https://github.com/DonDebonair/slack-machine/pull/1194) by + [**@sprutner**](https://github.com/sprutner) and [**@jasonwbarnett**](https://github.com/jasonwbarnett)) + +### Removed + +- **Breaking:** Remove Python 3.8 support ([#1199](https://github.com/DonDebonair/slack-machine/pull/1199)) + ## [0.37.0] - 2024-05-26 ### Added @@ -677,7 +709,8 @@ _First release. Rejoice!_ :wave: - A simple, yet powerful and extendable Slack bot framework -[Unreleased]: https://github.com/DonDebonair/slack-machine/compare/v0.37.0...HEAD +[Unreleased]: https://github.com/DonDebonair/slack-machine/compare/v0.38.0...HEAD +[0.38.0]: https://github.com/DonDebonair/slack-machine/compare/v0.37.0...v0.38.0 [0.37.0]: https://github.com/DonDebonair/slack-machine/compare/v0.36.0...v0.37.0 [0.36.0]: https://github.com/DonDebonair/slack-machine/compare/v0.35.0...v0.36.0 [0.35.0]: https://github.com/DonDebonair/slack-machine/compare/v0.34.2...v0.35.0 diff --git a/README.md b/README.md index c808a408..5c036739 100644 --- a/README.md +++ b/README.md @@ -29,30 +29,10 @@ class DeploymentPlugin(MachineBasePlugin): ## _Breaking Changes_ -**Plugin initialization is now async** (v0.35.0) +**Dropped support for Python 3.8** (v0.38.0) -The optional initialization method -[plugins can implement](https://dondebonair.github.io/slack-machine/plugins/misc/#plugin-initialization), which is -run once when the plugin is loaded, should be an **async** method starting the upcoming -[v0.35.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.35.0). The reason for this is that this -allows plugins to interact with Slack through the Slack Machine's plugin API - most of which methods are async. - -Simply prefix your `init()` methods with `async`. - -**Dropped support for Python 3.7** (v0.34.0) - -As of [v0.34.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.34.0), support for Python 3.7 has been -dropped. Python 3.7 has reached end-of-life on 2023-06-27. - -**AsyncIO** (v0.30.0) - -As of [v0.30.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.30.0) Slack Machine dropped support for -the old backend based on the RTM API. As such, Slack Machine is now fully based on -[AsyncIO](https://docs.python.org/3/library/asyncio.html). This means plugins written before the rewrite to asyncio -aren't supported anymore. See [here](https://dondebonair.github.io/slack-machine/migrating/) for a migration guide to -get your old plugins working with the new version of Slack Machine. - -It's really easy! +As of [v0.38.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.38.0), support for Python 3.8 has been +dropped. Python 3.7 has reached end-of-life on 2024-10-07. ## Features diff --git a/docs/index.md b/docs/index.md index 3f7689a8..01291a72 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,30 +29,10 @@ class DeploymentPlugin(MachineBasePlugin): ## _Breaking Changes_ -**Plugin initialization is now async** (v0.35.0) +**Dropped support for Python 3.8** (v0.38.0) -The optional initialization method -[plugins can implement](https://dondebonair.github.io/slack-machine/plugins/misc/#plugin-initialization), which is -run once when the plugin is loaded, should be an **async** method starting the upcoming -[v0.35.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.35.0). The reason for this is that this -allows plugins to interact with Slack through the Slack Machine's plugin API - most of which methods are async. - -Simply prefix your `init()` methods with `async`. - -**Dropped support for Python 3.7** (v0.34.0) - -As of [v0.34.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.34.0), support for Python 3.7 has been -dropped. Python 3.7 has reached end-of-life on 2023-06-27. - -**AsyncIO** (v0.30.0) - -As of [v0.30.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.30.0) Slack Machine dropped support for -the old backend based on the RTM API. As such, Slack Machine is now fully based on -[AsyncIO](https://docs.python.org/3/library/asyncio.html). This means plugins written before the rewrite to asyncio -aren't supported anymore. See [here](https://dondebonair.github.io/slack-machine/migrating/) for a migration guide to -get your old plugins working with the new version of Slack Machine. - -It's really easy! +As of [v0.38.0](https://github.com/DonDebonair/slack-machine/releases/tag/v0.38.0), support for Python 3.8 has been +dropped. Python 3.7 has reached end-of-life on 2024-10-07. ## Features diff --git a/pyproject.toml b/pyproject.toml index 5d588949..f946ae22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "slack-machine" -version = "0.37.0" +version = "0.38.0" description = "A wonderful, simple, yet powerful and extendable Slack bot framework" authors = ["Daan Debie "] license = "MIT"