Skip to content

Commit

Permalink
Add CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnschug committed Oct 8, 2024
1 parent ba2431d commit c97e852
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## v0.11.1 (2024-XX-XX)
- Added install instructions for required dependencies on Windows via `winget`
- Added `TryFrom` implementations for `Data` from common IO types
- Updated bindings for GPGMe 1.23
- Removed redundant global context engine lock
- 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 number of functions needed to support all combinations of IO traits
- Fixed soundness bug in `ContextWithCallbacks`
- Fixed soundness bugs related to raw pointer to reference to slice conversions
2 changes: 1 addition & 1 deletion examples/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.map_err(|e| format!("can't open '{}': {e:?}", filename.display()))?;
ctx.verify_detached(signature, signed)
} else {
ctx.verify_opaque(signature, &mut Vec::new())
ctx.verify_opaque(signature, Vec::new())
};
print_result(&result.map_err(|e| format!("verification failed: {e:?}"))?);
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl<'data> Data<'data> {

#[inline]
#[deprecated(note = "Use Data::builder instead.", since = "0.11.1")]
pub fn from_stream<S: Send>(s: S) -> Result<Self, WrappedError<S>>
pub fn from_stream<S>(s: S) -> Result<Self, WrappedError<S>>
where
S: Read + Write + Send + 'data,
{
Expand Down

0 comments on commit c97e852

Please sign in to comment.