A new patch release, Kubo v0.40.1, is now available. This is a critical bugfix specifically for Windows users.
Users running v0.40.0 on Windows may experience daemon crashes after it has been running for a period of time. This is due to a memory corruption bug in the Go 1.26 toolchain used to build the previous version.
This release resolves the issue by downgrading the Go toolchain to version 1.25, which is not affected by this bug. If you are a Windows user, it is highly recommended to upgrade to v0.40.1.
Users on Linux or macOS are not affected and can continue to use v0.40.0.
This patch was contributed by the Shipyard team.
<a href="https://ipshipyard.com/"><img align="right" src="https://github.com/user-attachments/assets/39ed3504-bb71-47f6-9bf8-cb9a1698f272" /></a> > [!NOTE] > This patch release was brought to you by the [Shipyard](https://ipshipyard.com/) team. This is a Windows bugfix release. If you use Linux or macOS [v0.40.0](https://github.com/ipfs/kubo/releases/tag/v0.40.0) should be fine. [<img align="right" width="256px" src="https://github.com/user-attachments/assets/c065d5e5-2a8a-4651-8142-d7baf3106623" />](https://github.com/user-attachments/assets/c065d5e5-2a8a-4651-8142-d7baf3106623) ### 🚒 Bugfix for Windows If you run Kubo on Windows, v0.40.0 can crash after running for a while. The daemon starts fine and works normally at first, but eventually hits a memory corruption in Go's network I/O layer and dies. This is likely caused by an upstream Go 1.26 regression in overlapped I/O handling that has known issues ([go#77142](https://github.com/golang/go/issues/77142), [#11214](https://github.com/ipfs/kubo/issues/11214)). This patch release downgrades the Go toolchain from 1.26 to 1.25, which does not have this bug. If you are running Kubo on Windows, upgrade to v0.40.1. We will switch back to Go 1.26.x once the upstream fix lands. ### 📝 Changelog <details><summary>Full Changelog v0.40.1</summary> - github.com/ipfs/kubo: - chore: downgrade to Go 1.25 to fix Windows crash ([ipfs/kubo#11215](https://github.com/ipfs/kubo/pull/11215)) </details> **See [v0.40.0](https://github.com/ipfs/kubo/releases/tag/v0.40.0) for full list of changes since v0.39.x.**