Where do I find which versions of discourse support which plugin api version. Currently I am using pluginapi v 0.8 because I found it in discourse theme guide. But I haven’t been able to locate plugin api versions and their link with discourse versions.
3 „Gefällt mir“
Not sure if this is the best way, but perhaps you can look at the plugin-api.js file (line 89) where the version number is listed:
const PLUGIN_API_VERSION = “0.12.3”
and compare that number across different commits of Discourse?
1 „Gefällt mir“
Thank you that’s very helpful
1 „Gefällt mir“
Es sieht so aus, als ob die aktuelle Datei für die Version, auf der ich mich befinde (3.2.0), hier ist:
Dies ist eine wirklich obskure Methode, um die API-Version zu finden, die wir verwenden sollen.
Meine bisherige Erfahrung ist, dass das Skript, wenn man es falsch macht, stillschweigend nicht geladen wird.