v3.5.0
What's Changed
- Remove ".paper-remapped/" from plugin path by @pavog in #91
- Added
- PluginFileProblem which is a base class for all problems that are related to a plugin file. It holds the plugin file path and offers a generic function (setMatches) to extract the plugin file name and path from the errors, as well as adding the solutions PluginInstallDifferentVersionSolution and PluginInstallDifferentVersionSolution and FileDeleteSolution
- Function correctPluginPath to PluginProblem that corrects the ".paper-remapped" in the plugin path
- Function extractPluginName to PluginProblem that extracts the plugin name from the plugin path
- Function extractPluginFileName to PluginProblem that extracts the plugin file name from the plugin path
- Changed
- AmbiguousPluginNameProblem now extends PluginProblem
- PluginDependenciesProblem now extends PluginFileProblem which adds the PluginInstallDifferentVersionSolution to it
- PluginDependencyProblem now extends the PluginFileProblem which adds the PluginInstallDifferentVersionSolution to it
- PluginLoadProblem now extends PluginFileProblem
- UnsupportedApiVersionProblem now extends PluginFileProblem
- UnsupportedClassVersionProblem now extends PluginFileProblem which adds the PluginInstallDifferentVersionSolution to it
- PluginRegionalTickingProblem now extends PluginFileProblem and suggests the PluginInstallDifferentVersionSolution
- ApiVersionLowerThanPluginProblem now extends PluginFileProblem
- Added test logs
- paper-multiple-dependencies-1-21-1
- paper-plugin-api-version-too-low-1-21-1
- paper-plugin-dependency-1-21-1
- paper-plugin-unsupported-class-version-1-21-1
- paper-unsupported-api-version-1-21-1
- Added
Full Changelog: v3.4.0...v3.5.0