How to introduce a breaking version bump

I still think this is what release notes are for. After all, we cannot distinguish whether user knows about the new version, and renaming the attribute just to let them know adds needless churn.

We just need to figure out how to make release notes work on unstable.

There is also, which might be useful: GitHub - trofi/nix-olde: Show details about outdated packages in your NixOS system.

I would say this protocol makes sense for when the old attribute becomes deprecated (see also doc: add instructions to rename a package · Issue #142873 · NixOS/nixpkgs · GitHub). I think most people will agree warnings are the perfect method to let users know about deprecation in advance, without immediately breaking their configs.

Unfortunately, warnings also have side effects – they spam nix-env users, and I vaguely recall there was some issue with Hydra. Though, since warnings have been used in aliases.nix for a while now, perhaps Hydra is no longer a problem (it definitely should not be if we merge release: disallow aliases by jtojnar · Pull Request #316680 · NixOS/nixpkgs · GitHub), and nix-env spam might be considered an acceptable trade-off.