Skip to content

Commit

Permalink
Release 0.4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 6, 2020
1 parent 06ad013 commit 97c5724
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,34 @@ This project adheres to [Semantic Versioning](https://semver.org).

## [Unreleased]

## [0.4.20] - 2020-06-07

* [You can now use project_replace argument without Replace argument.][243]
This used to require you to specify both.

```diff
- #[pin_project(Replace, project_replace = EnumProjOwn)]
+ #[pin_project(project_replace = EnumProjOwn)]
enum Enum<T> {
Variant(#[pin] T)
}
```

* [Makes `project_replace` argument an alias for `Replace` argument so that it can be used without a value.][243]

```rust
#[pin_project(project_replace)]
enum Enum<T> {
Variant(#[pin] T)
}
```

*The `Replace` argument will be deprecated in the future.*

* Suppress `unreachable_pub` lint in generated code.

[243]: https://github.com/taiki-e/pin-project/pull/243

## [0.4.19] - 2020-06-04

* [Fix `unused_results` lint in generated code.][239]
Expand Down Expand Up @@ -480,7 +506,8 @@ See also [tracking issue for 0.4 release][21].

Initial release

[Unreleased]: https://github.com/taiki-e/pin-project/compare/v0.4.19...HEAD
[Unreleased]: https://github.com/taiki-e/pin-project/compare/v0.4.20...HEAD
[0.4.20]: https://github.com/taiki-e/pin-project/compare/v0.4.19...v0.4.20
[0.4.19]: https://github.com/taiki-e/pin-project/compare/v0.4.18...v0.4.19
[0.4.18]: https://github.com/taiki-e/pin-project/compare/v0.4.17...v0.4.18
[0.4.17]: https://github.com/taiki-e/pin-project/compare/v0.4.16...v0.4.17
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pin-project"
version = "0.4.19"
version = "0.4.20"
authors = ["Taiki Endo <[email protected]>"]
edition = "2018"
license = "Apache-2.0 OR MIT"
Expand Down Expand Up @@ -29,7 +29,7 @@ members = [
]

[dependencies]
pin-project-internal = { version = "=0.4.19", path = "pin-project-internal", default-features = false }
pin-project-internal = { version = "=0.4.20", path = "pin-project-internal", default-features = false }

[dev-dependencies]
auxiliary-macros = { version = "0.1", path = "tests/ui/auxiliary" }
Expand Down
4 changes: 2 additions & 2 deletions pin-project-internal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pin-project-internal"
version = "0.4.19"
version = "0.4.20"
authors = ["Taiki Endo <[email protected]>"]
edition = "2018"
license = "Apache-2.0 OR MIT"
Expand All @@ -25,5 +25,5 @@ quote = "1.0"
syn = { version = "1.0.13", features = ["full", "visit-mut"] }

[dev-dependencies]
pin-project = { version = "0.4.19", path = ".." }
pin-project = { version = "0.4.20", path = ".." }
rustversion = "1.0"
2 changes: 1 addition & 1 deletion pin-project-internal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! An internal crate to support pin_project - **do not use directly**

#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.19")]
#![doc(html_root_url = "https://docs.rs/pin-project-internal/0.4.20")]
#![doc(test(
no_crate_inject,
attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code))
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//! [struct-default-expanded]: https://github.com/taiki-e/pin-project/blob/master/examples/struct-default-expanded.rs

#![no_std]
#![doc(html_root_url = "https://docs.rs/pin-project/0.4.19")]
#![doc(html_root_url = "https://docs.rs/pin-project/0.4.20")]
#![doc(test(
no_crate_inject,
attr(deny(warnings, rust_2018_idioms, single_use_lifetimes), allow(dead_code))
Expand Down

0 comments on commit 97c5724

Please sign in to comment.