From aa9011381b927b774c5f92af955cc3ab127a7985 Mon Sep 17 00:00:00 2001 From: Tony Meyer Date: Mon, 6 Nov 2023 15:17:48 +0200 Subject: [PATCH] docs: correct the version run_action was added (#1056) --- CHANGES.md | 5 ++++- ops/testing.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 2228863d3..3ff93840c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,12 @@ +# 2.9.0 + +* Added `Harness.run_action()`, `testing.ActionOutput`, and `testing.ActionFailed` + # 2.8.0 * Added `Unit.reboot()` and `Harness.reboot_count`` * Added `RelationMeta.optional` * The type of a `Handle`'s `key` was expanded from `str` to `str|None` -* Added `Harness.run_action()`, `testing.ActionOutput`, and `testing.ActionFailed` * Narrowed types of `app` and `unit` in relation events to exclude `None` where applicable # 2.7.0 diff --git a/ops/testing.py b/ops/testing.py index 86835d596..077b9488e 100755 --- a/ops/testing.py +++ b/ops/testing.py @@ -1799,7 +1799,7 @@ def run_action(self, action_name: str, ... harness.run_action("action-name", params) - *New in version 2.8* + *New in version 2.9* Args: action_name: the name of the action to run, as found in ``actions.yaml``.