All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed the
EngineInfoGuard::new
function as it was mistakenly madepub
(instead ofpub(crate)
) and was unsound. The intended method of creation is viaGpgme::engine_info
. (BREAKING CHANGE)
- Added
TryFrom
implementations forData
from common IO types - Added new bindings for GPGMe 1.23
- Updated
bitflags
dependency to major version two. Compatibility shims were added where neccessary to maintain backwards compatibility.
- Fixed soundness bug in
ContextWithCallbacks
- Fixed soundness bugs related to raw pointer to reference to slice conversions
- Deprecated the
from_bits_unchecked
functions on all flags types, as they are no longer generated bybitflags@2
and are now shims. - Deprecated
Data::from_fd
in favor ofData::from_borrowed_fd
which uses the new safe raw-IO type (BorrowedFd
) - Deprecated
Data::from_{read,write,stream}
in favor ofData::builder
andDataBuilder
which reduces the number of functions needed to support all combinations of IO traits - Deprecated the safety of
gpgme::set_flag
. This function is not thread safe and has similar safety issues tostd::env::set_var
- Added install instructions for required dependencies on Windows via
winget
- Fixed install instructions for apt base distributions (#43)
- Removed redundant global context engine lock