60e8fcf0e5
The explicit remove helped to uncover some hidden uses of `optionSet` in NixOps. However it makes life harder for end-users of NixOps - it will be impossible to deploy 19.03 systems with old NixOps, but there is no new release of NixOps with `optionSet` fixes. Also, "deprecation" process isn't well defined. Even that `optionSet` was declared "deprecated" for many years, it was never announced. Hence, I leave "deprecation" announce. Then, 3 releases after announce, we can announce removal of this feature. This type has to be removed, not `throw`-ed in runtime, because it makes some perfectly fine code to fail. For example: ``` $ nix-instantiate --eval -E '(import <nixpkgs/lib>).types' --strict trace: `types.list` is deprecated; use `types.listOf` instead error: types.optionSet is deprecated; use types.submodule instead (use '--show-trace' to show detailed location information) ``` |
||
---|---|---|
.. | ||
release-notes.xml | ||
rl-1310.xml | ||
rl-1404.xml | ||
rl-1412.xml | ||
rl-1509.xml | ||
rl-1603.xml | ||
rl-1609.xml | ||
rl-1703.xml | ||
rl-1709.xml | ||
rl-1803.xml | ||
rl-1809.xml | ||
rl-1903.xml | ||
rl-1909.xml |