Release v3.0
保留最基本的后台功能,再无复杂设计。所见即所得
- 支持 Swoole/Swow 🚀🚀🚀
- 前端 UI 改为 ElementPlus
- 精简现有代码,只保留 登录注册 rbac 最基本功能
- 单元测试覆盖所有接口,单元测试框架回退为 phpunit
- 默认为所有接口增加 Swagger 文档,基础框架改为
hyperf/swagger
- 新增双 token 刷新机制
- 重写后端目录结构
- 重写前端目录结构 全新的插件加载机制 🚀🚀🚀
- 重写权限验证,登录验证等逻辑
- 升级 jwt 验证组件,精简现有组件
What's Changed
- Using php-cs-fixer parallel by @zds-s in #287
- Add Composer create-project Support by @zds-s in #289
- Update Readme by @zds-s in #291
- fixed unit tests by @zds-s in #292
- Fix(filterExecuteAttributes): Utilizing memory address pointers by @People-Sea in #294
- FIX: 修复多点登录模式下,token缓存复用 和 在线用户监控列表问题 by @ShaBaoFa in #295
- FIX : 用户信息password字段隐藏.避免安全隐患. by @ShaBaoFa in #297
- Fix: is_in_container函数现在能更好的检测是否在容器中 by @clq321 in #298
- sync by @zds-s in #301
- Revert "sync" by @zds-s in #302
- sync by @zds-s in #303
- feat(setting_config): improve encoding & seeding for config_select_data by @People-Sea in #299
- refactor(structure): rename framework components for consistency by @People-Sea in #310
- feat(swagger): 新增 Swagger 配置文件 by @People-Sea in #311
- feat(hyperf/helper): 引入 hyperf/helper 的全局函数 移除了use function 方式使代码更简洁 by @People-Sea in #312
- feat(databases): 移除未使用的模块并清理 seeders 和 migrations 文件 by @People-Sea in #313
- Fix(Seeder):修复Seeder类名称 并优化菜单数据结构 by @People-Sea in #315
- Fix(phpstan):修复phpstan(quque0handle-listener) by @People-Sea in #318
- Fix(CI): 增加mysql服务检查 by @People-Sea in #316
- Fix(WorkFlows):修复Build by @People-Sea in #321
- fixed(ci): 优化 pgsql 环境单元测试用例失败 by @zds-s in #320
- feature(role): 增加权限管理API by @zds-s in #323
- feature(menu): 添加菜单管理api by @zds-s in #325
- feature(dept): 增加部门管理API by @zds-s in #326
- feature(post): 增加岗位管理API by @zds-s in #327
- feature(actions): 增加对Swow的测试支持 by @People-Sea in #328
- feature(role): 新增角色权限赋予API by @zds-s in #329
- reactor(role:permission): 补充角色权限授予测试用例 by @zds-s in #330
- reactor(permission): 完善用户权限API by @zds-s in #331
- feat(dict): 实现字典类型和数据的CRUD操作 by @People-Sea in #332
- feature(config): 增加配置、分组配置API by @zds-s in #333
- fix(Tests): 修复DictData测试 by @People-Sea in #335
- feature(upload): 增加资源,资源列表,删除资源接口 by @zds-s in #338
- 3.x develop by @zds-s in #349
- update rules auto time by @okami-chen in #357
- fix(refresh_token): 修复刷新token也失效的情况下,导致一直在加载页面转圈 by @kanyxmo in #369
- chore(toolbar): 修改 remove 方法的参数 by @kanyxmo in #370
- refactor(user): internationalize error messages in UserListener by @zds-s in #371
- refactor: correct typos in language files by @zds-s in #372
- feat(config): add ModeNotFoundHandler to exception handlers by @zds-s in #373
- fix(menu、table): 修复菜单新增可一直点击,优化表结构,修复菜单错误提示未翻译的问题 by @kanyxmo in #374
- fix(水印) by @kanyxmo in #376
- chore(@mineadmin/pro-table): 升级pro-table到1.0.21,pro-table重构工具栏,开放api可… by @kanyxmo in #378
- fix(修复菜单新增和编辑逻辑错误) by @kanyxmo in #379
- fix(app): stop propagation on mode not found exception by @zds-s in #375
- build(deps): update composer configuration- Remove allow-plugins conf… by @zds-s in #381
- fix(前端类型错误): 修复前端插件类型定义问题以及usePluginStore部分函数返回值类型错误问题 by @kanyxmo in #382
- Refactor(plugin) by @kanyxmo in #383
- chore(pro-table):升级到1.0.22版,组件增加
getProTableOptions()
方法 by @kanyxmo in #384 - build(deps): downgrade doctrine/dbal from 4.1 to 3.6 by @zds-s in #385
- refactor(admin):重构控制器中的请求数据获取方式 by @zds-s in #386
- feat(menu): 更新菜单权限并添加数据中心相关权限 by @People-Sea in #388
- feat(swagger): 增加ui界面,通过
http://127.0.0.1:9503/swagger
查看接口文档 by @kanyxmo in #390 - feat(i18n): 添加数据中心相关翻译 by @People-Sea in #391
- refactor(ma-table):升级到1.0.25版,优化列头对齐未指定下默认使用单元格对齐 by @kanyxmo in #392
- chore(ma-form,ma-search):升级俩组件依赖,优化一些方法入参 by @kanyxmo in #393
- fix(watcher, usePluginStore): 移除监听 api 目录, 修复usePluginStore 类型报错问题 by @kanyxmo in #395
- Refactor(permission,test) by @kanyxmo in #398
- refactor(permissions): remove Casbin and refactor permission logic by @zds-s in #399
- feat: 解决上传组件重置为空的情况 by @MissZhou12345 in #400
- fix(roleCode): code error by @kanyxmo in #401
- feat(maTree):添加
setCheckStrictly()
,优化角色设置菜单编辑下默认为严格模式 by @kanyxmo in #402 - feat(favicon.ico): add favicon.ico file by @kanyxmo in #403
- fix: 修复顶级菜单无法被添加的问题 by @MissZhou12345 in #407
- refactor(delete): change delete method return type and behavior by @zds-s in #404
- fix(pro-table, setPermissionForm): 升级pro-table修复classList.add报错bug,修复… by @kanyxmo in #408
- refactor(app): improve menu filtering logic by @zds-s in #409
- chore(front): 退出清除所有tab,ma-dialog新增操作快捷键,ma-tree增加 buttons插槽 by @kanyxmo in #410
- feat(ma-search): 新增监听 enter 按下就快捷提交搜索 by @kanyxmo in #411
- feat(ma-tree): 新增 extra 插槽 by @kanyxmo in #412
- feat(resource): 增加资源管理器页面,更新依赖 by @kanyxmo in #413
- docs(README): remove badges and update content by @zds-s in #414
- refactor(repository): optimize query handling and update saveById method by @zds-s in #416
- remove(mockjs): 移除mockjs by @kanyxmo in #417
- add:ma-icon-panel自定义svg包 by @westng in #418
- styles(menu): 优化子级菜单激活后,父级菜单高亮 by @kanyxmo in #419
- fix(menu): 拼写错误 by @kanyxmo in #421
- chore(tsconfig): 开启默认允许js by @kanyxmo in #423
- fix:资源选择器新增删除方法,修复多语言问题 by @westng in #422
- fix(menu): 修复编辑类型为M的菜单时,按钮权限列表未回显 by @kanyxmo in #424
- chore(tab): 变更标签页新增时检查的key,优化布局文件 by @kanyxmo in #425
- fix(menu): 修复菜单使用bug by @kanyxmo in #426
- fix(cs-fix): fix 语法 by @kanyxmo in #427
- styles(样式优化) by @kanyxmo in #428
- 解决Builder没有注册scope的问题 by @MissZhou12345 in #431
- fix(menu-btn-permission): 修复菜单按钮列表为空时,未清楚的问题 by @kanyxmo in #433
- chore(ma-pro-table): 更新ma-pro-table到1.0.27版,pnpm-lock加入忽略列表 by @kanyxmo in #434
- feat(dict-component): 字典组件props增加data参数,可直接传入字典数据集合 by @kanyxmo in #435
- feat(tab): useTabStore add changeTabTitle() by @kanyxmo in #437
- feat(readme): 添加鸣谢信息 by @kanyxmo in #440
- fix:修增菜单含三级或以上的情况下只有一级菜单有选中样式 by @westng in #439
- feat(package): 新增 vue3-ace-editor 依赖作为默认依赖 by @kanyxmo in #441
- fix(main-aside): 修复分栏模式下,菜单激活问题 by @kanyxmo in #443
- fix(bug): 修复添加顶级菜单按钮未初始化id,修复应用商店打开官网链接插件详情页404,优化应用商店图片显示 by @kanyxmo in #444
- Reactor(appstore) by @kanyxmo in #447
- fix(vite-config): 未添加
base
参数,导致VITE_APP_ROOT_BASE
无效 by @kanyxmo in #448 - refactor(menu): 菜单排序无效问题 by @kanyxmo in #449
- Refactor(menu2) by @kanyxmo in #450
- Feat(menu auth) by @kanyxmo in #451
- fix(analyse): fix analyse error by @kanyxmo in #452
- fix(cs-fix): fix cs-fix error by @kanyxmo in #453
- chore(other): 修改类型定义,优化默认静态路由 by @kanyxmo in #454
- chore(front): 优化修改插件钩子参数 by @kanyxmo in #456
- styles(layout): 优化布局样式 by @kanyxmo in #457
- fix(welcomePage): 修复路由添加 welcomePage 时,自定义数据未覆盖默认数据 by @kanyxmo in #458
- chore(package): 更新pro-table和search,修复几处小问题 by @kanyxmo in #459
- chore(pro-table): 修复table参数覆盖问题导致参数失效 by @kanyxmo in #461
- refactor(pro-table): 升级到1.0.37,增加暴露搜索事件
@search-submit
, `@search-res… by @kanyxmo in #462 - fix(front-permission): 修复前端权限检查时如果值为空对象时:
{}
,进入判断条件,导致显示无权限 by @kanyxmo in #463 -
- 字典支持插件目录 by @okami-chen in #464
- feat(iframe): 新增iframe菜单缓存,切换tab时不再重新加载第三方网页 by @kanyxmo in #465
- fix(pro-table): 修复单元格插件注册后调用无效的问题 by @kanyxmo in #466
- fix(pro-table): 修复
requestPage
设置size
参数无效的bug by @kanyxmo in #467 - 优化 watch by @gladtoeatu in #445
- fix:(menu): 修复提示信息描述不准确 by @kanyxmo in #468
- fix(layout): 修复布局与iframe页面问题 by @kanyxmo in #469
- feat(ma-drawer): 增加 ma-drawer 组件,优化增强
ma-dialog
组件: by @kanyxmo in #470 - chore(package): 更新最新依赖,适配最新版i18n by @kanyxmo in #471
- refactor(upload): 抽离上传本地服务器方法到utils里,可被单独调用 by @kanyxmo in #472
- refactor(logManage): 优化日志管理批量删除时,弹出提示框确认是否删除 by @kanyxmo in #473
- Fix(php cs fixer) by @kanyxmo in #474
- fix(php-cs) by @kanyxmo in #475
- fix(seeder): 修复执行php-cs-fixer造成seeder文件类名错误的问题 by @kanyxmo in #476
- refactor(iframe): 优化 iframe 在tab页关闭和刷新时重新加载iframe页面。 by @kanyxmo in #478
- Release v3.0 by @zds-s in #480
New Contributors
- @clq321 made their first contribution in #298
- @okami-chen made their first contribution in #357
- @MissZhou12345 made their first contribution in #400
- @westng made their first contribution in #418
- @gladtoeatu made their first contribution in #445
Full Changelog: v2.0.1.1...v3.0