Skip to content

Update the plugin fba version requirement to 2.0 - #1304

Merged
wu-clan merged 1 commit into
masterfrom
feature/plugin-fba-version-2.0
Nov 11, 2026
Merged

wu-clan merged 1 commit into
masterfrom
feature/plugin-fba-version-2.0

Conversation

@wu-clan

@wu-clan wu-clan commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

The bundled plugin manifests still declare fba_version = "~=1.17", which excludes the 2.0.0 release.

parse_plugin_config() validates every installed plugin, enabled or not, so each manifest fails the compatibility check on startup:

插件 config 与当前 fba 版本不兼容,要求 fba 版本 ~=1.17,当前版本 2.0.0

The requirement moves to >=2.0.0,<3.0.0 in the five bundled manifests:

  • backend/plugin/config/plugin.toml
  • backend/plugin/dict/plugin.toml
  • backend/plugin/email/plugin.toml
  • backend/plugin/notice/plugin.toml
  • backend/plugin/oauth2/plugin.toml

The range accepts the 2.0.0 release and keeps the next major line excluded, the same intent as the ~=1.17 declaration it replaces. The separate plugin repositories carry the same declaration and are updated in their own repositories.

Validation:

ruff check --no-fix backend/plugin/
prek run --all-files

The bundled plugin manifests still declare fba_version = "~=1.17", which excludes the 2.0.0 release. parse_plugin_config() validates every installed plugin, so each manifest fails the compatibility check and the application cannot start.
@wu-clan
wu-clan force-pushed the feature/plugin-fba-version-2.0 branch from 7d7e3de to d9692bd Compare November 11, 2026 02:34
@wu-clan wu-clan changed the title Declare plugin compatibility with fba 2.0 Update the plugin fba version requirement to 2.0 Nov 11, 2026
@wu-clan
wu-clan merged commit 80256b2 into master Nov 11, 2026
3 checks passed
@wu-clan
wu-clan deleted the feature/plugin-fba-version-2.0 branch November 11, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant