diff --git a/CHANGELOG.md b/CHANGELOG.md index 942383f5..6b5cf2f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ and this project adheres to ## [Unreleased] +### Changed + +- 🗑️(settings) deprecate SUMMARY_SERVICE_VERSION=1 + + ## [1.23.0] - 2026-07-08 ### Added diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py index 86bfc2a1..7faba84e 100755 --- a/src/backend/meet/settings.py +++ b/src/backend/meet/settings.py @@ -13,6 +13,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/ # pylint: disable=too-many-lines import json +import warnings from os import path from socket import gethostbyname, gethostname @@ -1128,6 +1129,20 @@ class Base(Configuration): "FILE_UPLOAD_TMP_PATH cannot be the same as FILE_UPLOAD_PATH" ) + if ( + cls.SUMMARY_SERVICE_VERSION == 1 + and cls.SUMMARY_SERVICE_ENDPOINT is not None + ): + warnings.warn( + "SUMMARY_SERVICE_VERSION=1 is deprecated. " + "The legacy v1 API has been removed from the experimental " + "Summary service. Please update your Summary service deployment to " + "the v2 API and set SUMMARY_SERVICE_VERSION=2.", + # We use UserWarning to make sure it shows up in production deployment + UserWarning, + stacklevel=2, + ) + # The SENTRY_DSN setting should be available to activate sentry for an environment if cls.SENTRY_DSN is not None: sentry_sdk.init(