Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 2.67 KB

CHANGELOG.md

File metadata and controls

92 lines (63 loc) · 2.67 KB

[0.9.0] - [2024-05-24]

Changed

  • All types now use I/O Safety. This means that they take &BorrowedFd<_> arguments instead of RawFd arguments. This has serious repurcussions for consumers who intend to create Futures that have 'static lifetimes. It all updates the nix dependency to 0.29.0 and updates the MSRV to 1.69.0. (#42)

[0.8.0] - 2023-08-29

Changed

  • Major rewrite. The new crate is more efficient. In particular, it:

    • Does not internally Box the types that must be Pinned. That is now the caller's responsibility.
    • Uses the native aio_readv and aio_writev functions, instead of faking them with lio_listio. This is more efficient, but requires FreeBSD 13.0 or later. (#29)
  • Updated Nix to 0.27.0. This raises MSRV to 1.65.0. (#38)

Fixed

  • Now sets EV_ONESHOT, allowing use in multithreaded contexts where the thread that receives notification might not be the thread that calls aio_return. (#38)

[0.7.0] - 2022-04-21

Changed

  • Updated Nix to 0.24. This change raises MSRV from 1.41 to 1.46.

  • Updated mio to 0.8.

[0.6.0] - 2021-09-17

Changed

  • Updated Nix to 0.22.0. This changes mio-aio's error types, because we reexport from Nix. (#21)

  • Updated mio to 0.7.

  • Added a tokio feature flag, which enables extra methods needed by a mio-aio consumers that wish to implement Tokio's AioSource trait.

[0.5.0] - 2021-05-31

Changed

  • mio-aio's operations no longer own their buffers. It is less necessary now that async/await is available. Instead, all mio-aio operations use borrowed buffers.

  • Most AioCb methods now take a mutable receiver rather than an immutable one.

[0.4.1] - 2019-08-07

Fixed

  • Fixed several dependencies's version specifications.

[0.4.0] - 2018-11-29

Added

  • Added BufRef::len

Changed

  • If an lio_listio operation fails asynchronously, the future will now include final error status for all failed operations.
  • BufRef::boxed_slice and BufRef::boxed_mut_slice now return &Borrow and &BorrowMut respectively, rather than references to the boxed type.

[0.3.1] - 2018-07-01

Fixed

  • Fixed Cargo's documentation link

[0.3.0] - 2018-07-01

Added

  • Support for submitting multiple operations at once with lio_listio.

Changed

  • AioCb structures can no longer be created from a Rc<Box<[u8]>>. Use a Box<Borrow<[u8]>> or a Box<BorrowMut<[u8]>> instead.

Fixed

Removed