lol

stalwart-mail: add v0.13.x breaking change notice

@norpol 124c3f48 0c5b2b08

+19
+2
doc/release-notes/rl-2511.section.md
··· 33 33 34 34 - `conftest` since `0.60.0` has moved to use rego `v1` as default. To continue using `v0` use `--rego-version v0`. For more information about upgrading to Rego v1 syntax, see the [upstream docs](https://www.openpolicyagent.org/docs/latest/v0-upgrade/). 35 35 36 + - `stalwart-mail` since `0.13.0` "introduces a significant redesign of the MTA’s delivery and queueing subsystem". See [the upgrading announcement for the `0.13.0` release](https://github.com/stalwartlabs/stalwart/blob/89b561b5ca1c5a11f2a768b4a2cfef0f473b7a01/UPGRADING.md#upgrading-from-v012x-and-v011x-to-v013x). 37 + 36 38 - The `archipelago-minecraft` package was removed, as upstream no longer provides support for the Minecraft APWorld. 37 39 38 40 - `tooling-language-server` has been renamed to `deputy` (both the package and binary), following the rename of the upstream project.
+17
nixos/modules/services/mail/stalwart-mail.nix
··· 71 71 }; 72 72 73 73 config = lib.mkIf cfg.enable { 74 + assertions = [ 75 + { 76 + assertion = 77 + !( 78 + (lib.hasAttrByPath [ "settings" "queue" ] cfg) 79 + && (builtins.any (lib.hasAttrByPath [ 80 + "value" 81 + "next-hop" 82 + ]) (lib.attrsToList cfg.settings.queue)) 83 + ); 84 + message = '' 85 + Stalwart deprecated `next-hop` in favor of "virtual queues" `queue.strategy.route` \ 86 + with v0.13.0 see [Outbound Strategy](https://stalw.art/docs/mta/outbound/strategy/#configuration) \ 87 + and [release announcement](https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING.md#upgrading-from-v012x-and-v011x-to-v013x). 88 + ''; 89 + } 90 + ]; 74 91 75 92 # Default config: all local 76 93 services.stalwart-mail.settings = {