Skip to content

Commit 884bc3a

Browse files
committed
Bump version to '0.5.0'
1 parent 66599bc commit 884bc3a

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,11 @@ Please make sure to add your changes to the appropriate categories:
2020

2121
### Added
2222

23-
- Added enum-level `#[enumcapsulate(discriminant(…))]` helper attribute for `VariantDiscriminant` derive macro, allowing for customizing `repr = …` and `name = …` for the generated enum.
24-
- Added variant-level `#[enumcapsulate(discriminant(…))]` helper attribute for `VariantDiscriminant` derive macro, allowing for customizing `value = …` and `name = …` for the generated variant.
25-
- Made enum generated by `VariantDiscriminant` derive macro implement `Ord + PartialOrd`.
23+
- n/a
2624

2725
### Changed
2826

29-
- Bumped MSRV from "1.74.0" to "1.78.0".
30-
- Made the enum-level `#[enumcapsulate(exclude(…))]` helper macros only have an effect on derives, when orchestrated through the `Encapsulate` derive macro.
31-
- Made `Encapsulate` derive macro no longer derive `VariantDiscriminant`.
32-
- Removed potentially confusing `#[enumcapsulate(include(…))]` helper attributes.
33-
- Merged `#[enumcapsulate(field(index = …))]` and `#[enumcapsulate(field(name = "…"))]` into a single polymorph `#[enumcapsulate(field = …)]`
34-
- Made enum generated by `VariantDiscriminant` derive macro have the same level of visibility as its source item.
27+
- n/a
3528

3629
### Deprecated
3730

@@ -57,6 +50,23 @@ Please make sure to add your changes to the appropriate categories:
5750

5851
- n/a
5952

53+
## [0.5.0] - 2024-12-01
54+
55+
### Added
56+
57+
- Added enum-level `#[enumcapsulate(discriminant(…))]` helper attribute for `VariantDiscriminant` derive macro, allowing for customizing `repr = …` and `name = …` for the generated enum.
58+
- Added variant-level `#[enumcapsulate(discriminant(…))]` helper attribute for `VariantDiscriminant` derive macro, allowing for customizing `value = …` and `name = …` for the generated variant.
59+
- Made enum generated by `VariantDiscriminant` derive macro implement `Ord + PartialOrd`.
60+
61+
### Changed
62+
63+
- Bumped MSRV from "1.74.0" to "1.78.0".
64+
- Made the enum-level `#[enumcapsulate(exclude(…))]` helper macros only have an effect on derives, when orchestrated through the `Encapsulate` derive macro.
65+
- Made `Encapsulate` derive macro no longer derive `VariantDiscriminant`.
66+
- Removed potentially confusing `#[enumcapsulate(include(…))]` helper attributes.
67+
- Merged `#[enumcapsulate(field(index = …))]` and `#[enumcapsulate(field(name = "…"))]` into a single polymorph `#[enumcapsulate(field = …)]`
68+
- Made enum generated by `VariantDiscriminant` derive macro have the same level of visibility as its source item.
69+
6070
## [0.4.0] - 2024-11-18
6171

6272
### Added

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation = "https://docs.rs/enumcapsulate"
99
license = "MPL-2.0"
1010
edition = "2021"
1111
rust-version = "1.78.0"
12-
version = "0.4.0"
12+
version = "0.5.0"
1313

1414
[package]
1515
name = "enumcapsulate"
@@ -29,7 +29,7 @@ version = { workspace = true }
2929
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
3030

3131
[dependencies]
32-
enumcapsulate-macros = { version = "0.4.0", path = "./macros", optional = true }
32+
enumcapsulate-macros = { version = "0.5.0", path = "./macros", optional = true }
3333

3434
[dev-dependencies]
3535
tryexpand = "0.9.2"

0 commit comments

Comments
 (0)