Skip to content

Commit

Permalink
mosn v0.18.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
trainyao authored and yaochangyu committed Nov 2, 2020
1 parent 718697c commit 4d001be
Show file tree
Hide file tree
Showing 4 changed files with 754 additions and 1 deletion.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## v0.18.0

### New Features

- Add MOSN configure extendsion [@nejisama](https://github.com/nejisama)
- Add MOSN configure tool [mosn/configure](https://github.com/mosn/configure), improve user configure experience [@cch123](https://github.com/cch123)

### Optimization

- Avoid copying http response body [@wangfakang](https://github.com/wangfakang)
- Upgrade `github.com/TarsCloud/TarsGo` package, to v1.1.4 [@champly](https://github.com/champly)
- Add test for various connpool [@cch123](https://github.com/cch123)
- Use sync.Pool to reduce memory cost by TLS connection outBuf [@cch123](https://github.com/cch123)
- Reduce xprotocol lock area [@cch123](https://github.com/cch123)
- Remove useless parameter of `network.NewClientConnection` method, remove ALPN detection in `Dispatch` method of struct `streamConn` [@nejisama](https://github.com/nejisama)
- Add `TerminateStream` API to `StreamReceiverFilterHandler`, with which stream can be reset during handling [@nejisama](https://github.com/nejisama)
- Add client TLS fallback [@nejisama](https://github.com/nejisama)
- Add `payload` field to `dubbo.Frame` struct, for `SetData` method to save encoded frame [@lxd5866](https://github.com/lxd5866)
- Fix TLS HashValue in host [@nejisama](https://github.com/nejisama)
- Fix disable_log admin api typo [@nejisama](https://github.com/nejisama)

### Bug fixes

- Fix `go mod tidy` failing [@champly](https://github.com/champly)
- Fix `ResourceExhausted: grpc: received message larger than max` when MOSN receive > 4M XDS messages [@champly](https://github.com/champly)
- Fix fault tolerance unit-test [@wangfakang](https://github.com/wangfakang)
- Fix MOSN reconfig fails when `MOSNConfig.servers[].listeners[].bind_port` is `false` [@alpha-baby](https://github.com/alpha-baby)
- Set timeout for local write buffer send, avoid goroutine leak [@cch123](https://github.com/cch123)
- Fix deadloop when TLS timeout [@nejisama](https://github.com/nejisama)

## v0.17.0

### New Features
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG_ZH.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# 更新日志

## v0.18.0

### 新功能

- 新增 MOSN 配置文件扩展机制 [@nejisama](https://github.com/nejisama)
- 新增 MOSN 配置工具,提升用户配置体验 [mosn/configure](https://github.com/mosn/configure) [@cch123](https://github.com/cch123)

### 优化

- HTTP 协议 stream 处理过程中,避免多次拷贝 HTTP body [@wangfakang](https://github.com/wangfakang)
- 升级了 `github.com/TarsCloud/TarsGo` 包到 v1.1.4 版本 [@champly](https://github.com/champly)
- 补充了连接池的单元测试 [@cch123](https://github.com/cch123)
- 使用内存池减少了 TLS 连接的内存占用 [@cch123](https://github.com/cch123)
- 减少 xprotocol stream 处理过程的临界区大小,提升性能 [@cch123](https://github.com/cch123)
- 删除 `network.NewClientConnection` 方法冗余参数,删除 `streamConn` 结构体 `Dispatch` 方法 `ALPN` 检查 [@nejisama](https://github.com/nejisama)
- `StreamReceiverFilterHandler` 增加 `TerminateStream` API,可在处理流的时候传入 HTTP code 异步关闭流 [@nejisama](https://github.com/nejisama)
- client 端 TLS handshake 失败时增加降级逻辑 [@nejisama](https://github.com/nejisama)
- `dubbo.Frame` struct 新增 `payload` 字段,`SetData` 设置 `payload` 字段保存编码后的 Frame [@lxd5866](https://github.com/lxd5866)
- 修改 TLS hashvalue 计算方式 [@nejisama](https://github.com/nejisama)
- 修正 disable_log admin api typo [@nejisama](https://github.com/nejisama)

### Bug 修复

- 修复执行 `go mod tidy` 失败 [@champly](https://github.com/champly)
- 修复 MOSN 接收 XDS 消息大于 4M 时的 `ResourceExhausted: grpc: received message larger than max` 错误 [@champly](https://github.com/champly)
- 修复容错单元测试用例 [@wangfakang](https://github.com/wangfakang)
- 修复 `MOSNConfig.servers[].listeners[].bind_port` 设置为 `false` 时热重启出错 [@alpha-baby](https://github.com/alpha-baby)
- 本地写 buffer 增加超时时间,避免本地写失败导致 goroutine 过多 OOM [@cch123](https://github.com/cch123)
- 修复 TLS 超时导致死循环 [@nejisama](https://github.com/nejisama)

## v0.17.0

### 新功能
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.17.0
v0.18.0
Loading

0 comments on commit 4d001be

Please sign in to comment.