imi v3.0 开发计划
Open
@Yurunsoft is already working on this.
Since Mar 21, 2024.
3.0
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
imi v2.1 是一个优秀的版本,经受住了众多项目实际生产环境的考验,已经十分可靠。
imi v3.0 正式提上日程,主要是升级依赖版本和解决一些旧版本中的设计问题,并且适当引入一些新特性。
开发的同时,v2.1 也会继续开发和支持,imi 的版本支持计划详见:https://doc.imiphp.com/v2.1/base/version/support.html。
imi v3.0 开发分支:3.0,提 PR 请选择这个分支!
文档:https://doc.imiphp.com/v3.0/
升级
- 环境版本升级,PHP >= 8.1,Swoole >= 5.0 #591
- 框架核心组件依赖版本升级为支持强类型的版本 #591
- #594
- #607
- #633
- imi-amqp 组件依赖版本升级 #https://github.com/imiphp/imi/pull/595
- #611
- #612
- #613
- #614
- #615
- #616
新特性
- 迁移工具(imiphp/annotation-migration-tool)
- #656
- #618
- #619
- #620
改进
- #595
- #626
- #659
- 一些已经抛出异常,但返回值还定义为
bool的方法,修改返回值类型为void -
ICursorResult、IChunkResult继承 IResult,方法抛出Unsupport异常 - gRPC 接收到错误数据不再返回
null,而是抛出异常 - 统一枚举文件方法返回值,之前的版本失败时返回多种结果(空数组、false、ArrayIterator)
- #685
- 模型生成命令取消参数,全部改为配置
- 模型大块注解拆分独立注解(序列化定义,创建时间与更新时间等)
- #684
- #516
- #498
- #608
- #680
更改默认行为
- #622
废弃
- #623
- #597
- #598
- #603
- #600
- #601
- #602
- #624
- #617
以上不代表最终变动内容,还有一些想法需要仔细考虑后再贴上来。
需求列表随时会有改动,也欢迎大家提出更多好的想法~
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.