You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hole-punching and daemon-config highlights describe the same
user-facing change, a named startup error instead of an abrupt exit,
so fold them into one entry and drop the internal `log.Fatal` wording.
Copy file name to clipboardExpand all lines: docs/changelogs/v0.43.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@ This release was brought to you by the [Shipyard](https://ipshipyard.com/) team.
11
11
-[Overview](#overview)
12
12
-[🔦 Highlights](#-highlights)
13
13
-[🛜 One-time notice when behind CGNAT](#-one-time-notice-when-behind-cgnat)
14
-
-[🕳️ Clearer error when hole punching is misconfigured](#-clearer-error-when-hole-punching-is-misconfigured)
15
-
-[Daemon configuration errors no longer exit abruptly](#daemon-configuration-errors-no-longer-exit-abruptly)
14
+
-[🛑 Clearer errors for invalid config at startup](#-clearer-errors-for-invalid-config-at-startup)
16
15
-[🔑 `ipfs config replace` keeps PeerID and private key in sync](#-ipfs-config-replace-keeps-peerid-and-private-key-in-sync)
17
16
-[📦️ Dependency updates](#-dependency-updates)
18
17
-[📝 Changelog](#-changelog)
@@ -40,13 +39,11 @@ Silence the notice with [`Internal.CGNATCheck`](https://github.com/ipfs/kubo/blo
40
39
> [!IMPORTANT]
41
40
> The daemon now refuses to start when [`Ipns.RecordLifetime`](https://github.com/ipfs/kubo/blob/master/docs/config.md#ipnsrecordlifetime) is shorter than [`Ipns.RepublishPeriod`](https://github.com/ipfs/kubo/blob/master/docs/config.md#ipnsrepublishperiod): records would expire before the republisher refreshes them, leaving the name unresolvable. Raise `Ipns.RecordLifetime` or lower `Ipns.RepublishPeriod` so the lifetime is at least the period.
42
41
43
-
#### 🕳️ Clearer error when hole punching is misconfigured
42
+
#### 🛑 Clearer errors for invalid config at startup
44
43
45
-
Setting [`Swarm.EnableHolePunching`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmenableholepunching) to `true` while [`Swarm.RelayClient.Enabled`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmrelayclientenabled) is `false` is an unsupported combination: hole punching needs the relay client to coordinate the upgrade from a relayed to a direct connection. Kubo now refuses to start with an error that names both settings, instead of exiting abruptly.
44
+
When startup config is invalid, Kubo now stops with an error that names the problem instead of exiting abruptly. One case is an unsupported hole-punching setup: [`Swarm.EnableHolePunching`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmenableholepunching)set to `true` while [`Swarm.RelayClient.Enabled`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmrelayclientenabled) is `false`. Hole punching needs the relay client to coordinate the upgrade from a relayed to a direct connection, so the error now names both settings.
46
45
47
-
#### Daemon configuration errors no longer exit abruptly
48
-
49
-
Invalid daemon configuration now returns startup errors through the normal command path instead of calling `log.Fatal`. This covers deprecated provider settings, removed providing options, delegated routing with providing enabled, private-network auto routing, and the removed `IPFS_REUSEPORT` environment variable.
46
+
The same path also covers deprecated `Provider` and `Reprovider` settings, removed providing options, delegated routing with providing enabled, private-network `auto` routing, and the removed `IPFS_REUSEPORT` environment variable.
50
47
51
48
#### 🔑 `ipfs config replace` keeps PeerID and private key in sync
0 commit comments