# Depreciation notice in Spoiler Alert

**URL:** <https://meta.discourse.org/t/depreciation-notice-in-spoiler-alert/282618>\
**Category:** Product Support\
**Tags:** spoiler-alert\
**Created:** [October 18, 2023, 7:27am UTC](https://meta.discourse.org/t/depreciation-notice-in-spoiler-alert/282618 "2023-10-18T07:27:46Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

[Dennis_P_Z](/t/-/282618/1) reports receiving a deprecation notice for the `discourse-spoiler-alert` plugin, indicating that `addToolbarPopupMenuOptionsCallback` has been renamed to `addToolbarPopupMenuOption` as of Discourse 3.2, with removal scheduled for version 3.3. [Canapin](/t/-/282618/2) responds that an update is likely, noting that official plugins are generally maintained and updated to prevent breaking changes, though perfection is not always achieved. [Dennis_P_Z](/t/-/282618/3) acknowledges the response with optimism.

<div class="post-metadata">

**Author:** ![Dennis\_P\_Z](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennis_p_z/32/330504_2.png) [@Dennis\_P\_Z](https://meta.discourse.org/u/Dennis_P_Z)\
**Post date:** [October 18, 2023, 7:27am UTC](https://meta.discourse.org/t/depreciation-notice-in-spoiler-alert/282618/1 "2023-10-18T07:27:46Z")

</div>

Hi. I got this deprecation notice  
`deprecated.js:52 [PLUGIN discourse-spoiler-alert] Deprecation notice: `addToolbarPopupMenuOptionsCallback`has been renamed to`addToolbarPopupMenuOption` [deprecated since Discourse 3.2] [removal in Discourse 3.3] [deprecation id: discourse.add-toolbar-popup-menu-options-callback]`

Will there be any update?

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [October 18, 2023, 9:30am UTC](https://meta.discourse.org/t/depreciation-notice-in-spoiler-alert/282618/2 "2023-10-18T09:30:52Z")

</div>

Probably, yes. We tend not to abandon official plugins and update them if they use outdated code before they break (it sometimes happen, nothing is perfect in this world 😛 ).

---

<div class="post-metadata">

**Author:** ![Dennis\_P\_Z](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennis_p_z/32/330504_2.png) [@Dennis\_P\_Z](https://meta.discourse.org/u/Dennis_P_Z)\
**Post date:** [October 18, 2023, 10:07am UTC](https://meta.discourse.org/t/depreciation-notice-in-spoiler-alert/282618/3 "2023-10-18T10:07:22Z")

</div>

Sure you got that, hope it doesn’t take long 🕶
