Parcourir la source

chore: add depreciation warning for event streaming (#17987)

inlieu of event_streaming app
version-14
Ritwik Puri il y a 2 ans
committed by GitHub
Parent
révision
d182a6c40c
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
2 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. +1
    -0
      frappe/patches.txt
  2. +9
    -0
      frappe/patches/v14_0/event_streaming_deprecation_warning.py

+ 1
- 0
frappe/patches.txt Voir le fichier

@@ -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


+ 9
- 0
frappe/patches/v14_0/event_streaming_deprecation_warning.py Voir le fichier

@@ -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",
)

Chargement…
Annuler
Enregistrer