Skip to content

Commit 6e81d5c

Browse files
committed
AC-9246: Mark Magento_ReleaseNotification module deprecated in 2.4.7
1 parent 55d25c1 commit 6e81d5c

File tree

11 files changed

+38
-2
lines changed

11 files changed

+38
-2
lines changed

app/code/Magento/ReleaseNotification/Controller/Adminhtml/Notification/MarkUserNotified.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
use Psr\Log\LoggerInterface;
1515

1616
/**
17-
* Controller to record that the current admin user has seen the release notification content
17+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
18+
* in favor of another in-product messaging mechanism
19+
* @see Current in-product messaging mechanism
1820
*/
1921
class MarkUserNotified extends Action
2022
{

app/code/Magento/ReleaseNotification/Model/Condition/CanViewNotification.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* Dynamic validator for UI release notification, manage UI component visibility.
1616
* Return true if the logged in user has not seen the notification.
1717
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
18+
*
19+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
20+
* in favor of another in-product messaging mechanism
21+
* @see Current in-product messaging mechanism
1822
*/
1923
class CanViewNotification implements VisibilityConditionInterface
2024
{

app/code/Magento/ReleaseNotification/Model/ContentProvider/Http/HttpContentProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
/**
1515
* Requests the release notification content data via an HTTP call to a REST API
16+
*
17+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
18+
* in favor of another in-product messaging mechanism
19+
* @see Current in-product messaging mechanism
1620
*/
1721
class HttpContentProvider implements ContentProviderInterface
1822
{

app/code/Magento/ReleaseNotification/Model/ContentProvider/Http/UrlBuilder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
/**
1111
* Builder to build Url to retrieve the notification content.
12+
*
13+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
14+
* in favor of aMagento OS 2.4.7
15+
* @see Current in-product messaging mechanism
1216
*/
1317
class UrlBuilder
1418
{

app/code/Magento/ReleaseNotification/Model/ContentProviderInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
/**
1010
* Requests the release notification content data from a defined service
1111
* @api
12+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
13+
* in favor of another in-product messaging mechanism
14+
* @see Current in-product messaging mechanism
1215
*/
1316
interface ContentProviderInterface
1417
{

app/code/Magento/ReleaseNotification/Model/ResourceModel/Viewer/Logger.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
* Release notification viewer log data logger.
1616
*
1717
* Saves and retrieves release notification viewer log data.
18+
*
19+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
20+
* in favor of another in-product messaging mechanism
21+
* @see Current in-product messaging mechanism
1822
*/
1923
class Logger
2024
{

app/code/Magento/ReleaseNotification/Model/Viewer/Log.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
/**
1111
* Release notification viewer log resource
12+
*
13+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
14+
* in favor of another in-product messaging mechanism
15+
* @see Current in-product messaging mechanism
1216
*/
1317
class Log extends DataObject
1418
{

app/code/Magento/ReleaseNotification/Ui/DataProvider/Modifier/Notifications.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
* Modifies the metadata returning to the Release Notification data provider
2121
*
2222
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
23+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
24+
* in favor of another in-product messaging mechanism
25+
* @see Current in-product messaging mechanism
2326
*/
2427
class Notifications implements ModifierInterface
2528
{

app/code/Magento/ReleaseNotification/Ui/DataProvider/NotificationDataProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
/**
1616
* Data Provider for the Release Notifications UI component.
17+
*
18+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
19+
* in favor of another in-product messaging mechanism
20+
* @see Current in-product messaging mechanism
1721
*/
1822
class NotificationDataProvider implements DataProviderInterface
1923
{

app/code/Magento/ReleaseNotification/Ui/Renderer/NotificationRenderer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
/**
1212
* Builds the HTML for the release notification modals
13+
*
14+
* @deprecated Starting from Magento OS 2.4.7 Magento_ReleaseNotification module is deprecated
15+
* in favor of another in-product messaging mechanism
16+
* @see Current in-product messaging mechanism
1317
*/
1418
class NotificationRenderer
1519
{

0 commit comments

Comments
 (0)