I was wondering, is there a way to deprecate some theme app extension blocks?
Over the years I’ve replaced some old blocks with new ones. The old ones should no longer be used so I’ve added ‘DEPRECATED” to the block settings but some customers don’t read and still end up adding these blocks. Is there a way to deprecate blocks without affecting these customers? E.g. if you have the old block, you still see it, but new customers won’t and if you remove the block, you can only add the non deprecated blocks.
I recommend using app-owned metafields to display a deprecation message in the theme editor before using available_if. When available_if removes existing app blocks from themes, it can confuse merchants if their blocks disappear without warning.
That being said, better native support for deprecating older app blocks would be an ideal app developer and merchant experience. I’ll put this down as a feature request so we can look into this. Thank you both for the insight!