Skip to content

Commit 1c0c6b7

Browse files
committed
chore(version): v0.12.0
1 parent d6114b3 commit 1c0c6b7

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,39 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [unreleased]
5+
## [0.12.0](https://github.com/GrayJack/bitflag-attr/compare/v0.11.1..v0.12.0) — 2025-02-21
66

77
### 🚀 Features
88

99
- Add `all_named` and `is_all_named` to the `Flags` trait — ([b472ff5](https://github.com/GrayJack/bitflag-attr/commit/b472ff5403c221467655951a7a15f5dbae33d17b))
10+
- Add custom error for when the enum have fields — ([4be6862](https://github.com/GrayJack/bitflag-attr/commit/4be6862ca6b02cb0f96281a3bc16f46e144c4fab))
1011

1112
### 🚜 Refactor
1213

1314
- (**BREAKING**) Rename `Flags::KNOWN_FLAGS` to `Flags::NAMED_FLAGS` — ([8d298d9](https://github.com/GrayJack/bitflag-attr/commit/8d298d93fab1567bcc1b92737326c180cfea4e01))
15+
- Reduce a bit the size of the macro typed information — ([c5b79d5](https://github.com/GrayJack/bitflag-attr/commit/c5b79d5f5e1d6338fd55fdb67d9cdf1b9c949c94))
16+
- (**BREAKING**) Rename `extra_valid_bits` to `reserved_bits` — ([9a703a2](https://github.com/GrayJack/bitflag-attr/commit/9a703a2e2bc503c5b7da43cb22ebf8c5d576ce20))
1417

1518
### 📚 Documentation
1619

1720
- Add the changelog to the crate documentation — ([4f59a54](https://github.com/GrayJack/bitflag-attr/commit/4f59a54056f9d2a593f0d556844f28b8e53e5627))
1821
- A few rewording — ([e35bf5f](https://github.com/GrayJack/bitflag-attr/commit/e35bf5f13085a3e584e514fa9baba5a5690adf1f))
1922
- Add specification documentation — ([67c5cde](https://github.com/GrayJack/bitflag-attr/commit/67c5cded79a683bde30e9b274a6553adaddf1fc9))
2023
- Add proper documentation for the crate features. — ([68d2f5b](https://github.com/GrayJack/bitflag-attr/commit/68d2f5b6d352cab3613615bef7ad272b5a203dab))
24+
- Modify the changelog format a bit to avoid rustdoc `unresolved link` issues — ([f418c2b](https://github.com/GrayJack/bitflag-attr/commit/f418c2b491b58a8f246ff62816724aa6b140df88))
25+
- Do not run doctest on the spec file — ([4ab8cc4](https://github.com/GrayJack/bitflag-attr/commit/4ab8cc4f7f200a22d9f2862410e5ba4329f6c7e8))
26+
- Update syntax section of `bitflag` macro and fix some typos — ([87c021d](https://github.com/GrayJack/bitflag-attr/commit/87c021d2189b0689798720c5056022da8588fdda))
27+
- Document the custom `Debug` implementation on the `bitflag` macro — ([4e094f0](https://github.com/GrayJack/bitflag-attr/commit/4e094f05c072f8f83f211c77e9b33842ecfd41ec))
28+
- Clarify internal item — ([17a6fb8](https://github.com/GrayJack/bitflag-attr/commit/17a6fb8f7b426ed067e73e1d2d48f57e29b351e0))
29+
- Expand the crate entry documentation — ([7958b99](https://github.com/GrayJack/bitflag-attr/commit/7958b99371e386a5f0536c985cdfab666771251f))
30+
- Expand parser module documentation — ([773be5a](https://github.com/GrayJack/bitflag-attr/commit/773be5a168ba6707524c197ded9f98a73a3c7e43))
31+
- Clarify some parts — ([3b2eac6](https://github.com/GrayJack/bitflag-attr/commit/3b2eac6dd3a9a56fe5fac2eea26ce98ab0cda0b6))
32+
- Add example without using the `bitflag` macro — ([561a362](https://github.com/GrayJack/bitflag-attr/commit/561a362478e35cb89822593d3180204164807c9c))
33+
- Re-organize some example code — ([189a86b](https://github.com/GrayJack/bitflag-attr/commit/189a86b43416c00fa1d39352d56e96ce7afc4b3e))
34+
- Add a example for deriving Default — ([f566240](https://github.com/GrayJack/bitflag-attr/commit/f566240dc5fc592edbdc135d4eac82822ee4a6cc))
35+
- Example for external flags — ([777caf6](https://github.com/GrayJack/bitflag-attr/commit/777caf6c4dfffc4bd907dd03b9d81da75aed9895))
36+
- Small tweaks — ([fdf7562](https://github.com/GrayJack/bitflag-attr/commit/fdf75622b6d76b112ef116b755df57ab514c9bc2))
37+
- Better naming on examples — ([d6114b3](https://github.com/GrayJack/bitflag-attr/commit/d6114b3f8a9ffe35026ca91830262aa56a3513ec))
2138

2239
## [0.11.1](https://github.com/GrayJack/bitflag-attr/compare/v0.11.0..v0.11.1) — 2025-02-14
2340

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bitflag-attr"
33
authors = ["GrayJack <[email protected]>"]
4-
version = "0.11.1"
4+
version = "0.12.0"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
description = "A macro to generate bitflags structures from C-like enums"
@@ -13,7 +13,7 @@ rust-version = "1.81.0"
1313
exclude = ["/tests", "/.github"]
1414

1515
[dependencies]
16-
bitflags-attr-macros = { version = "=0.11.1", path = "bitflags-attr-macros" }
16+
bitflags-attr-macros = { version = "=0.12.0", path = "bitflags-attr-macros" }
1717

1818
[dev-dependencies]
1919
trybuild = "1.0"

bitflags-attr-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 = "bitflags-attr-macros"
3-
version = "0.11.1"
3+
version = "0.12.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
keywords = ["bit", "bitmask", "bitflags", "flags"]

0 commit comments

Comments
 (0)