From 900cec79a0aaf0628f855ec71d0ecf3145a67d3e Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 3 Apr 2018 14:04:05 +0200 Subject: lib/debug: add replacement instructions & release notes for every deprecated function. --- nixos/doc/manual/release-notes/rl-1809.xml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index 61f9ec8ba995..2e53f0563baf 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -56,6 +56,11 @@ has the following highlights: following incompatible changes: + + + lib.strict is removed. Use builtins.seq instead. + + The clementine package points now to the free derivation. @@ -77,6 +82,46 @@ following incompatible changes: + lib.attrNamesToStr has been deprecated. Use + more specific concatenation (lib.concat(Map)StringsSep) + instead. + + + + + lib.addErrorContextToAttrs has been deprecated. Use + builtins.addErrorContext directly. + + + + + lib.showVal has been deprecated. Use + lib.traceSeqN instead. + + + + + lib.traceXMLVal has been deprecated. Use + lib.traceValFn builtins.toXml instead. + + + + + lib.traceXMLValMarked has been deprecated. Use + lib.traceValFn (x: str + builtins.toXML x) instead. + + + + + lib.traceValIfNot has been deprecated. Use + if/then/else and lib.traceValSeq + instead. + + + + + lib.traceCallXml has been deprecated. Please complain + if you use the function regularly. -- cgit 1.4.1