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

This commit is contained in:
Alan Guo Xiang Tan 2021-11-25 09:26:28 +08:00 committed by GitHub
parent 704974da6a
commit db5edc713b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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.