From 8b174a2f7160c30cd635cc92f5e24e30d9340234 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 6 Dec 2015 15:40:46 -0400 Subject: add news item for propellor 2.15.0 --- doc/news/version_2.15.0.mdwn | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/news/version_2.15.0.mdwn (limited to 'doc/news/version_2.15.0.mdwn') diff --git a/doc/news/version_2.15.0.mdwn b/doc/news/version_2.15.0.mdwn new file mode 100644 index 00000000..ebd847e2 --- /dev/null +++ b/doc/news/version_2.15.0.mdwn @@ -0,0 +1,29 @@ +propellor 2.15.0 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * Added UncheckedProperty type, along with unchecked to indicate a + Property needs its result checked, and checkResult and changesFile + to check for changes. + * Properties that run an arbitrary command, such as cmdProperty + and scriptProperty are converted to use UncheckedProperty, since + they cannot tell on their own if the command truely made a change or not. + (API Change) + Transition guide: + - When GHC complains about an UncheckedProperty, add: + `assume` MadeChange + (Since these properties used to always return MadeChange, that + change is always safe to make.) + - Or, if you know that the command should modifiy a file, use: + `changesFile` filename + * The `trivial` combinator has been removed. (API change) + Instead, use: + `assume` NoChange + Or, better, use changesFile or checkResult to accurately report + when a property makes a change. + * A few properties have had their Result improved, for example + Apt.buldDep and Apt.autoRemove now check if a change was made or not. + * User.hasDesktopGroups changed to avoid trying to add the user to + groups that don't exist. + * Added Postfix.saslPasswdSet. + * Added Propellor.Property.Locale. + Thanks, Sean Whitton. + * Added Propellor.Property.Fail2Ban."""]] \ No newline at end of file -- cgit v1.2.3