# 更新日志 > 本页面由框架命令 `./zhamao generate:text update-log-md` 自动生成 ## v3.2.1 > 更新时间:2023-06-07 * 修复 3.2.0 中 dbType 报错的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#363](https://github.com/zhamao-robot/zhamao-framework/pull/363) **源码变更记录**: ## v3.2.0 > 更新时间:2023-06-06 * 新增便捷 SQLite 模式 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#362](https://github.com/zhamao-robot/zhamao-framework/pull/362) **源码变更记录**: ## v3.1.14 > 更新时间:2023-05-31 * 抽象数据库连接池的方法 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#359](https://github.com/zhamao-robot/zhamao-framework/pull/359) **源码变更记录**: ## v3.1.13 > 更新时间:2023-05-26 * 修复使用框架的计时器和计时器注解时内部使用协程导致报错的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#358](https://github.com/zhamao-robot/zhamao-framework/pull/358) **源码变更记录**: ## v3.1.12 > 更新时间:2023-05-24 * 修复 Ergodic 中间件使用过程中报错的问题 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#357](https://github.com/zhamao-robot/zhamao-framework/pull/357) **源码变更记录**: ## v3.1.11 > 更新时间:2023-05-24 * 修复类名全类适用注解排序问题(类名注解应靠前) by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#356](https://github.com/zhamao-robot/zhamao-framework/pull/356) **源码变更记录**: ## v3.1.10 > 更新时间:2023-05-20 * 修复 Release Artifact 构建 by [@sunxyw](https://github.com/sunxyw) in [PR#351](https://github.com/zhamao-robot/zhamao-framework/pull/351) * 添加 ZMChatGPT 插件 by [@DreamMiu](https://github.com/DreamMiu) in [PR#352](https://github.com/zhamao-robot/zhamao-framework/pull/352) * 修复 #353 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#355](https://github.com/zhamao-robot/zhamao-framework/pull/355) ## New Contributors * [@DreamMiu](https://github.com/DreamMiu) made their first contribution in [PR#352](https://github.com/zhamao-robot/zhamao-framework/pull/352) **源码变更记录**: ## v3.1.9 > 更新时间:2023-04-15 * 修复命令的 Bootstrap 重复执行导致插件重复加载的问题 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#349](https://github.com/zhamao-robot/zhamao-framework/pull/349) **源码变更记录**: ## v3.1.8 > 更新时间:2023-04-10 * 本次更新包含文档更新内容 1 个 * 一键安装脚本移除 Swoole by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#347](https://github.com/zhamao-robot/zhamao-framework/pull/347) * 新增 WebSocket 客户端 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#348](https://github.com/zhamao-robot/zhamao-framework/pull/348) **源码变更记录**: ## v3.1.7 > 更新时间:2023-03-29 * 完善框架插件系统命令 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#345](https://github.com/zhamao-robot/zhamao-framework/pull/345) **源码变更记录**: ## v3.1.6 > 更新时间:2023-03-28 * 修复命令别名冲突的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#344](https://github.com/zhamao-robot/zhamao-framework/pull/344) **源码变更记录**: ## v3.1.5 > 更新时间:2023-03-17 * 添加 RuntimePreferences 配置目录回退 by [@sunxyw](https://github.com/sunxyw) in [PR#343](https://github.com/zhamao-robot/zhamao-framework/pull/343) **源码变更记录**: ## v3.1.4 > 更新时间:2023-03-17 * 修复 Symfony Console Event Dispatcher 接口缺失 by [@sunxyw](https://github.com/sunxyw) in [PR#342](https://github.com/zhamao-robot/zhamao-framework/pull/342) **源码变更记录**: ## v3.1.3 > 更新时间:2023-03-15 * 修复 Symfony Event Dispatcher 不可用 by [@sunxyw](https://github.com/sunxyw) in [PR#341](https://github.com/zhamao-robot/zhamao-framework/pull/341) **源码变更记录**: ## v3.1.2 > 更新时间:2023-03-11 * 重构框架核心 by [@sunxyw](https://github.com/sunxyw) in [PR#322](https://github.com/zhamao-robot/zhamao-framework/pull/322) * 修复 BotActionResponse 注解事件不支持 status 限定的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#338](https://github.com/zhamao-robot/zhamao-framework/pull/338) * 本次更新包含文档更新内容 2 个 * OneBot 和框架的有关小修小补更新 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#340](https://github.com/zhamao-robot/zhamao-framework/pull/340) **源码变更记录**: ## v3.1.1 > 更新时间:2023-03-06 * 修复 BotContext 使用 reply 后无法激活其他回调的问题 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#334](https://github.com/zhamao-robot/zhamao-framework/pull/334) * 修复 CommandArgument 在群组和讨论组中询问参数时未判断用户 ID 的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#335](https://github.com/zhamao-robot/zhamao-framework/pull/335) **源码变更记录**: ## v3.1.0 > 更新时间:2023-03-05 * 本次更新包含文档更新内容 3 个 * 修复 #301 的 Workerman CtrlC 的卡死 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#308](https://github.com/zhamao-robot/zhamao-framework/pull/308) * 添加 今天吃什么 插件 by [@FishZe](https://github.com/FishZe) in [PR#309](https://github.com/zhamao-robot/zhamao-framework/pull/309) * 添加 InvalidDefinition 解决方案提示 by [@sunxyw](https://github.com/sunxyw) in [PR#310](https://github.com/zhamao-robot/zhamao-framework/pull/310) * Update plugin_list.js by [@OnErrk](https://github.com/OnErrk) in [PR#312](https://github.com/zhamao-robot/zhamao-framework/pull/312) * 添加 疯狂星期四 / 代码运行 插件 by [@FishZe](https://github.com/FishZe) in [PR#313](https://github.com/zhamao-robot/zhamao-framework/pull/313) * Update plugin_list.js by [@OnErrk](https://github.com/OnErrk) in [PR#315](https://github.com/zhamao-robot/zhamao-framework/pull/315) * 更新 GH Action by [@sunxyw](https://github.com/sunxyw) in [PR#318](https://github.com/zhamao-robot/zhamao-framework/pull/318) * 添加构建命令开发依赖检测 by [@sunxyw](https://github.com/sunxyw) in [PR#319](https://github.com/zhamao-robot/zhamao-framework/pull/319) * 提前 Bootstrapers 调用时机 by [@sunxyw](https://github.com/sunxyw) in [PR#320](https://github.com/zhamao-robot/zhamao-framework/pull/320) * prompt 新增更新当前上下文绑定的事件对象的可选项 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#324](https://github.com/zhamao-robot/zhamao-framework/pull/324) * 插件生成器和插件列表的相关破坏性更新 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#321](https://github.com/zhamao-robot/zhamao-framework/pull/321) * 修复 Phar 下入口文件的 Autoloader by [@sunxyw](https://github.com/sunxyw) in [PR#323](https://github.com/zhamao-robot/zhamao-framework/pull/323) * 中间件增强:支持传入参数 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#326](https://github.com/zhamao-robot/zhamao-framework/pull/326) * 重构 OneBot 适配器,新增 BotMap 等机器人对照表特性 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#328](https://github.com/zhamao-robot/zhamao-framework/pull/328) * 中间件增强:支持传入参数、获取所 call 注解 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#329](https://github.com/zhamao-robot/zhamao-framework/pull/329) * 代码优化:添加方法返回类型 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#331](https://github.com/zhamao-robot/zhamao-framework/pull/331) ## New Contributors * [@OnErrk](https://github.com/OnErrk) made their first contribution in [PR#312](https://github.com/zhamao-robot/zhamao-framework/pull/312) **源码变更记录**: ## v3.0.2 > 更新时间:2023-02-12 * 修复多次调用 prompt() 超时时间出现错乱的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#300](https://github.com/zhamao-robot/zhamao-framework/pull/300) * 修复 Workerman CtrlC 退出时会弹出假的 Fatal Error 的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#303](https://github.com/zhamao-robot/zhamao-framework/pull/303) * 修复 BotCommand 使用 regex 时参数错乱的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#304](https://github.com/zhamao-robot/zhamao-framework/pull/304) * 修复使用 Route 注解时无法自定义响应包体的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#305](https://github.com/zhamao-robot/zhamao-framework/pull/305) * 修复使用内建 Composer 时无法生成 psr4 插件的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#306](https://github.com/zhamao-robot/zhamao-framework/pull/306) **源码变更记录**: ## v3.0.1 > 更新时间:2023-02-11 * 本次更新包含文档更新内容 1 个 * 修复 Message 转换时的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#289](https://github.com/zhamao-robot/zhamao-framework/pull/289) * 修复初始化命令兼容性问题 by [@sunxyw](https://github.com/sunxyw) in [PR#295](https://github.com/zhamao-robot/zhamao-framework/pull/295) * 修复安装脚本不使用内置 Composer by [@sunxyw](https://github.com/sunxyw) in [PR#296](https://github.com/zhamao-robot/zhamao-framework/pull/296) * 修复插件安装命令若干问题 by [@sunxyw](https://github.com/sunxyw) in [PR#297](https://github.com/zhamao-robot/zhamao-framework/pull/297) * 修复排程任务不支持提醒 by [@sunxyw](https://github.com/sunxyw) in [PR#298](https://github.com/zhamao-robot/zhamao-framework/pull/298) * **破坏性修改**:更改 prompt() 方法配置参数的特性 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#299](https://github.com/zhamao-robot/zhamao-framework/pull/299) **源码变更记录**: ## v3.0.0 > 更新时间:2023-02-10 * 添加容器缓存配置 by [@sunxyw](https://github.com/sunxyw) in [PR#279](https://github.com/zhamao-robot/zhamao-framework/pull/279) * 本次更新包含文档更新内容 1 个 * 修复 Pipeline 回调参数缺失 by [@sunxyw](https://github.com/sunxyw) in [PR#281](https://github.com/zhamao-robot/zhamao-framework/pull/281) * 修复中间件传参解析冲突 by [@sunxyw](https://github.com/sunxyw) in [PR#282](https://github.com/zhamao-robot/zhamao-framework/pull/282) * 修复不兼容 onebots 端的问题 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#284](https://github.com/zhamao-robot/zhamao-framework/pull/284) * 新增计时器 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#283](https://github.com/zhamao-robot/zhamao-framework/pull/283) * 准备发布 3.0 的一些小修 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#285](https://github.com/zhamao-robot/zhamao-framework/pull/285) * 修复排程任务 Swoole 死锁 by [@sunxyw](https://github.com/sunxyw) in [PR#286](https://github.com/zhamao-robot/zhamao-framework/pull/286) **源码变更记录**: ## v3.0.0-beta7 > 更新时间:2023-02-04 * 本次更新包含文档更新内容 8 个 * 修复 Cron 使用闭包方法导致错误的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#264](https://github.com/zhamao-robot/zhamao-framework/pull/264) * 新增 WebSocket Frame 对象的依赖注入 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#265](https://github.com/zhamao-robot/zhamao-framework/pull/265) * 新增 ZMRequest 的类别名 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#266](https://github.com/zhamao-robot/zhamao-framework/pull/266) * 新增 `--verbose` 对 Logger 切换 debug 模式的响应 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#267](https://github.com/zhamao-robot/zhamao-framework/pull/267) * 新增插件安装命令、重构插件命令基类 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#268](https://github.com/zhamao-robot/zhamao-framework/pull/268) * 新增动态 Token 鉴权功能 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#269](https://github.com/zhamao-robot/zhamao-framework/pull/269) * 新增 TaskWorker 支持,新增注解组支持 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#272](https://github.com/zhamao-robot/zhamao-framework/pull/272) * 新增插件打包功能,修复 build 命令的一些问题 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#276](https://github.com/zhamao-robot/zhamao-framework/pull/276) **源码变更记录**: ## v3.0.0-beta6 > 更新时间:2023-01-15 * 本次更新包含文档更新内容 5 个 * 更新版权所有年份 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#244](https://github.com/zhamao-robot/zhamao-framework/pull/244) * 修复 Doxygen 缺少权限.. by [@sunxyw](https://github.com/sunxyw) in [PR#245](https://github.com/zhamao-robot/zhamao-framework/pull/245) * 新增 prompt 方法的选项参数 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#248](https://github.com/zhamao-robot/zhamao-framework/pull/248) * 优化 ZMRequest POST 数据时允许直接传入数组 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#249](https://github.com/zhamao-robot/zhamao-framework/pull/249) * 删除 Context by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#250](https://github.com/zhamao-robot/zhamao-framework/pull/250) * 添加环境变量支持 by [@sunxyw](https://github.com/sunxyw) in [PR#255](https://github.com/zhamao-robot/zhamao-framework/pull/255) * 重构插件加载器、BotContext、AnnotationMap 新增方法、修复部分 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#254](https://github.com/zhamao-robot/zhamao-framework/pull/254) **源码变更记录**: ## v3.0.0-beta5 > 更新时间:2023-01-05 * 添加 Phar 构建命令 by [@sunxyw](https://github.com/sunxyw) in [PR#226](https://github.com/zhamao-robot/zhamao-framework/pull/226) * update v3.sh update script by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#227](https://github.com/zhamao-robot/zhamao-framework/pull/227) * 重构命令手册插件 by [@sunxyw](https://github.com/sunxyw) in [PR#228](https://github.com/zhamao-robot/zhamao-framework/pull/228) * 重构注解解析器和优化部分代码 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#229](https://github.com/zhamao-robot/zhamao-framework/pull/229) * 新增 Redis 支持 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#230](https://github.com/zhamao-robot/zhamao-framework/pull/230) * 修复 Route 注解无法正常解析的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#231](https://github.com/zhamao-robot/zhamao-framework/pull/231) * 添加定时任务支持 by [@sunxyw](https://github.com/sunxyw) in [PR#232](https://github.com/zhamao-robot/zhamao-framework/pull/232) * 修复测试结果输出错误 by [@sunxyw](https://github.com/sunxyw) in [PR#233](https://github.com/zhamao-robot/zhamao-framework/pull/233) * 暂时停用网络请求测试并修复文件系统测试 by [@sunxyw](https://github.com/sunxyw) in [PR#234](https://github.com/zhamao-robot/zhamao-framework/pull/234) * 修复一些小问题和添加 GitAttributes by [@sunxyw](https://github.com/sunxyw) in [PR#235](https://github.com/zhamao-robot/zhamao-framework/pull/235) * 修复 Doxygen 权限 by [@sunxyw](https://github.com/sunxyw) in [PR#238](https://github.com/zhamao-robot/zhamao-framework/pull/238) * 更新首页介绍 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#237](https://github.com/zhamao-robot/zhamao-framework/pull/237) * 增加 PostgreSQL 支持 by [@sunxyw](https://github.com/sunxyw) in [PR#236](https://github.com/zhamao-robot/zhamao-framework/pull/236) * 修复 Doxygen Sudo 权限 by [@sunxyw](https://github.com/sunxyw) in [PR#239](https://github.com/zhamao-robot/zhamao-framework/pull/239) * Beta5 系列升级内容(包含 Redis、sendAction 协程、reply 模式、修复 data 报错) by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#240](https://github.com/zhamao-robot/zhamao-framework/pull/240) * 重构新的 waitMessage 到 prompt by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#241](https://github.com/zhamao-robot/zhamao-framework/pull/241) * 添加 OneBot 12 文件上传和下载工具 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#242](https://github.com/zhamao-robot/zhamao-framework/pull/242) **源码变更记录**: ## v3.0.0-beta4 > 更新时间:2022-12-31 * 切换 Git Hook 至 Captainhook by [@sunxyw](https://github.com/sunxyw) in [PR#218](https://github.com/zhamao-robot/zhamao-framework/pull/218) * 本次更新包含文档更新内容 2 个 * 根据最新的分支命名更新 Workflows by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#220](https://github.com/zhamao-robot/zhamao-framework/pull/220) * 将 KV 库接口调整为 PSR-16 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#222](https://github.com/zhamao-robot/zhamao-framework/pull/222) * 修复有关 BotCommand 的 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#223](https://github.com/zhamao-robot/zhamao-framework/pull/223) * 边缘 Bug 修复 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#224](https://github.com/zhamao-robot/zhamao-framework/pull/224) * 重构配置类配置 by [@sunxyw](https://github.com/sunxyw) in [PR#225](https://github.com/zhamao-robot/zhamao-framework/pull/225) **源码变更记录**: ## v3.0.0-beta3 > 更新时间:2022-12-31 * 添加 Windows 入口 by [@sunxyw](https://github.com/sunxyw) in [PR#208](https://github.com/zhamao-robot/zhamao-framework/pull/208) * 重构异常处理 by [@sunxyw](https://github.com/sunxyw) in [PR#209](https://github.com/zhamao-robot/zhamao-framework/pull/209) * 添加命令帮助插件 by [@sunxyw](https://github.com/sunxyw) in [PR#210](https://github.com/zhamao-robot/zhamao-framework/pull/210) * 本次更新包含文档更新内容 1 个 * 修复 BotContext 不同步问题 by [@sunxyw](https://github.com/sunxyw) in [PR#211](https://github.com/zhamao-robot/zhamao-framework/pull/211) * 让容器支持协程 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#213](https://github.com/zhamao-robot/zhamao-framework/pull/213) * 拆分 Bot 动作到 Trait 以及更新一些类型强化的代码 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#214](https://github.com/zhamao-robot/zhamao-framework/pull/214) * 添加 v3 版本的一键安装脚本 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#215](https://github.com/zhamao-robot/zhamao-framework/pull/215) * 新增 ZMRequest by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#216](https://github.com/zhamao-robot/zhamao-framework/pull/216) * 新增全新的 LightCache by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#217](https://github.com/zhamao-robot/zhamao-framework/pull/217) **源码变更记录**: ## v3.0.0-beta2 > 更新时间:2022-12-26 * 修复相对路径问题 by [@sunxyw](https://github.com/sunxyw) in [PR#190](https://github.com/zhamao-robot/zhamao-framework/pull/190) * 改进测试运行 by [@sunxyw](https://github.com/sunxyw) in [PR#193](https://github.com/zhamao-robot/zhamao-framework/pull/193) * 添加些许测试 by [@sunxyw](https://github.com/sunxyw) in [PR#194](https://github.com/zhamao-robot/zhamao-framework/pull/194) * 添加 EventProvider 测试 by [@sunxyw](https://github.com/sunxyw) in [PR#195](https://github.com/zhamao-robot/zhamao-framework/pull/195) * 修复 getClassesPsr4 中默认过滤方法的路径 Bug by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#198](https://github.com/zhamao-robot/zhamao-framework/pull/198) * 用 Doxygen 替代 API Docs by [@sunxyw](https://github.com/sunxyw) in [PR#192](https://github.com/zhamao-robot/zhamao-framework/pull/192) * 重构配置类测试 by [@sunxyw](https://github.com/sunxyw) in [PR#199](https://github.com/zhamao-robot/zhamao-framework/pull/199) * 新增 CatCode encode 时选择是否编码文本的参数 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#197](https://github.com/zhamao-robot/zhamao-framework/pull/197) * 切换容器实现为 PHP-DI by [@sunxyw](https://github.com/sunxyw) in [PR#201](https://github.com/zhamao-robot/zhamao-framework/pull/201) * 添加 HttpEventListener 测试 by [@sunxyw](https://github.com/sunxyw) in [PR#200](https://github.com/zhamao-robot/zhamao-framework/pull/200) * 添加插件生成功能 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#202](https://github.com/zhamao-robot/zhamao-framework/pull/202) * 完善 BotCommand 和 CommandArgument 的解析 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#203](https://github.com/zhamao-robot/zhamao-framework/pull/203) * 本次更新包含文档更新内容 1 个 * 发布 beta2 by [@crazywhalecc](https://github.com/crazywhalecc) in [PR#206](https://github.com/zhamao-robot/zhamao-framework/pull/206) **源码变更记录**: