forge
Explore
Log in

Don't you dare go Hollow

wiki: Update the wording on the configuration breaking change policy

Browse files at this commit

083a56c729baa9a85257002d9aaec96c33b24fcaIvan MolodetskikhParent: 88fcf0c
wiki/Configuration:-Overview.mdmodified+2 -5
@@ -135,11 +135,8 @@ A notable exception is `binds {}`: they do not get filled with defaults, so make
135 135
136 ### Breaking Change Policy136 ### Breaking Change Policy
137 137
138-Configuration backwards compatibility follows the Rust / Cargo semantic versioning standards.138+As a rule, niri updates should not break existing config files.
139-A patch release (i.e. niri 0.1.3 to 0.1.4) must not cause a parse error on a config that worked on the previous version.139+(For example, the default config from niri v0.1.0 still parses fine on v25.02 as I'm writing this.)
140-
141-A minor release (i.e. niri 0.1.3 to 0.2.0) *can* cause previously valid config files to stop parsing.
142-When niri reaches 1.0, a major release (i.e. niri 1.0 to 2.0) will be required to break config backwards compatibility.
143 140
144 Exceptions can be made for parsing bugs.141 Exceptions can be made for parsing bugs.
145 For example, niri used to accept multiple binds to the same key, but this was not intended and did not do anything (the first bind was always used).142 For example, niri used to accept multiple binds to the same key, but this was not intended and did not do anything (the first bind was always used).