summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2016-03-24 17:31:47 -0400
committerJoey Hess2016-03-24 18:22:07 -0400
commit63ed6dcd7b2e916f17514abe7860df9a135e1be9 (patch)
treeee8a256a1a5f39653a2a0d62d92178ac166279a2
parent84e3b7c5e2984055d090c5c27c0f1487573301fc (diff)
docs
-rw-r--r--debian/changelog11
-rw-r--r--propellor.cabal2
2 files changed, 8 insertions, 5 deletions
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 <id@joeyh.name> Thu, 24 Mar 2016 15:02:33 -0400
diff --git a/propellor.cabal b/propellor.cabal
index a13ebcb5..c8c68e48 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -1,5 +1,5 @@
Name: propellor
-Version: 2.17.0
+Version: 3.0.0
Cabal-Version: >= 1.8
License: BSD3
Maintainer: Joey Hess <id@joeyh.name>