Skip to content

A platform for community discussion. Free, open, simple.

DEV: Make it clear that plugin-api on the client side follows semver. (#15070)

Alan Guo Xiang Tandb5edc713b95
diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.js b/app/assets/javascripts/discourse/app/lib/plugin-api.js
index e869e47daae..5d7d924a72f 100644
--- a/app/assets/javascripts/discourse/app/lib/plugin-api.js
+++ b/app/assets/javascripts/discourse/app/lib/plugin-api.js
@@ -93,7 +93,8 @@ import {
import { CUSTOM_USER_SEARCH_OPTIONS } from "select-kit/components/user-chooser";
import { downloadCalendar } from "discourse/lib/download-calendar";
-// If you add any methods to the API ensure you bump up this number
+// If you add any methods to the API ensure you bump up the version number
+// based on Semantic Versioning 2.0.0.
const PLUGIN_API_VERSION = "0.14.0";
// This helper prevents us from applying the same `modifyClass` over and over in test mode.