From 1219833cb8517ab99c64c9899a576316a1a13f80 Mon Sep 17 00:00:00 2001 From: "Hiroshi.tao" Date: Wed, 25 Jun 2025 09:50:08 +0800 Subject: [PATCH] dump version 3.10.1 --- CHANGELOG.rst | 4 ++-- flask_pluginkit/pluginkit.py | 6 ++---- flask_pluginkit/version.py | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f30703d..a0bf573 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,9 +1,9 @@ .. currentmodule:: flask-pluginkit -v3.10.0 +v3.10.1 ------- -Released in 2025-06-24 +Released in 2025-06-25 - feat: add pip command(install/list/show) - feat: :class:`~flask_pluginkit.PluginManager` add `install_package` param, automatically install the plugin package from PyPi or VCS. diff --git a/flask_pluginkit/pluginkit.py b/flask_pluginkit/pluginkit.py index 7ed3a19..0e5f09b 100644 --- a/flask_pluginkit/pluginkit.py +++ b/flask_pluginkit/pluginkit.py @@ -93,17 +93,15 @@ class PluginManager(object): :param Logger logger: logging instance, for debug. - :param str stpl: turn on template sorting when the value is True, ASC, DESC. + :param str stpl: turn on template sorting when the value is ASC, DESC. Sorting rules can be used, DESC or ASC(default). :param List[str] plugin_packages: load the third-party plugin packages. :param Dict[str, Union[str, bool, List[str]]] install_packages: auto install the list of third-party plugin packages. - Format: {pkgs: ["pkg-from-pypi", "pkg-from-git", ...]} + Format: {pkgs: ["PyPi-pkg", "VSC@branch#egg=pkg", ...]} Other params refer to :func:`flask_pluginkit.utils.pip_install`. - :param bool try_compatible: if True, it will try to load old version plugins. - :param static_url_path: can be used to specify a different path for the static files on the plugins. Defaults to the name of the `static_endpoint` folder. diff --git a/flask_pluginkit/version.py b/flask_pluginkit/version.py index 100d4de..dcfe84b 100644 --- a/flask_pluginkit/version.py +++ b/flask_pluginkit/version.py @@ -1 +1 @@ -__version__ = "3.10.0" \ No newline at end of file +__version__ = "3.10.1" \ No newline at end of file