From 6d4ab0dbcc5fe3d37918fc494db805e98c906369 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sat, 28 Feb 2026 16:33:24 +0800 Subject: [PATCH 1/4] sing-box: 1.12.23 -> 1.13.0 --- pkgs/by-name/si/sing-box/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/si/sing-box/package.nix b/pkgs/by-name/si/sing-box/package.nix index 6e6abaf07cb6..2998b4b4ee3d 100644 --- a/pkgs/by-name/si/sing-box/package.nix +++ b/pkgs/by-name/si/sing-box/package.nix @@ -10,16 +10,16 @@ buildGoModule (finalAttrs: { pname = "sing-box"; - version = "1.12.23"; + version = "1.13.0"; src = fetchFromGitHub { owner = "SagerNet"; repo = "sing-box"; tag = "v${finalAttrs.version}"; - hash = "sha256-GzZgsRvbSpppTFY7Jm+56nCi5auDzV34i0K7fKOMafk="; + hash = "sha256-lhkz/mXydZz5iJllqSp4skA4+jxs8oUmon/oFs98Zfc="; }; - vendorHash = "sha256-CSAXPvXMUwD08fsp66vr1pA4Wxy0rY2cEJU1Pl0mdUA="; + vendorHash = "sha256-vVLaG0PV1OXA+YL67BnrHJiSkNVzJbZ8TeMKbO2rMu0="; tags = [ "with_quic" From a46cd45b3e3961c8aed11a14f4a6e86d292640ed Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 1 Mar 2026 13:21:08 +0800 Subject: [PATCH 2/4] nixos/sing-box: remove warning for long removed options --- .../modules/services/networking/sing-box.nix | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/nixos/modules/services/networking/sing-box.nix b/nixos/modules/services/networking/sing-box.nix index 866c9f4fe470..db9773d8deab 100644 --- a/nixos/modules/services/networking/sing-box.nix +++ b/nixos/modules/services/networking/sing-box.nix @@ -41,27 +41,6 @@ in }; config = lib.mkIf cfg.enable { - assertions = - let - rules = cfg.settings.route.rules or [ ]; - in - [ - { - assertion = !lib.any (r: r ? source_geoip || r ? geoip) rules; - message = '' - Deprecated option `services.sing-box.settings.route.rules.*.{source_geoip,geoip}` is set. - See https://sing-box.sagernet.org/migration/#migrate-geoip-to-rule-sets for migration instructions. - ''; - } - { - assertion = !lib.any (r: r ? geosite) rules; - message = '' - Deprecated option `services.sing-box.settings.route.rules.*.geosite` is set. - See https://sing-box.sagernet.org/migration/#migrate-geosite-to-rule-sets for migration instructions. - ''; - } - ]; - # for polkit rules environment.systemPackages = [ cfg.package ]; services.dbus.packages = [ cfg.package ]; From fa4d47cba618407fa85047dc8e79f60ae0ea9f3b Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 1 Mar 2026 13:27:50 +0800 Subject: [PATCH 3/4] doc/rl-2605: add sing-box --- doc/release-notes/rl-2605.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/release-notes/rl-2605.section.md b/doc/release-notes/rl-2605.section.md index cf9f53baba96..a3d5bfe41df9 100644 --- a/doc/release-notes/rl-2605.section.md +++ b/doc/release-notes/rl-2605.section.md @@ -62,6 +62,8 @@ This update introduces several breaking changes: the Python plugin interface is now v5.0, the `PATH` plugin has been renamed to `Commandline`, and the QStylesheets-based widgets box model frontend has been removed. For more information read the [changelog for 34.0.0](https://albertlauncher.github.io/2026/01/19/albert-v34.0.0-released/). +- `sing-box` has been updated to 1.13.0, which has removed some deprecated options. See [upstream documentation](https://sing-box.sagernet.org/configuration/) for details and migration options. + - `cargo-codspeed` has been updated from `3.0.5` to `4.2.0`. Version `4.0.0` includes breaking changes. For more information read the [changelog for 4.0.0](https://github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.0.0). - `corepack_latest` has been removed, as Corepack is no longer distributed with Node.js. From 3ff8952fc3b526feb50a6f17984e9ecf8d96d0a2 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Sun, 1 Mar 2026 13:27:50 +0800 Subject: [PATCH 4/4] nixos/doc/rl-2605: add sing-box --- nixos/doc/manual/release-notes/rl-2605.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 8e4856ec0cd1..8648580fd898 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -72,6 +72,8 @@ - `services.crabfit` was removed because its upstream packages are unmaintained and insecure. +- `sing-box` has been updated to 1.13.0, which has removed some deprecated options. See [upstream documentation](https://sing-box.sagernet.org/configuration/) for details and migration options. + - `services.tandoor-recipes` now uses a sub-directory for media files by default starting with `26.05`. Existing setups should move media files out of the data directory and adjust `services.tandoor-recipes.extraConfig.MEDIA_ROOT` accordingly. See [Migrating media files for pre 26.05 installations](#module-services-tandoor-recipes-migrating-media). - `rustic` was upgraded to `0.11.x`, which contains breaking [changes to command-line parameters and configuration file](https://rustic.cli.rs/docs/breaking_changes.html#0110).