Skip to content

Commit

Permalink
[3.0] imi-amqp 改造 (#595)
Browse files Browse the repository at this point in the history
* 废弃 AMQPSwooleConnection

* 重构 AMQP 连接实例化

* 废弃 AMQP Connection 注解

* 更新文档

* 废弃 Connection 注解改为废弃连接配置项

* 更新文档
  • Loading branch information
Yurunsoft authored Oct 18, 2023
1 parent 441d4e2 commit 28cf2c7
Show file tree
Hide file tree
Showing 25 changed files with 263 additions and 1,583 deletions.
2 changes: 1 addition & 1 deletion doc/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* [开始一个新项目](base/new.md)
* [应用配置](base/config.md)
* [常见问题](base/qa.md)
* [v2.0-v2.1 升级指南](base/version/2.0-2.1.md)
* [v2.1-v3.0升级指南](base/version/2.1-3.0.md)

## 框架核心

Expand Down
365 changes: 0 additions & 365 deletions doc/base/version/2.0-2.1.md

This file was deleted.

17 changes: 17 additions & 0 deletions doc/base/version/2.1-3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# v2.1-v3.0 升级指南

[toc]

## 不兼容的更改

### 框架核心

* `psr/http-message` 版本升级,请求和响应相关类的类型声明有改动

### imi-amqp

* 连接配置项有所增改,参考 [连接配置项](https://doc.imiphp.com/v3.0/components/mq/amqp.html#%E8%BF%9E%E6%8E%A5%E9%85%8D%E7%BD%AE%E9%A1%B9)

* `Imi\AMQP\Annotation\Connection` 注解类的连接配置全部废弃,只保留 `poolName`

* 废弃 `Imi\AMQP\Swoole\AMQPSwooleConnection` 客户端类
Loading

0 comments on commit 28cf2c7

Please sign in to comment.