ErisPulse 2.3.0__tar.gz → 2.3.0.dev5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- erispulse-2.3.0.dev5/.github/workflows/auto-tag-release.yml +117 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.gitignore +0 -1
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/CHANGELOG.md +0 -28
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/PKG-INFO +1 -1
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/README.md +0 -3
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/ai/AIDocs/ErisPulse-AdapterDev.md +506 -1362
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/ai/AIDocs/ErisPulse-Full.md +422 -1288
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/ai/AIDocs/ErisPulse-ModuleDev.md +5 -617
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Bases/__init__.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Bases/adapter.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Bases/module.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/__init__.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/base.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/command.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/exceptions.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/message.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/meta.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/notice.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/Event/request.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/adapter.md +8 -17
- erispulse-2.3.0.dev5/docs/api/ErisPulse/Core/config.md +44 -0
- erispulse-2.3.0/docs/api/ErisPulse/Core/_self_config.md → erispulse-2.3.0.dev5/docs/api/ErisPulse/Core/erispulse_config.md +3 -11
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/exceptions.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/lifecycle.md +2 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/logger.md +4 -28
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/module.md +3 -3
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/router.md +2 -11
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/Core/storage.md +3 -29
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/api/ErisPulse/__init__.md +124 -26
- erispulse-2.3.0/docs/api/ErisPulse/utils/package_manager.md → erispulse-2.3.0.dev5/docs/api/ErisPulse/__main__.md +211 -5
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/README.md +0 -1
- erispulse-2.3.0.dev5/docs/core/event-system.md +274 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/modules.md +13 -171
- erispulse-2.3.0.dev5/examples/example-adapter/MyAdapter/Core.py +73 -0
- erispulse-2.3.0.dev5/examples/example-adapter/MyAdapter/__init__.py +5 -0
- erispulse-2.3.0.dev5/examples/example-module/MyModule/Core.py +90 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/packages.json +1 -1
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/pyproject.toml +1 -1
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/_self_config.py +2 -14
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/ux.py +33 -4
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/__init__.py +9 -142
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/utils/__init__.py +0 -2
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/utils/cli.py +82 -72
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/utils/package_manager.py +3 -1
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/utils/reload_handler.py +34 -10
- erispulse-2.3.0/.github/workflows/auto-tag-release.yml +0 -95
- erispulse-2.3.0/docs/api/ErisPulse/Core/config.md +0 -82
- erispulse-2.3.0/docs/api/ErisPulse/Core/ux.md +0 -101
- erispulse-2.3.0/docs/api/ErisPulse/__main__.md +0 -30
- erispulse-2.3.0/docs/api/ErisPulse/utils/__init__.md +0 -16
- erispulse-2.3.0/docs/api/ErisPulse/utils/cli.md +0 -157
- erispulse-2.3.0/docs/api/ErisPulse/utils/reload_handler.md +0 -69
- erispulse-2.3.0/docs/core/event-system.md +0 -597
- erispulse-2.3.0/docs/core/lazy-loading.md +0 -261
- erispulse-2.3.0/docs/core/router.md +0 -535
- erispulse-2.3.0/docs/core/self-config.md +0 -188
- erispulse-2.3.0/examples/example-adapter/MyAdapter/Converter.py +0 -38
- erispulse-2.3.0/examples/example-adapter/MyAdapter/Core.py +0 -141
- erispulse-2.3.0/examples/example-adapter/MyAdapter/__init__.py +0 -7
- erispulse-2.3.0/examples/example-module/MyModule/Core.py +0 -166
- erispulse-2.3.0/src/ErisPulse/utils/console.py +0 -53
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/ISSUE_TEMPLATE/module_submission.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/assets/docs/install_pip.gif +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/assets/erispulse_logo.png +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/scripts/update_packages.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/tools/merge_md.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/tools/update-api-docs.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/workflows/auto-update-packages.yml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/workflows/code-quality-check.yml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.github/workflows/pypi-publish.yml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/.python-version +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/CODE_OF_CONDUCT.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/CONTRIBUTING.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/LICENSE +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/SECURITY.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_adapter.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_cmd.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_event.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_files/test.docx +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_files/test.jpg +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/devs/test_files/test.mp4 +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/ai/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/ai/module-generation.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/adapters.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/best-practices.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/cli.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/core/concepts.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/development/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/development/adapter.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/development/cli.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/development/module.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/email.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/maintain-notes.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/onebot11.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/telegram.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/platform-features/yunhu.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/quick-start.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/standards/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/standards/api-response.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/standards/event-conversion.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/styleguide/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/docs/styleguide/docstring_spec.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-adapter/LICENSE +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-adapter/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-adapter/pyproject.toml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-cli-module/LICENSE +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-cli-module/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-cli-module/my_cli_module/__init__.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-cli-module/my_cli_module/cli.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-cli-module/pyproject.toml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-module/LICENSE +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-module/MyModule/__init__.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-module/README.md +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/examples/example-module/pyproject.toml +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/scripts/install/install.ps1 +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/scripts/install/install.sh +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Bases/__init__.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Bases/adapter.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Bases/module.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/__init__.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/base.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/command.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/exceptions.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/message.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/meta.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/notice.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/Event/request.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/__init__.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/adapter.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/config.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/exceptions.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/lifecycle.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/logger.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/module.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/router.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/Core/storage.py +0 -0
- {erispulse-2.3.0 → erispulse-2.3.0.dev5}/src/ErisPulse/__main__.py +0 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
name: 🎀 艾莉丝的版本标签魔法 ~
|
|
2
|
+
|
|
3
|
+
permissions:
|
|
4
|
+
contents: write
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [main, Pre-Release/v2]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
auto-tag-and-release:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- name: 检出代码
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
19
|
+
|
|
20
|
+
- name: 读取版本卷轴
|
|
21
|
+
id: info
|
|
22
|
+
shell: bash
|
|
23
|
+
run: |
|
|
24
|
+
version=$(grep '^version' pyproject.toml | head -1 | sed 's/version = "//;s/"//')
|
|
25
|
+
echo "version=$version" >> $GITHUB_OUTPUT
|
|
26
|
+
echo "发现新版本: $version"
|
|
27
|
+
|
|
28
|
+
if [[ $version =~ dev|alpha|beta|a|b ]]; then
|
|
29
|
+
echo "is_dev=true" >> $GITHUB_OUTPUT
|
|
30
|
+
else
|
|
31
|
+
echo "is_dev=false" >> $GITHUB_OUTPUT
|
|
32
|
+
fi
|
|
33
|
+
|
|
34
|
+
commit_msg=$(git log -1 --pretty=%B)
|
|
35
|
+
commit_short=$(git rev-parse --short HEAD)
|
|
36
|
+
commit_author=$(git log -1 --pretty=%an)
|
|
37
|
+
commit_email=$(git log -1 --pretty=%ae)
|
|
38
|
+
echo "commit_short=$commit_short" >> $GITHUB_OUTPUT
|
|
39
|
+
echo "commit_author=$commit_author" >> $GITHUB_OUTPUT
|
|
40
|
+
echo "commit_email=$commit_email" >> $GITHUB_OUTPUT
|
|
41
|
+
echo "commit_msg<<EOF" >> $GITHUB_OUTPUT
|
|
42
|
+
echo "$commit_msg" >> $GITHUB_OUTPUT
|
|
43
|
+
echo "EOF" >> $GITHUB_OUTPUT
|
|
44
|
+
|
|
45
|
+
- name: 获取变更文件列表和贡献者
|
|
46
|
+
id: changed_files
|
|
47
|
+
shell: bash
|
|
48
|
+
run: |
|
|
49
|
+
before="${{ github.event.before }}"
|
|
50
|
+
after="${{ github.sha }}"
|
|
51
|
+
|
|
52
|
+
if [[ "$before" == "0000000000000000000000000000000000000000" ]]; then
|
|
53
|
+
before="HEAD~1"
|
|
54
|
+
fi
|
|
55
|
+
|
|
56
|
+
echo "before=$before" >> $GITHUB_OUTPUT
|
|
57
|
+
echo "after=$after" >> $GITHUB_OUTPUT
|
|
58
|
+
|
|
59
|
+
# 获取变更文件列表
|
|
60
|
+
files=$(git diff --name-only $before..$after | head -n 50 | xargs)
|
|
61
|
+
file_count=$(git diff --name-only $before..$after | wc -l)
|
|
62
|
+
|
|
63
|
+
if [ "$file_count" -gt 50 ]; then
|
|
64
|
+
files="$files ..."
|
|
65
|
+
fi
|
|
66
|
+
echo "files=$files" >> $GITHUB_OUTPUT
|
|
67
|
+
|
|
68
|
+
# 获取贡献者列表
|
|
69
|
+
contributors=$(git log $before..$after --format="%an <%ae>" | sort -u)
|
|
70
|
+
echo "contributors<<EOF" >> $GITHUB_OUTPUT
|
|
71
|
+
echo "$contributors" >> $GITHUB_OUTPUT
|
|
72
|
+
echo "EOF" >> $GITHUB_OUTPUT
|
|
73
|
+
|
|
74
|
+
- name: 施展版本魔法
|
|
75
|
+
env:
|
|
76
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
77
|
+
shell: bash
|
|
78
|
+
run: |
|
|
79
|
+
version="${{ steps.info.outputs.version }}"
|
|
80
|
+
commit_short="${{ steps.info.outputs.commit_short }}"
|
|
81
|
+
commit_author="${{ steps.info.outputs.commit_author }}"
|
|
82
|
+
commit_email="${{ steps.info.outputs.commit_email }}"
|
|
83
|
+
commit_msg="${{ steps.info.outputs.commit_msg }}"
|
|
84
|
+
is_dev="${{ steps.info.outputs.is_dev }}"
|
|
85
|
+
contributors="${{ steps.changed_files.outputs.contributors }}"
|
|
86
|
+
tag_name="v$version"
|
|
87
|
+
|
|
88
|
+
# 构建发布说明
|
|
89
|
+
if [ -f "docs/CHANGELOG.md" ]; then
|
|
90
|
+
changelog=$(sed -n "/^## \[$version\]/,/^## /p" docs/CHANGELOG.md | sed '1d;$d')
|
|
91
|
+
fi
|
|
92
|
+
|
|
93
|
+
if [ -z "$changelog" ]; then
|
|
94
|
+
changelog="### ✨✨ 魔法更新\n\n- $commit_msg ($commit_short)\n\n"
|
|
95
|
+
else
|
|
96
|
+
changelog="$changelog\n\n"
|
|
97
|
+
fi
|
|
98
|
+
|
|
99
|
+
if ! git rev-parse "$tag_name" >/dev/null 2>&1; then
|
|
100
|
+
echo "🎀🎀 施加新的魔法印记..."
|
|
101
|
+
git tag "$tag_name"
|
|
102
|
+
git push origin "$tag_name"
|
|
103
|
+
fi
|
|
104
|
+
|
|
105
|
+
if gh release view "$tag_name" &>/dev/null; then
|
|
106
|
+
gh release edit "$tag_name" \
|
|
107
|
+
--notes "$changelog" \
|
|
108
|
+
--prerelease=$is_dev
|
|
109
|
+
echo "🌟 已更新魔法版本 $tag_name"
|
|
110
|
+
else
|
|
111
|
+
gh release create "$tag_name" \
|
|
112
|
+
--notes "$changelog" \
|
|
113
|
+
--title "✨ 艾莉丝的魔法更新 $tag_name" \
|
|
114
|
+
--prerelease=$is_dev
|
|
115
|
+
echo "✨ 已发布新的魔法版本 $tag_name"
|
|
116
|
+
fi
|
|
117
|
+
|
|
@@ -31,34 +31,6 @@
|
|
|
31
31
|
- 具体功能点2
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
## [2.3.0] - 2025/12/25
|
|
35
|
-
### 修复
|
|
36
|
-
- @wsu2059q
|
|
37
|
-
- 修复控制台颜色主题导入报错导致安装中断的问题
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
## [2.3.0-dev.6] - 2025/12/22
|
|
41
|
-
> 开发版本
|
|
42
|
-
|
|
43
|
-
### 新增
|
|
44
|
-
- @wsu2059q
|
|
45
|
-
- 新增框架配置解析文档,包括框架的默认配置项及其含义
|
|
46
|
-
- 新增懒加载模块系统、路由管理器和事件系统文档
|
|
47
|
-
- 新增懒加载全局配置支持,允许通过配置文件控制是否使用懒加载
|
|
48
|
-
|
|
49
|
-
### 变更
|
|
50
|
-
- @wsu2059q
|
|
51
|
-
- 优化懒加载模块初始化逻辑,支持同步初始化和异步初始化分离
|
|
52
|
-
- 新增 `_initialize_sync()` 方法,用于在异步上下文中进行同步调用
|
|
53
|
-
- 新增 `_complete_async_init()` 方法,用于完成异步初始化部分
|
|
54
|
-
- 优化CLI资源清理逻辑:
|
|
55
|
-
- 分离适配器和模块清理逻辑
|
|
56
|
-
|
|
57
|
-
### 修复
|
|
58
|
-
- @wsu2059q
|
|
59
|
-
- 修复懒加载模块在异步上下文中初始化可能出现的问题
|
|
60
|
-
- 修复配置系统中的缓存一致性检查问题
|
|
61
|
-
|
|
62
34
|
---
|
|
63
35
|
## [2.3.0-dev.5] - 2025/12/21
|
|
64
36
|
> 开发版本
|
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
- [核心模块](core/modules.md) - 存储、配置、日志等核心组件详解
|
|
21
21
|
- [适配器系统](core/adapters.md) - 平台适配器的使用和开发
|
|
22
22
|
- [事件系统](core/event-system.md) - Event 模块的使用(事件监听、事件处理、事件分发)
|
|
23
|
-
- [懒加载模块系统](core/lazy-loading.md) - 懒加载模块系统的使用和配置
|
|
24
|
-
- [路由管理器](core/router.md) - HTTP和WebSocket路由管理
|
|
25
|
-
- [框架配置](core/self-config.md) - 框架默认配置说明
|
|
26
23
|
- [最佳实践](core/best-practices.md) - 开发和部署建议
|
|
27
24
|
|
|
28
25
|
### 开发指南
|