nix v0.11.0 Release Notes

Release Date: 2018-06-02 // almost 6 years ago
  • โž• Added

    • โž• Added sendfile on FreeBSD and Darwin. (#901)
    • โž• Added pselect (#894)
    • ๐Ÿ”ฆ Exposed preadv and pwritev on the BSDs. (#883)
    • โž• Added mlockall and munlockall (#876)
    • โž• Added SO_MARK on Linux. (#873)
    • โž• Added safe support for nearly any buffer type in the sys::aio module. (#872)
    • โž• Added sys::aio::LioCb as a wrapper for libc::lio_listio. (#872)
    • โž• Added unistd::getsid (#850)
    • โž• Added alarm. (#830)
    • Added interface flags IFF_NO_PI, IFF_TUN, IFF_TAP on linux-like systems. (#853)
    • โž• Added statvfs module to all MacOS and Linux architectures. (#832)
    • Added EVFILT_EMPTY, EVFILT_PROCDESC, and EVFILT_SENDFILE on FreeBSD. (#825)
    • ๐Ÿ”ฆ Exposed termios::cfmakesane on FreeBSD. (#825)
    • Exposed MSG_CMSG_CLOEXEC on *BSD. (#825)
    • โž• Added fchmod, fchmodat. (#857)
    • Added request_code_write_int! on FreeBSD/DragonFlyBSD (#833)

    ๐Ÿ”„ Changed

    • Display and Debug for SysControlAddr now includes all fields. (#837)
    • ioctl! has been replaced with a family of ioctl_*! macros. (#833)
    • io!, ior!, iow!, and iorw! has been renamed to request_code_none!, request_code_read!, request_code_write!, and request_code_readwrite! respectively. These have also now been exposed in the documentation. (#833)
    • ๐Ÿง Enabled more ptrace::Request definitions for uncommon Linux platforms (#892)
    • Emulation of FD_CLOEXEC and O_NONBLOCK was removed from socket(), accept4(), and socketpair(). (#907)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed possible panics when using SigAction::flags on Linux (#869)
    • Properly exposed 460800 and 921600 baud rates on NetBSD (#837)
    • Fixed ioctl_write_int! on FreeBSD/DragonFlyBSD (#833)
    • ioctl_write_int! now properly supports passing a c_ulong as the parameter on Linux non-musl targets (#833)

    โœ‚ Removed

    • โœ‚ Removed explicit support for the bytes crate from the sys::aio module. See sys::aio::AioCb::from_boxed_slice examples for alternatives. (#872)
    • โœ‚ Removed sys::aio::lio_listio. Use sys::aio::LioCb::listio instead. (#872)
    • โœ‚ Removed emulated accept4() from macos, ios, and netbsd targets (#907)
    • โœ‚ Removed IFF_NOTRAILERS on OpenBSD, as it has been removed in OpenBSD 6.3 (#893)