docs: document ClassIsland 2.0.0.0+ host compatibility - #2
Open
PANDAJSR wants to merge 1 commit into
Open
Conversation
The plugin manifest declares apiVersion 2.0.0.0 and every ClassIsland host from 2.0.0.0 only rejects plugins below that API version, so the plugin runs on all 2.0.0.0+ hosts (2.0.x/2.1.x). Records the verified floor for SECTL/SecAgent#9 so users know the supported host range.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
联动插件(本仓库)实际已在清单中声明
apiVersion: 2.0.0.0,即最低宿主版本本来就是 2.0.0.0;SecAgent 桌面端此前把安装门槛设成了 2.1.1.0(见 SECTL/SecAgent#9),属于过度收紧。本次在本仓库补充 README 说明,明确可运行的宿主版本范围。兼容性依据(参考 ClassIsland 源码)
2.0.0.0起(ClassIsland/Services/PluginService.cs)只拒绝apiVersion < new Version(2,0,0,0)的插件,本插件manifest.yml的apiVersion: 2.0.0.0恰好满足;该检查在 2.0.0.0 → 2.1.1.1 各标签保持一致。PluginBase.Initialize、IAppHost.Host/GetService/TryGetService、AppBase.AppVersion/Current/AppStopping、IProfileService.CurrentProfilePath、IComponentsService.CurrentComponents/RefreshConfigs、IExactTimeService.GetCurrentLocalDateTime、CommonDirectories.AppRootFolderPath、SettingsWindowRegistryExtensions.AddSettingsPage<T>、SettingsPageBase等都在 ClassIsland2.0.0.0标签中存在。27e93bb(1.7.106.2)是2.0.0.0标签的祖先提交,且csproj对 SDK 使用ExcludeAssets=runtime;native,运行时绑定宿主程序集,不存在版本超前问题。结论:ClassIsland 2.0.0.0 及之后的 2.0.x/2.1.x 宿主均可加载并运行本插件;1.x 旧宿主使用旧版插件体系,不在支持范围(与 SECTL/SecAgent#9 中「2.0.0.0 以上都支持」的诉求一致)。
对应 SecAgent 端已把
MIN_CLASSISLAND_VERSION从 2.1.1.0 下调为 2.0.0.0(见 SECTL/SecAgent 中本 issue 的修复 PR)。