async-std v1.5.0 Release Notes

Release Date: 2020-02-03 // about 4 years ago
  • ๐Ÿ“š API Documentation

    This patch includes various quality of life improvements to async-std. ๐ŸŽ Including improved performance, stability, and the addition of various ๐Ÿ‘ฏ Clone impls that replace the use of Arc in many cases.

    โž• Added

    • โž• Added links to various ecosystem projects from the README (#660)
    • โž• Added an example on FromStream for Result<T, E> (#643)
    • โž• Added stream::pending as "unstable" (#615)
    • โž• Added an example of stream::timeout to document the error flow (#675)
    • ๐Ÿ‘ฏ Implement Clone for DirEntry (#682)
    • ๐Ÿ‘ฏ Implement Clone for TcpStream (#689)

    ๐Ÿ”„ Changed

    • โœ‚ Removed internal comment on stream::Interval (#645)
    • 0๏ธโƒฃ The "unstable" feature can now be used without requiring the "default" feature (#647)
    • โœ‚ Removed unnecessary trait bound on stream::FlatMap (#651)
    • โšก๏ธ Updated the "broadcaster" dependency used by "unstable" to 1.0.0 (#681)
    • โšก๏ธ Updated async-task to 1.2.1 (#676)
    • ๐ŸŽ task::block_on now parks after a single poll, improving performance in many cases (#684)
    • ๐Ÿ‘Œ Improved reading flow of the "client" part of the async-std tutorial (#550)
    • ๐Ÿ‘‰ Use take_while instead of scan in impl of Product, Sum and FromStream (#667)
    • ๐ŸŽ TcpStream::connect no longer uses a thread from the threadpool, improving performance (#687)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed crate documentation typo (#655)
    • ๐Ÿ›  Fixed documentation for UdpSocket::recv (#648)
    • ๐Ÿ›  Fixed documentation for UdpSocket::send (#671)
    • ๐Ÿ›  Fixed typo in stream documentation (#650)
    • ๐Ÿ›  Fixed typo on sync::JoinHandle documentation (#659)
    • โœ‚ Removed use of std::error::Error::description which failed CI (#661)
    • Removed the use of rustfmt's unstable format_code_in_doc_comments option which failed CI (#685)
    • ๐Ÿ›  Fixed a code typo in the task::sleep example (#688)