Skip to content

Commit cc2d288

Browse files
authored
DEV: Add new widget deprecations to the collector (#93)
Extend the deprecation collector by adding new widget-related deprecations: `discourse.widgets-decommissioned` and `discourse.widgets-end-of-life`. This ensures these deprecations are properly tracked for future updates and maintains consistency in the plugin's coverage.
1 parent 351fc25 commit cc2d288

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

deprecation-finder/update_discourse_core_deprecations.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ const idsToInclude = [
7878
"discourse.native-array-extensions.unshiftObjects",
7979
"discourse.native-array-extensions.without",
8080
"discourse.post-stream-widget-overrides",
81+
"discourse.widgets-decommissioned",
82+
"discourse.widgets-end-of-life",
8183
];
8284

8385
async function isExcludedDir(filePath) {

lib/deprecation_collector/deprecation-ids.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,6 @@ discourse_deprecation_ids:
151151
- discourse.utils-decorators-import
152152
- discourse.utils-decorators-observes
153153
- discourse.utils-decorators-on
154+
- discourse.widgets-decommissioned
154155
- discourse.widgets-end-of-life
155156
- float-kit.d-toast.duration

0 commit comments

Comments
 (0)