You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(config): enable legacy version file by default (#532)
Add strategy configuration support for legacy version file parsing with three options: latest_installed, latest_available, and specified. Update documentation to reflect these changes and default enable state.
Copy file name to clipboardExpand all lines: docs/plugins/create/howto.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,6 +233,10 @@ This hook is used to parse other configuration files to determine the version of
233
233
This hook must be used with the `legacyFilenames` configuration item to tell `vfox` which files your plugin can parse.
234
234
:::
235
235
236
+
::: tip Strategy Configuration
237
+
When implementing this hook function, you can access the user-configured parsing strategy through `ctx.strategy`. For detailed strategy configuration, please refer to the [Configuration Documentation](../../guides/configuration.md#legacy-version-file).
0 commit comments