Skip to content

Conversation

@knolleary
Copy link
Member

Closes #117

Adds support for deprecating modules in the catalogue - as well as picking that status up from npm.

Admin users now have an option to edit deprecation settings:

image

Text message is optional.

If deprecated, the message is shown:

image

It will also pick this up from the npm registry if a module is marked as deprecated then updated - but the admin can override the setting via this ui.

The generated catalogue will then include the deprecated property as well. Support for reflecting that in the editor will come in 4.1 via node-red/node-red#5134

@knolleary knolleary merged commit 6593232 into master May 15, 2025
1 check passed
@dceejay
Copy link
Member

dceejay commented May 15, 2025

@knolleary - Is it possible for the deprecation details to include a link to a replacement ?
(IE is html allowed in the text or does it get sanitised ?)

@knolleary
Copy link
Member Author

It is sanitised for now. Didn't want it to be a vector for injecting content into the editor.

@dceejay
Copy link
Member

dceejay commented May 15, 2025

ok - just have to use words then :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: track deprecated status

3 participants