Skip to content

Commit cc240c3

Browse files
author
Peter Glotfelty
committed
Update docs with new version
1 parent 26d7ff1 commit cc240c3

File tree

7 files changed

+33
-12
lines changed

7 files changed

+33
-12
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 0.27.0
4+
5+
### Highlights
6+
7+
* [#407](https://github.com/Peternator7/strum/pull/407): `Display` is now correctly derived in `[no_std]` projects.
8+
* [#402](https://github.com/Peternator7/strum/pull/402): `EnumIter` now implements `Send + Sync`
9+
* [#400](https://github.com/Peternator7/strum/pull/400): `EnumTryAs` now handles attributes on variant fields correctly.
10+
* [#398](https://github.com/Peternator7/strum/pull/398): `strum` is now on rust 2021
11+
* [#391](https://github.com/Peternator7/strum/pull/391): `EnumProperties` correctly implements `get_bool` and `get_int`
12+
finally. 🎉
13+
* [#380](https://github.com/Peternator7/strum/pull/380): `FromString` now supports 2 additional attributes, `parse_error_ty`
14+
and `parse_error_fn` that can be added to use a custom error type rather than the default strum error message.
15+
* [#410](https://github.com/Peternator7/strum/pull/410): These attributes accept a `Path` rather than a `String`
16+
to improve behavior with rust-analyzer.
17+
18+
### Breaking Changes
19+
20+
* [#384](https://github.com/Peternator7/strum/pull/384): MSRV is now 1.66.1
21+
* [#391](https://github.com/Peternator7/strum/pull/391): `EnumProperties` doesn't provide default implementations anymore.
22+
This would have required you to manually implement this trait which should be very uncommon.
23+
324
## 0.26.4 (strum_macros)
425

526
* [#360](https://github.com/Peternator7/strum/pull/360): Fixes bug introduced with new string interpolation feature where

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Cargo.toml. Strum_macros contains the macros needed to derive all the traits in
2222

2323
```toml
2424
[dependencies]
25-
strum = "0.26"
26-
strum_macros = "0.26"
25+
strum = "0.27"
26+
strum_macros = "0.27"
2727

2828
# You can also use the "derive" feature, and import the macros directly from "strum"
29-
# strum = { version = "0.26", features = ["derive"] }
29+
# strum = { version = "0.27", features = ["derive"] }
3030
```
3131

3232
# Strum Macros

strum/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum"
3-
version = "0.26.3"
3+
version = "0.27.0"
44
edition = "2021"
55
authors = ["Peter Glotfelty <[email protected]>"]
66
license = "MIT"
@@ -16,11 +16,11 @@ readme = "../README.md"
1616
rust-version = "1.66.1"
1717

1818
[dependencies]
19-
strum_macros = { path = "../strum_macros", optional = true, version = "0.26.3" }
19+
strum_macros = { path = "../strum_macros", optional = true, version = "0.27.0" }
2020
phf = { version = "0.11", features = ["macros"], optional = true }
2121

2222
[dev-dependencies]
23-
strum_macros = { path = "../strum_macros", version = "0.26" }
23+
strum_macros = { path = "../strum_macros" }
2424

2525
[badges]
2626
travis-ci = { repository = "Peternator7/strum" }

strum/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
//!
1717
//! ```toml
1818
//! [dependencies]
19-
//! strum = "0.26"
20-
//! strum_macros = "0.26"
19+
//! strum = "0.27"
20+
//! strum_macros = "0.27"
2121
//!
2222
//! # You can also access strum_macros exports directly through strum using the "derive" feature
23-
//! strum = { version = "0.26", features = ["derive"] }
23+
//! strum = { version = "0.27", features = ["derive"] }
2424
//! ```
2525
//!
2626

strum_macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum_macros"
3-
version = "0.26.4"
3+
version = "0.27.0"
44
edition = "2021"
55
authors = ["Peter Glotfelty <[email protected]>"]
66
license = "MIT"

strum_nostd_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum_nostd_tests"
3-
version = "0.26.0"
3+
version = "0.27.0"
44
edition = "2021"
55
rust-version = "1.66.1"
66

strum_tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strum_tests"
3-
version = "0.26.0"
3+
version = "0.27.0"
44
edition = "2021"
55
authors = ["Peter Glotfelty <[email protected]>"]
66
rust-version = "1.66.1"

0 commit comments

Comments
 (0)