Versione API del Plugin

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 Mi Piace

@Usman_Shahid

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 Mi Piace

Thank you that’s very helpful

1 Mi Piace

Sembra che il file corrente per la versione su cui mi trovo (3.2.0) sia qui:

Questo è un modo davvero oscuro per trovare la versione dell’API che dovremmo usare.

La mia esperienza finora, se sbagli, è che lo script non viene caricato silenziosamente.