You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.7 KiB
1.7 KiB
Changelog
All notable changes to this project will be documented in this file.
Release 0.0.4 - Unreleased
Release 0.0.3 - Unreleased
Features
- The privilege escalation helper can now run proactively in some situations. While it could only be enabled or disabled (
use_pe_helper = True/False
), it can now also run proactively in some situations. To accomodate this, a new enumPEHelperMode
was added. Instead of simply enabling or disabling it, aPEHelperMode
enum has been introduced. The oldFalse
for disabling is nowPEHelperMode.DO_NOT_USE
, bothPEHelperMode.USE_IF_REQUIRED
andPEHelperMode.USE_PROACTIVE
replace the oldTrue
, with the latter performing the action or parts of it (like umounting before destroying) before the actual action occurs. The old parameters and properties are slated for removal in the next release.
Deprecated features
use_pe_helper
was deprecated in favor ofpe_helper_mode
. Usage of the old parameters or properties will generate aDeprecationWarning
. When used, they will setpe_helper_mode
if appropriate, by either setting it toPEHelperMode.DO_NOT_USE
(ifFalse
) orPEHelperMode.USE_IF_REQUIRED
(when setTrue
). The parameters and properties will be removed in the next version (0.0.4
).
Features
- Support privilege escalation when removing a fileset in OpenZFS 2.0+, where the error message does no longer indicate that it is a permission problem.
- In some situations, privilege escalation can be performed proactively, i.e. if selected it calls the pe_helper right away instead of failing, analyzing the error message and then calling it.
Tooling
- Fix pytest deprecation warning
Release 0.0.2
It spawned like this out of thin air.