Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.7 KB

CHANGELOG.md

File metadata and controls

39 lines (31 loc) · 1.7 KB

Changelog

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.

[Unreleased]

Removed

  • Removed the EngineInfoGuard::new function as it was mistakenly made pub (instead of pub(crate)) and was unsound. The intended method of creation is via Gpgme::engine_info. (BREAKING CHANGE)

Added

  • Added TryFrom implementations for Data from common IO types
  • Added new bindings for GPGMe 1.23

Changed

  • Updated bitflags dependency to major version two. Compatibility shims were added where neccessary to maintain backwards compatibility.

Fixed

  • Fixed soundness bug in ContextWithCallbacks
  • Fixed soundness bugs related to raw pointer to reference to slice conversions

Deprecated

  • Deprecated the from_bits_unchecked functions on all flags types, as they are no longer generated by bitflags@2 and are now shims.
  • Deprecated Data::from_fd in favor of Data::from_borrowed_fd which uses the new safe raw-IO type (BorrowedFd)
  • Deprecated Data::from_{read,write,stream} in favor of Data::builder and DataBuilder 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 to std::env::set_var

Other

  • Added install instructions for required dependencies on Windows via winget
  • Fixed install instructions for apt base distributions (#43)
  • Removed redundant global context engine lock