Skip to content

Commit 8649e51

Browse files
committed
4.0.1
1 parent 3057406 commit 8649e51

4 files changed

Lines changed: 25 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.1] - 2026-02-28
9+
10+
### Added
11+
12+
- Automatically attempt to reconnect when the connection is unexpectedly interrupted.
13+
14+
### Updated
15+
16+
- Optimize dependencies.
17+
818
## [4.0.0.2] - 2026-02-06
919

1020
### Bugfix

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,12 +309,15 @@ npm run start # Start socket.io server for integration testing
309309

310310
# Change log
311311

312-
## [4.0.0.2] - 2026-02-06
312+
## [4.0.1] - 2026-02-28
313313

314-
### Bugfix
314+
### Added
315315

316-
- Trigger the OnDisconnected event when the protocol connection is closed.
317-
- Fix an issue where the Emit ACK handler was not invoked in certain cases.
316+
- Automatically attempt to reconnect when the connection is unexpectedly interrupted.
317+
318+
### Updated
319+
320+
- Optimize dependencies.
318321

319322
[See more](./CHANGELOG.md)
320323

README.zh.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,15 @@ npm run start # 启动 socket.io server 测试服务
307307

308308
# Change log
309309

310-
## [4.0.0.2] - 2026-02-06
310+
## [4.0.1] - 2026-02-28
311311

312-
### Bugfix
312+
### Added
313313

314-
- 当传输协议断开后,确保 OnDisconnected 会被触发
315-
- 修复 Emit 时 Ack handler 在某些场景下未被触发的bug
314+
- 当连接意外断开时自动重连
315+
316+
### Updated
317+
318+
- 优化依赖
316319

317320
[See more](./CHANGELOG.md)
318321

src/SocketIOClient/SocketIOClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageTags>socket.io-client</PackageTags>
1313
<PackageReadmeFile>README.md</PackageReadmeFile>
1414
<RepositoryType>github</RepositoryType>
15-
<Version>4.0.0.2</Version>
15+
<Version>4.0.1</Version>
1616
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1717
<LangVersion>latest</LangVersion>
1818
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)