9251a5d5fd
Add support for capability plugins ( #1217 )
...
* feat(plugin): support capability plugins
Add capability plugin metadata and parsing so plugins without app/api sections can participate in dependency ordering and hooks without being routed as app plugins.
Also rebuild missing plugin status cache from the normalized plugin config when a route dependency checks plugin state.
* refactor code
---------
Co-authored-by: linwu@onemt.com.cn <linwu@onemt.com.cn >
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com >
2026-07-08 11:19:20 +08:00
Wu Clan
08ee3878c1
Refactor cache key and prefix APIs ( #1210 )
2026-06-25 14:19:37 +08:00
Wu Clan
4b730099cd
Optimize plugin core and add otel hooks ( #1196 )
2026-06-01 18:15:59 +08:00
Wu Clan
bfe4aa91ce
Add uninstall plugin operation checks ( #1165 )
...
* Add uninstall plugin operation checks
* Fix lint
2026-04-27 17:36:00 +08:00
Wu Clan
5d85bc98d2
Optimize the core code ordering of plugins ( #1164 )
2026-04-27 09:51:18 +08:00
Toby Wong and Wu Clan
92f182cd09
Add plugin depends on and lifecycle ordering ( #1153 )
...
* feat: add priority support to LifespanManager.register
* feat: support lifespan stages and plugin dependencies
* Optimize implementations
* Fix dependency resolution
* Fix the depends on type
---------
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com >
2026-04-17 16:54:48 +08:00
YuWorm
b71179cea9
Add plugin system hook function mechanism ( #1142 )
...
* Enhance plugin system with lifespan registry, setup hooks, and patching utilities
* fix: remove registrar.py unused-import
* Optimize implementations
* Update function docs
* update replace_middleware func docs
* Recover deleted comments
2026-04-08 10:35:02 +08:00
Wu Clan
283d762141
Refactor plugin dependency cache and check ( #1140 )
2026-04-02 17:00:20 +08:00
Wu Clan
c96181bd08
Update plugin config and dependency cache ( #1130 )
...
* Update plugin config and dependency cache
* Fix deps check
2026-03-27 23:50:58 +08:00
Wu Clan
23975442d8
Update plugin dynamic import check ( #1112 )
...
* Update plugin dynamic import check
* Update cli dynamic import
2026-03-19 11:49:33 +08:00
Wu Clan
9698dde9c2
Add destroy SQL scripts for multiple plugins ( #1093 )
2026-02-28 22:23:07 +08:00
Wu Clan
6f1c27786d
Add multi level caching and optimize caching ( #1054 )
...
* Add multi level caching and optimize caching
* optimize current caching
* improved decorators
* improved local
* add pub/sub
* fix serialize
* Improve pub and sub
* Add comment
* Fix lru_cache maxsize
* Fix lint
* Fix config warmup
2026-02-02 17:18:49 +08:00
Wu Clan
eb27b5bfed
Add data validator for plugin config ( #1041 )
2026-01-26 21:17:18 +08:00
Wu Clan
383620c899
Update the database and Redis for easier scaling ( #1015 )
...
* Update the database and Redis for easier scaling
* Restore plugin redis variable naming
2026-01-15 16:54:43 +08:00
Wu Clan
b73585ebd2
Optimize definitions of multiple utility functions ( #1001 )
...
* Optimize definitions of multiple utility functions
* Update plugin tools
2026-01-11 16:57:52 +08:00