From 916d738210d27e4508595a81f26aff24052a601d Mon Sep 17 00:00:00 2001 From: Ian Massingham Date: Fri, 3 Jan 2025 16:09:34 +0000 Subject: [PATCH 1/2] Fix incorrect wording in deprecation warning for ToolkitTask (#1502) --- griptape/tasks/toolkit_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/griptape/tasks/toolkit_task.py b/griptape/tasks/toolkit_task.py index 6544a11a5..67e0b9380 100644 --- a/griptape/tasks/toolkit_task.py +++ b/griptape/tasks/toolkit_task.py @@ -15,7 +15,7 @@ class ToolkitTask(PromptTask): def try_run(self) -> BaseArtifact: warnings.warn( - "`PromptTask` is deprecated and will be removed in a future release. `PromptTask` is a drop-in replacement.", + "`ToolkitTask` is deprecated and will be removed in a future release. `PromptTask` is a drop-in replacement.", DeprecationWarning, stacklevel=2, ) From 36394cc16a332e22f97ced3370855684dfa5c433 Mon Sep 17 00:00:00 2001 From: Collin Dutter Date: Fri, 3 Jan 2025 09:28:27 -0800 Subject: [PATCH 2/2] Update changelog (#1503) --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 434bab704..3206600be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [1.1.1] - 2025-01-03 + +### Fixed +- Incorrect deprecation warning on `ToolkitTask`. + ## [1.1.0] - 2024-12-31 ### Added