Removal of SendingXNotifications in v14 #16329
Replies: 7 comments 26 replies
-
I just stumbled on this because I am preparing for a upgrade to V14. This will prevent us to do a upgrade. Also I think it's very strange this get's removed without any heads up. This is in conflict with Umbraco's own deprication policy : When we need to remove something from i.e. the public API, we will release a minor version with the deprecation in it, and keep it around for the next major as well (so announced deprecation in 10.2.0 means it will no longer be available in 12.0.0). See : https://umbraco.com/products/knowledge-center/versioning-and-release-cadence/ Some of the use cases of these events can be found in the code examples of my DF22 talk : https://github.com/dawoe/df22-journey-into-the-unknown/tree/main But what makes it even worse a lot the things removed in this PR (#15855) are still documented. And as it seems there is no alternative. |
Beta Was this translation helpful? Give feedback.
-
oof, this sucks! I'm preparing to update a number of our packages to Umbraco 15 and we have quite some logic to manipulates the menu's in Umbraco. I don't mind if this logic needs to go somewhere else, but it seems that there is currently no alternative...? I understand the need to rework the backoffice and I think it's a very good step towards the future, but tbh, as a company, it's a complete pain in the butt. |
Beta Was this translation helpful? Give feedback.
-
I came across this problem while creating a new package for Umbraco. I can't move forward if there's no alternative for this. And I know many other packages that use these notifications to make changes to the backoffice. We're already in v15 and it's definitely not ready for production unless you just want a simple site. |
Beta Was this translation helpful? Give feedback.
-
While I haven’t used SendingContentNotification directly, I had been exploring its use for a now seemingly unsupported scenario. After all the v15 documentation still references editor model notifications, which adds to the confusion. Here’s the use case I was working on:
The content is "Active" if published and the current time is between startDate and endDate; otherwise, it’s "Inactive." My goal was to compute this state as a readonly property in order to:
Are there alternative patterns, workflows, or extension points in v15 that would support this type of dynamic computation and communication to editors? Any guidance or clarification would be much appreciated. I’m still relatively new to Umbraco, so I may have overlooked an obvious approach. |
Beta Was this translation helpful? Give feedback.
-
I've had a scoot through a few of the repositories for existing sites, (which will one day need to be migrated) where these kinds of techniques have been utilised, with an attempt to uncover common use cases. My intention was to do a talk called 'Who grated my cheese?' - showing how those quick and easy c# enhancements and workarounds that implementers have relied on for years, could be reimagined in belissima, but also understanding the use cases might lead to better solutions to the problems than the c# events provided.
Anyway hope this gives some insights into how these kind of things were used, and hopefully you can see by listing the use cases, and thinking about them, very rarely is the conclusion, we just need those c# events back!! They were largely introduced to 'bat off' niche requests of Umbraco core functionality, but now can see the dialogue is shirting around to t lets make Umbraco be able to do more of these things without custom ad-hoc workarounds, you can see even, by using these events we are hiding the existence of bugs! After years of using them, these c# events are firmly embedded in the toolbelt of quick and easy Umbraco solutions, to move forwards we just need to grasp how to achieve the same but differently in the future, upgraded V13 sites are still probably the biggest target audience for new Umbraco 15+ sites, the sooner we can remove the barriers to migration the sooner we can have the new cheese... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
AFAIK there's no API to influence or change how these icons are rendered. My first approach to porting my custom backoffice icons package to Umbraco 15 was to monkey patch the client side rendering method:
I settled on Middleware, but my needs are different. |
Beta Was this translation helpful? Give feedback.
-
I think these notifications have been undervalued and shouldn't be removed in v14. They are quick to make little tweaks to what the back office allows a user to do. In particular SendingContentNotification.
I get the want for Front end/ Back end separation, manipulation the data sent to the front end is really useful. This might be a case of where's my cheese, but would like to at least know why.
discord link - https://discord.com/channels/869656431308189746/1238039395748020275 (will post this link here ofc)
Beta Was this translation helpful? Give feedback.
All reactions