From d182a6c40c09f423416a7615ebf4db452813ca97 Mon Sep 17 00:00:00 2001 From: Ritwik Puri Date: Wed, 31 Aug 2022 13:51:23 +0530 Subject: [PATCH] chore: add depreciation warning for event streaming (#17987) inlieu of event_streaming app --- frappe/patches.txt | 1 + .../patches/v14_0/event_streaming_deprecation_warning.py | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 frappe/patches/v14_0/event_streaming_deprecation_warning.py diff --git a/frappe/patches.txt b/frappe/patches.txt index e4facb7e3d..3a902cb35e 100644 --- a/frappe/patches.txt +++ b/frappe/patches.txt @@ -196,6 +196,7 @@ frappe.patches.v14_0.log_settings_migration frappe.patches.v14_0.setup_likes_from_feedback frappe.patches.v14_0.update_webforms frappe.patches.v14_0.delete_payment_gateways +frappe.patches.v14_0.event_streaming_deprecation_warning [post_model_sync] frappe.patches.v14_0.drop_data_import_legacy diff --git a/frappe/patches/v14_0/event_streaming_deprecation_warning.py b/frappe/patches/v14_0/event_streaming_deprecation_warning.py new file mode 100644 index 0000000000..b709c9c1d3 --- /dev/null +++ b/frappe/patches/v14_0/event_streaming_deprecation_warning.py @@ -0,0 +1,9 @@ +import click + + +def execute(): + click.secho( + "Event Streaming is moved to a separate app in version 15.\n" + "When upgrading to Frappe version-15, Please install the 'Event Streaming' app to continue using them: https://github.com/frappe/event_streaming", + fg="yellow", + )