Skip to content

Commit

Permalink
docs: add netpoll v0.5~v0.6 releases blog (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
joway authored Mar 12, 2024
1 parent 1da567f commit 324393b
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 0 deletions.
24 changes: 24 additions & 0 deletions content/en/blog/releases/Netpoll/release-v050.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Netpoll Release v0.5.0"
linkTitle: "Release v0.5.0"
projects: ["Netpoll"]
date: 2023-09-26
description: >
---

## Optimize

1. [[#274](https://github.com/cloudwego/netpoll/pull/274)] optimize: increase first bookSize to 8KB to reduce overhead for connection read at begin
2. [[#273](https://github.com/cloudwego/netpoll/pull/273)] optimize: ignore EOF when read a closed connection

## Fix

1. [[#283](https://github.com/cloudwego/netpoll/pull/283)] fix: protect operator dont be detach twice
2. [[#280](https://github.com/cloudwego/netpoll/pull/280)] fix: detach operator race
3. [[#278](https://github.com/cloudwego/netpoll/pull/278)] fix: OnRequest should wait all readable data consumed when sender close connection
4. [[#276](https://github.com/cloudwego/netpoll/pull/276)] fix: compile error by miss package
5. [[#238](https://github.com/cloudwego/netpoll/pull/238)] fix: close conn when server OnRequest panic

## Docs

1. [[#243](https://github.com/cloudwego/netpoll/pull/243)] docs: rm outdated info
15 changes: 15 additions & 0 deletions content/en/blog/releases/Netpoll/release-v051.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Netpoll Release v0.5.1"
linkTitle: "Release v0.5.1"
projects: ["Netpoll"]
date: 2023-10-18
description: >
---

## Fix

1. [[#289](https://github.com/cloudwego/netpoll/pull/289)] fix: panic/fault when dial connection timeout

## Optimise

1. [[#290](https://github.com/cloudwego/netpoll/pull/290)] optimise: rm useless inputBarrier
24 changes: 24 additions & 0 deletions content/en/blog/releases/Netpoll/release-v060.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Netpoll Release v0.6.0"
linkTitle: "Release v0.6.0"
projects: ["Netpoll"]
date: 2024-03-04
description: >
---

## Feature

1. [[#306](https://github.com/cloudwego/netpoll/pull/306)] feat: lazy init pollers to avoid create any poller goroutines if netpoll is not used
2. [[#303](https://github.com/cloudwego/netpoll/pull/303)] feat: add WithOnDisconnect callback
3. [[#300](https://github.com/cloudwego/netpoll/pull/300)] feat: netpoll exception implement net.Error interface
4. [[#294](https://github.com/cloudwego/netpoll/pull/294)] feat: add SetRunner option

## Fix

1. [[#307](https://github.com/cloudwego/netpoll/pull/307)] fix: ctx race when disconnect callback run with connect callback
2. [[#304](https://github.com/cloudwego/netpoll/pull/304)] fix: connection leak when poller close connection but onRequest callback just finished
3. [[#296](https://github.com/cloudwego/netpoll/pull/296)] fix: stop timer when read triggered by err

## Chore

1. [[#302](https://github.com/cloudwego/netpoll/pull/302)] ci: bump the version of actions/checkout and actions/setup-go
24 changes: 24 additions & 0 deletions content/zh/blog/releases/Netpoll/release-v050.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Netpoll v0.5.0 版本发布"
linkTitle: "Release v0.5.0"
projects: ["Netpoll"]
date: 2023-09-26
description: >
---

## Optimize

1. [[#274](https://github.com/cloudwego/netpoll/pull/274)] optimize: 添加初始 bookSize 到 8KB 以减少连接最初读取时的开销
2. [[#273](https://github.com/cloudwego/netpoll/pull/273)] optimize: 当读取一个已经关闭连接时,忽略 EOF 错误

## Fix

1. [[#283](https://github.com/cloudwego/netpoll/pull/283)] fix: 保护 operator 不被 detach 两次
2. [[#280](https://github.com/cloudwego/netpoll/pull/280)] fix: 修复 detach operator race 问题
3. [[#278](https://github.com/cloudwego/netpoll/pull/278)] fix: OnRequest 应该等待所有 readable 数据都被消费完毕
4. [[#276](https://github.com/cloudwego/netpoll/pull/276)] fix: 缺少 import 库引入的编译错误
5. [[#238](https://github.com/cloudwego/netpoll/pull/238)] fix: 当 server 的 OnRequest panic 时,应该关闭连接

## Docs

1. [[#243](https://github.com/cloudwego/netpoll/pull/243)] docs: 移除过时信息
15 changes: 15 additions & 0 deletions content/zh/blog/releases/Netpoll/release-v051.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Netpoll v0.5.1 版本发布"
linkTitle: "Release v0.5.1"
projects: ["Netpoll"]
date: 2023-10-18
description: >
---

## Fix

1. [[#289](https://github.com/cloudwego/netpoll/pull/289)] fix: 解决当建立建立超时时,遇到 panic 或 fault 错误

## Optimise

1. [[#290](https://github.com/cloudwego/netpoll/pull/290)] optimise: 移除已经不使用的 inputBarrier
24 changes: 24 additions & 0 deletions content/zh/blog/releases/Netpoll/release-v060.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Netpoll v0.6.0 版本发布"
linkTitle: "Release v0.6.0"
projects: ["Netpoll"]
date: 2024-03-04
description: >
---

## Feature

1. [[#306](https://github.com/cloudwego/netpoll/pull/306)] feat: 懒加载 pollers 以避免在 netpoll 没有被使用时,创建任何 poller goroutines
2. [[#303](https://github.com/cloudwego/netpoll/pull/303)] feat: 支持 WithOnDisconnect 回调
3. [[#300](https://github.com/cloudwego/netpoll/pull/300)] feat: netpoll exception 实现 net.Error 接口
4. [[#294](https://github.com/cloudwego/netpoll/pull/294)] feat: netpoll 支持 SetRunner 参数

## Fix

1. [[#307](https://github.com/cloudwego/netpoll/pull/307)] fix: 修复当 disconnect 与 connect 回调同时运行时,访问 ctx race 的问题
2. [[#304](https://github.com/cloudwego/netpoll/pull/304)] fix: 当对端关闭连接但是 OnRequest 回调刚刚返回时,连接可能泄漏的问题
3. [[#296](https://github.com/cloudwego/netpoll/pull/296)] fix: 当 readtrigger 被 error 触发时候,停止 timer

## Chore

1. [[#302](https://github.com/cloudwego/netpoll/pull/302)] ci: 升级 `actions/checkout``actions/setup-go` 的版本

0 comments on commit 324393b

Please sign in to comment.