From 63ed6dcd7b2e916f17514abe7860df9a135e1be9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 24 Mar 2016 17:31:47 -0400 Subject: docs --- debian/changelog | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index f1138eb2..323394f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,8 @@ propellor (3.0.0) UNRELEASED; urgency=medium * Property types have been improved to indicate what systems they target. - Transition guide: + This allows, eg, Property Debian to not be used on a FreeBSD system. + Transition guide for this sweeping API change: - Change "Property NoInfo" to "Property UnixLike" - Change "Property HasInfo" to "Property (HasInfo + UnixLike)" - Change "RevertableProperty NoInfo" to @@ -17,12 +18,14 @@ propellor (3.0.0) UNRELEASED; urgency=medium "Property (HasInfo + Debian)" - It's also possible make a property support a set of OS's, for example: "Property (HasInfo + Debian + FreeBSD)" + - `ensureProperty` now needs information about the metatypes of the + property it's used in to be passed to it. See the documentation + of `ensureProperty` for an example, but basically, change + this: foo = property desc $ ... ensureProperty bar + to this: foo = property' desc $ \o -> ... ensureProperty o bar - The new `pickOS` property combinator can be used to combine different properties, supporting different OS's, into one Property that chooses what to do based on the Host's OS. - - `ensureProperty` now needs information about the metatypes of the - property it's used in to be passed to it. See the documentation - of `ensureProperty` for an example. -- Joey Hess Thu, 24 Mar 2016 15:02:33 -0400 -- cgit v1.2.3