Skip to content
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

chore: prepare v0.2.0 release #1822

Merged
merged 5 commits into from Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/Cargo.toml
Expand Up @@ -5,10 +5,10 @@ publish = false
edition = "2018"

[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
tokio-util = { version = "=0.2.0-alpha.6", path = "../tokio-util", features = ["full"] }
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
tokio-util = { version = "0.2.0", path = "../tokio-util", features = ["full"] }

bytes = { git = "https://github.com/tokio-rs/bytes" }
bytes = "0.5.0"
futures = "0.3.0"

[[example]]
Expand Down
3 changes: 3 additions & 0 deletions tokio-macros/CHANGELOG.md
@@ -0,0 +1,3 @@
# 0.2.0 (November 26, 2019)

- Initial release
6 changes: 3 additions & 3 deletions tokio-macros/Cargo.toml
Expand Up @@ -7,13 +7,13 @@ name = "tokio-macros"
# - Cargo.toml
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.2.0-alpha.6"
version = "0.2.0"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-macros/0.2.0-alpha.6/tokio_macros"
documentation = "https://docs.rs/tokio-macros/0.2.0/tokio_macros"
description = """
Tokio's proc macros.
"""
Expand All @@ -29,7 +29,7 @@ quote = "1"
syn = { version = "1.0.3", features = ["full"] }

[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion tokio-macros/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.0-alpha.6")]
#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.0")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
25 changes: 1 addition & 24 deletions tokio-test/CHANGELOG.md
@@ -1,26 +1,3 @@
# 0.2.0-alpha.6 (September 30, 2019)

- Move to `futures-*-preview 0.3.0-alpha.19`
- Move to `pin-project 0.4`

# 0.2.0-alpha.5 (September 19, 2019)

- Track tokio release.

# 0.2.0-alpha.4 (August 29, 2019)

- Track tokio release.

# 0.2.0-alpha.3 (August 28, 2019)

### Changed
- track changes to `tokio-timer` (#1471).

# 0.2.0-alpha.2 (August 17, 2019)

### Changed
- Update `futures` dependency to 0.3.0-alpha.18.

# 0.2.0-alpha.1 (August 8, 2019)
# 0.2.0 (November 25, 2019)

- Initial release
10 changes: 5 additions & 5 deletions tokio-test/Cargo.toml
Expand Up @@ -7,26 +7,26 @@ name = "tokio-test"
# - Cargo.toml
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag.
version = "0.2.0-alpha.6"
version = "0.2.0"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-test/0.2.0-alpha.6/tokio_test"
documentation = "https://docs.rs/tokio-test/0.2.0/tokio_test"
description = """
Testing utilities for Tokio- and futures-based code
"""
categories = ["asynchronous", "testing"]

[dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["rt-core", "sync", "time", "test-util"] }
tokio = { version = "0.2.0", path = "../tokio", features = ["rt-core", "sync", "time", "test-util"] }

bytes = { git = "https://github.com/tokio-rs/bytes" }
bytes = "0.5.0"
futures-core = "0.3.0"

[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
futures-util = "0.3.0"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion tokio-test/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.6")]
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
4 changes: 4 additions & 0 deletions tokio-tls/CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.3.0 (November 26, 2019)

- Updates for tokio 0.2 release

# 0.3.0-alpha.6 (September 30, 2019)

- Move to `futures-*-preview 0.3.0-alpha.19`
Expand Down
6 changes: 3 additions & 3 deletions tokio-tls/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ name = "tokio-tls"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.3.x" git tag.
version = "0.3.0-alpha.6"
version = "0.3.0"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
Expand All @@ -26,10 +26,10 @@ travis-ci = { repository = "tokio-rs/tokio-tls" }

[dependencies]
native-tls = "0.2"
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
tokio = { version = "0.2.0", path = "../tokio" }

[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["macros", "stream", "rt-core", "io-util", "net"] }
tokio = { version = "0.2.0", path = "../tokio", features = ["macros", "stream", "rt-core", "io-util", "net"] }

cfg-if = "0.1"
env_logger = { version = "0.6", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion tokio-tls/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-tls/0.3.0-alpha.6")]
#![doc(html_root_url = "https://docs.rs/tokio-tls/0.3.0")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
3 changes: 3 additions & 0 deletions tokio-util/CHANGELOG.md
@@ -0,0 +1,3 @@
# 0.2.0 (November 26, 2019)

- Initial release
12 changes: 6 additions & 6 deletions tokio-util/Cargo.toml
Expand Up @@ -7,13 +7,13 @@ name = "tokio-util"
# - Cargo.toml
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag.
version = "0.2.0-alpha.6"
version = "0.2.0"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
documentation = "https://docs.rs/tokio-util/0.2.0-alpha.6/tokio_util"
documentation = "https://docs.rs/tokio-util/0.2.0/tokio_util"
description = """
Additional utilities for working with Tokio.
"""
Expand All @@ -30,17 +30,17 @@ codec = []
udp = ["tokio/udp"]

[dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio" }
tokio = { version = "0.2.0", path = "../tokio" }

bytes = { git = "https://github.com/tokio-rs/bytes" }
bytes = "0.5.0"
futures-core = "0.3.0"
futures-sink = "0.3.0"
log = "0.4"
pin-project-lite = "0.1.1"

[dev-dependencies]
tokio = { version = "=0.2.0-alpha.6", path = "../tokio", features = ["full"] }
tokio-test = { version = "=0.2.0-alpha.6", path = "../tokio-test" }
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
tokio-test = { version = "0.2.0", path = "../tokio-test" }

futures = "0.3.0"

Expand Down
2 changes: 1 addition & 1 deletion tokio-util/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-util/0.2.0-alpha.6")]
#![doc(html_root_url = "https://docs.rs/tokio-util/0.2.0")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down
57 changes: 17 additions & 40 deletions tokio/CHANGELOG.md
@@ -1,46 +1,23 @@
This changelog only applies to the `tokio` crate proper. Each sub crate
maintains its own changelog tracking changes made in each respective sub crate.
# 0.2.0 (November 26, 2019)

# 0.2.0-alpha.6 (September 30, 2019)

- Move to `futures-*-preview 0.3.0-alpha.19`
- Move to `pin-project 0.4`

# 0.2.0-alpha.5 (September 19, 2019)

### Changed
- rename `sleep` to `delay_for` (#1518).
- rename `Lock` to `Mutex` and make it more like `std::sync::Mutex` (#1573).

### Added
- add generic `split` for `AsyncRead + AsyncWrite` (#1521).

# 0.2.0-alpha.4 (August 29, 2019)

- Track tokio-net release.

# 0.2.0-alpha.3 (August 28, 2019)
A major breaking change. Most implementation and APIs have changed one way or
another. This changelog entry contains a highlight

### Changed
- `delay(...)` instead of `Delay::new(...)` (#1440).
- use `tracing` instead of `log` (#1454).

### Added
- re-export `tokio_net::signal::ctrl_c()` (#1491).

# 0.2.0-alpha.2 (August 17, 2019)

### Changed
- Update `futures` dependency to 0.3.0-alpha.18.
- Remove `reactor` module.

### Added
- Add `BufReader` / `BufWriter` (#1438).
- Update `UdpFramed` to `std::future` (#1370).

# 0.2.0-alpha.1 (August 8, 2019)

- Switch to `async`, `await`, and `std::future`.
- APIs are updated to use `async / await`.
- most `tokio-*` crates are collapsed into this crate.
- Scheduler is rewritten.
- `tokio::spawn` returns a `JoinHandle`.
- A single I/O / timer is used per runtime.
- I/O driver uses a concurrent slab for allocating state.
- components are made available via feature flag.
- Use `bytes` 0.5
- `tokio::codec` is moved to `tokio-util`.

### Removed
- Standalone `timer` and `net` drivers are removed, use `Runtime` instead
- `current_thread` runtime is removed, use `tokio::runtime::Runtime` with
`basic_scheduler` instead.

# 0.1.21 (May 30, 2019)

Expand Down
10 changes: 5 additions & 5 deletions tokio/Cargo.toml
Expand Up @@ -8,12 +8,12 @@ name = "tokio"
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.2.x" git tag.
version = "0.2.0-alpha.6"
version = "0.2.0"
edition = "2018"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/tokio/0.2.0-alpha.6/tokio/"
documentation = "https://docs.rs/tokio/0.2.0/tokio/"
repository = "https://github.com/tokio-rs/tokio"
homepage = "https://tokio.rs"
description = """
Expand Down Expand Up @@ -90,9 +90,9 @@ uds = ["io-driver", "mio-uds", "libc"]


[dependencies]
tokio-macros = { version = "=0.2.0-alpha.6", optional = true, path = "../tokio-macros" }
tokio-macros = { version = "0.2.0", optional = true, path = "../tokio-macros" }

bytes = { git = "https://github.com/tokio-rs/bytes" }
bytes = "0.5.0"
pin-project-lite = "0.1.1"

# Everything else is optional...
Expand All @@ -119,7 +119,7 @@ default-features = false
optional = true

[dev-dependencies]
tokio-test = { version = "=0.2.0-alpha.6", path = "../tokio-test" }
tokio-test = { version = "0.2.0", path = "../tokio-test" }
futures = { version = "0.3.0", features = ["async-await"] }
loom = { version = "0.2.13", features = ["futures", "checkpoint"] }
proptest = "0.9.4"
Expand Down
10 changes: 5 additions & 5 deletions tokio/README.md
Expand Up @@ -30,7 +30,7 @@ the Rust programming language. It is:

[Website](https://tokio.rs) |
[Guides](https://tokio.rs/docs/) |
[API Docs](https://docs.rs/tokio/0.2.0-alpha.2/tokio) |
[API Docs](https://docs.rs/tokio/0.2.0/tokio) |
[Chat](https://gitter.im/tokio-rs/tokio)

## Overview
Expand All @@ -47,15 +47,15 @@ level, it provides a few major components:
These components provide the runtime components necessary for building
an asynchronous application.

[net]: https://docs.rs/tokio/0.2.0-alpha.2/tokio/net/index.html
[scheduler]: https://docs.rs/tokio/0.2.0-alpha.2/tokio/runtime/index.html
[net]: https://docs.rs/tokio/0.2.0/tokio/net/index.html
[scheduler]: https://docs.rs/tokio/0.2.0/tokio/runtime/index.html

## Example

To get started, add the following to `Cargo.toml`.

```toml
tokio = { version = "0.2.0", features = ["full"] }
tokio = { version = "0.2", features = ["full"] }
```

Tokio requires components to be explicitly enabled using feature flags. As a
Expand Down Expand Up @@ -116,7 +116,7 @@ the [Tokio Gitter channel][chat]. We would be happy to try to answer your
question. Last, if that doesn't work, try opening an [issue] with the question.

[Guides]: https://tokio.rs/docs/
[API documentation]: https://docs.rs/tokio/0.2.0-alpha.2/tokio
[API documentation]: https://docs.rs/tokio/0.2
[chat]: https://gitter.im/tokio-rs/tokio
[issue]: https://github.com/tokio-rs/tokio/issues/new

Expand Down
2 changes: 1 addition & 1 deletion tokio/src/lib.rs
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio/0.2.0-alpha.6")]
#![doc(html_root_url = "https://docs.rs/tokio/0.2.0")]
#![warn(
missing_debug_implementations,
missing_docs,
Expand Down