Skip to content

Use all your internet connections at once on Windows, macOS, Linux and Android: per-connection load balancing over Wi-Fi, Ethernet, mobile data and phone tethers

Release notes from CHANGELOG.md

Rohit Mahto94169d04e3cb
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index afe4b4d..21803ad 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,5 +1,6 @@
name: release
# Push a tag like v0.2.0 to build the installer and portable zip and publish a GitHub release.
+# The release notes are that version's section of CHANGELOG.md; the run fails early if it's missing.
on:
push:
tags: ['v*']
@@ -12,6 +13,9 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
+ - name: Release notes from CHANGELOG.md
+ shell: pwsh
+ run: scripts/release-notes.ps1 -Version ('${{ github.ref_name }}'.TrimStart('v')) -Out release-notes.md
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
@@ -28,7 +32,12 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
$tag = '${{ github.ref_name }}'
+ $title = 'net-merge ' + $tag.TrimStart('v')
$files = Get-ChildItem dist/net-merge-setup-*.exe, dist/net-merge-*-portable.zip
gh release view $tag *> $null
- if ($LASTEXITCODE -eq 0) { gh release upload $tag $files --clobber } # release already created by hand
- else { gh release create $tag $files --generate-notes }
+ if ($LASTEXITCODE -eq 0) { # release already created by hand: refresh files and notes
+ gh release upload $tag $files --clobber
+ gh release edit $tag --title $title --notes-file release-notes.md
+ } else {
+ gh release create $tag $files --title $title --notes-file release-notes.md
+ }
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..872c4ee
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,58 @@
+# Changelog
+
+What changed in each release. Each version's section becomes its GitHub release notes, so add the
+entry here before pushing a version tag.
+
+## [0.1.1] - 2026-10-14
+
+### Added
+- **Speeds on hover.** Hovering the tray icon shows each adapter's download/upload speed and a Total
+ line. The numbers come from Windows' own adapter counters, so every app counts, including apps that
+ bypass net-merge (qBittorrent binds to adapters directly), and they show while paused too.
+- **Real speeds in the menu.** The right-click menu shows each adapter's speed, how many connections
+ net-merge put on it, and whether it has IPv6.
+- `net-merge status` shows each adapter's total traffic ("link") next to the part net-merge relayed.
+- `-mtu` flag to change the virtual adapter's MTU (default 9000).
+- `-pprof` flag to serve Go's profiler on a localhost address, for diagnosing CPU use.
+- README: screenshots, features and how to use.
+
+### Changed
+- **About 3x less CPU.** The virtual adapter now runs at MTU 9000 instead of 1500, so about 5x fewer
+ packets go through the userland network stack. Measured on the same machine and links: 0.54 → 0.18
+ CPU cores per 100 Mbit/s.
+- Tray wording: **Merging** / **Paused**, and *Pause merging* / *Start merging* in the menu (was ON/OFF
+ and *Turn on* / *Turn off*).
+- Idle UDP sessions end after 30 seconds instead of 60, which means fewer sockets and less memory with
+ torrent clients.
+- Quieter log: torrent traffic no longer writes a warning for every dropped packet.
+
+### Fixed
+- **Tray icon missing after sign-in.** With "start at sign-in" on, the tray could start before the
+ taskbar existed and stay invisible and inactive. It now waits for the taskbar, and the sign-in task
+ retries if the tray fails to start. If you enabled autostart in 0.1.0, install 0.1.1 with the option
+ ticked to update it.
+- UDP datagrams larger than 1500 bytes going through the virtual adapter were silently dropped.
+- Tooltip cut off after "Ethernet 4 ↓": Windows 11 shows only 64 characters of a tray tooltip, so the
+ text now fits that limit.
+- A garbled "…" appeared when long tooltip text was shortened.
+- Errors from the tray library were not written to the log in the windowless build.
+
+## [0.1.0] - 2026-10-13
+
+First release.
+
+### Added
+- System-wide per-connection balancing: every new TCP and UDP connection, IPv4 and IPv6, is pinned to
+ one adapter, so parallel connections use Wi-Fi, Ethernet and phone/USB tethers at the same time.
+- Tray app: left-click turns it on or off, right-click shows per-adapter speeds, optional start at
+ sign-in without a UAC prompt.
+- Automatic adapter detection: real hardware with a default gateway is used, while VPN and virtual adapters
+ (Tailscale, WireGuard, Hyper-V, WSL) are skipped; `net-merge list` shows why.
+- Per-adapter internet checks: a link without internet gets no connections until it recovers.
+- Connections are spread by each adapter's measured speed, separately for IPv4 and IPv6.
+- IPv6 policy (`-ipv6 auto|on|off`): when only some adapters have IPv6, apps are steered to IPv4 so
+ every adapter stays in use.
+- Crash-safe: the virtual adapter and its routes disappear with the process.
+- Command line: `on`, `off`, `quit`, `status`, `list`, `autostart`, `cleanup`, plus a SOCKS5 mode
+ that needs no admin.
+- Installer and portable zip.
diff --git a/README.md b/README.md
index 7bfe3fb..2e5f9a1 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ No server, VPN or account is involved: connections go straight out of the adapte
Download `net-merge-setup-x.y.z.exe` from the [releases page](../../releases) and run it (needs admin).
It is not code-signed yet, so SmartScreen will warn: *More info > Run anyway*. A portable zip is also
-published.
+published. What changed in each version: [CHANGELOG.md](CHANGELOG.md).
## How to use
@@ -137,6 +137,8 @@ scripts\fetch-wintun.ps1 -OutDir .
```
Releases are built by GitHub Actions when a `vX.Y.Z` tag is pushed (`.github/workflows/release.yml`).
+Add the version's section to `CHANGELOG.md` first: it becomes the release notes, and the release fails
+without it (`scripts\release-notes.ps1 -Version X.Y.Z` previews them).
`go test -run xxx -bench Relay ./...` measures the relay data path (about 3 GB/s over loopback).
Don't benchmark against speed.cloudflare.com repeatedly: it rate-limits the IP (HTTP 429) after a few
diff --git a/scripts/release-notes.ps1 b/scripts/release-notes.ps1
new file mode 100644
index 0000000..d2adfea
--- /dev/null
+++ b/scripts/release-notes.ps1
@@ -0,0 +1,20 @@
+# Writes the GitHub release notes for one version: an install line plus that version's section of
+# CHANGELOG.md. Fails if the section is missing, so a release can't go out without a changelog.
+# scripts\release-notes.ps1 -Version 0.1.1 -Out notes.md
+param(
+ [Parameter(Mandatory)][string]$Version,
+ [string]$Out = 'release-notes.md'
+)
+$ErrorActionPreference = 'Stop'
+$changelog = Get-Content (Join-Path (Split-Path $PSScriptRoot -Parent) 'CHANGELOG.md') -Raw
+$m = [regex]::Match($changelog, "(?ms)^## \[$([regex]::Escape($Version))\][^\r\n]*\r?\n(.*?)(?=^## \[|\z)")
+if (-not $m.Success -or -not $m.Groups[1].Value.Trim()) {
+ throw "CHANGELOG.md has no entry for $Version. Add a '## [$Version] - <date>' section first."
+}
+$install = "**Install:** download ``net-merge-setup-$Version.exe`` below and run it (needs admin; it upgrades " +
+ "an existing install in place). A portable zip is attached too. Not code-signed yet, so SmartScreen " +
+ "will warn: *More info > Run anyway*."
+# UTF-8 without a BOM (Windows PowerShell's -Encoding utf8 adds one, which GitHub would show)
+$path = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Out)
+[IO.File]::WriteAllText($path, $install + "`n`n" + $m.Groups[1].Value.Trim() + "`n", (New-Object Text.UTF8Encoding $false))
+Write-Host "wrote $Out"