From b9d9333e030ac59ea11d435b7e2e4758daff4b4a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Jan 2019 02:19:06 -0400 Subject: fix withOS type level bug withOS had a type level bug that allowed ensureProperty to be used inside it with a Property that does not match the type of the withOS itself. Propellor.Property.Cron.runPropellor is a Property DebianLike; it was incorrectly a Property UnixLike before and that wrong type was hidden by the withOS bug. This commit was sponsored by Jack Hill on Patreon. --- debian/changelog | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index c870e48a..7c4d2ef2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,16 @@ -propellor (5.5.1) UNRELEASED; urgency=medium +propellor (5.6.0) UNRELEASED; urgency=medium + * withOS had a type level bug that allowed ensureProperty to be used inside + it with a Property that does not match the type of the withOS itself. + (API change) + The fix may cause some of your valid uses of withOS to no longer type + check; the best way to work around that is to use pickOS to pick between + several properties that are further specialized using withOS. + For an example of how to do that, see the source code to + Propellor.Property.Borg.installed + * Propellor.Property.Cron.runPropellor is a Property DebianLike; it was + incorrectly a Property UnixLike before and that wrong type was hidden by + the withOS bug. * Some openbsd portability fixes. Thanks, rsiddharth. * Added Libvirt module. Thanks, Sean Whitton. * When bootstrapping on Debian, libghc-stm-dev may not be available, -- cgit v1.2.3