From 786da8c202eec47f8775c7691718b75fbe32550d Mon Sep 17 00:00:00 2001 From: Yagnesh Nayi <127923546+Yagnesh1998@users.noreply.github.com> Date: Wed, 31 Jan 2024 02:11:05 +0530 Subject: [PATCH] feat: add toggle_removal_ticket annotation (#97) Add new toggle annotation for toggle_removal_ticket. See https://github.com/openedx/edx-toggles/issues/324 --- CHANGELOG.rst | 4 ++++ code_annotations/__init__.py | 2 +- .../contrib/config/feature_toggle_annotations.yaml | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b9a64fb..d19b4f7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,10 @@ Change Log Unreleased ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[1.6.0] - 2024-01-31 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Added new annotation ``toggle_removal_ticket`` [1.5.0] - 2023-07-21 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/code_annotations/__init__.py b/code_annotations/__init__.py index 1b5ed55..5089f01 100644 --- a/code_annotations/__init__.py +++ b/code_annotations/__init__.py @@ -2,4 +2,4 @@ Extensible tools for parsing annotations in codebases. """ -__version__ = '1.5.0' +__version__ = '1.6.0' diff --git a/code_annotations/contrib/config/feature_toggle_annotations.yaml b/code_annotations/contrib/config/feature_toggle_annotations.yaml index 2860517..c30aeb8 100644 --- a/code_annotations/contrib/config/feature_toggle_annotations.yaml +++ b/code_annotations/contrib/config/feature_toggle_annotations.yaml @@ -15,8 +15,10 @@ annotations: - ".. toggle_use_cases:": choices: [temporary, circuit_breaker, vip, opt_out, opt_in, open_edx] - ".. toggle_creation_date:": - - ".. toggle_target_removal_date:": + - ".. toggle_removal_ticket:": optional: true + - ".. toggle_target_removal_date:": + optional: true - ".. toggle_warning:": optional: true - ".. toggle_tickets:":