Skip to content

1.10.0 #982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2021
Merged

1.10.0 #982

merged 1 commit into from
Aug 26, 2021

Conversation

Fishrock123
Copy link
Member

@Fishrock123 Fishrock123 commented Aug 25, 2021

[1.10.0] - 2021-08-25

This release comes with an assortment of small features and fixes.

Added

  • File now implements Clone so that Files can be passed into closures for use in spawn_blocking.
    • File's contents are already wrapped in Arcs, so the implementation of Clone is straightforward.
  • task::try_current() which returns a handle to the current task if called within the context of a task created by async-std.
  • async_std::io now re-exports WriteExt directly.

Fixed

  • write! now takes already written bytes into account on File.

Internal

  • TcpStream now properly makes use of vectored IO.
  • The net::*::Incoming implementations now do less allocation.

Docs

  • Several docs improvements / fixes.

@dignifiedquire

Closes #976

# [1.10.0] - 2021-08-25

This release comes with an assortment of small features and fixes.

## Added
- `File` now implements `Clone` so that `File`s can be passed into closures for use in `spawn_blocking`.
    - `File`'s contents are already wrapped in `Arc`s, so the implementation of `Clone` is straightforward.
- `task::try_current()` which returns a handle to the current task if called within the context of a task created by async-std.
- `async_std::io` now re-exports `WriteExt` directly.

## Fixed
- `write!` now takes already written bytes into account on `File`.

## Internal
- `TcpStream` now properly makes use of vectored IO.
- The `net::*::Incoming` implementations now do less allocation.

## Docs
- Several docs improvements / fixes.
Copy link
Contributor

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@dignifiedquire dignifiedquire merged commit 47508c5 into async-rs:master Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.10.0
3 participants