From 3ee8b742a614b8893659d9cd31a114e172ba7add Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Tue, 23 Jun 2026 10:20:15 +0200 Subject: [PATCH] chore: prepare new workspace releases --- Cargo.lock | 6 ++--- Cargo.toml | 6 ++--- multiboot2-common/CHANGELOG.md | 7 ++---- multiboot2-common/Cargo.toml | 2 +- multiboot2-header/CHANGELOG.md | 14 ++--------- multiboot2-header/Cargo.toml | 2 +- multiboot2/CHANGELOG.md | 44 ++++++++-------------------------- multiboot2/Cargo.toml | 2 +- 8 files changed, 23 insertions(+), 60 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1eeafc2c..95b4322d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ [[package]] name = "multiboot2" -version = "0.24.1" +version = "0.25.0" dependencies = [ "bitflags", "elf", @@ -100,7 +100,7 @@ dependencies = [ [[package]] name = "multiboot2-common" -version = "0.3.0" +version = "0.4.0" dependencies = [ "ptr_meta", "thiserror", @@ -108,7 +108,7 @@ dependencies = [ [[package]] name = "multiboot2-header" -version = "0.7.0" +version = "0.8.0" dependencies = [ "multiboot2", "multiboot2-common", diff --git a/Cargo.toml b/Cargo.toml index ebda4961..0fef2dd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,9 +38,9 @@ integration-test-util = { path = "./integration-test/bins/util" } qemu-exit = { version = "3.0", default-features = false } # Intra-workspace dependencies of upstream crates -multiboot2 = { version = "0.24.0", default-features = false } -multiboot2-common = { version = "0.3.0", default-features = false } -multiboot2-header = { version = "0.7.0", default-features = false } +multiboot2 = { version = "0.25.0", default-features = false } +multiboot2-common = { version = "0.4.0", default-features = false } +multiboot2-header = { version = "0.8.0", default-features = false } [profile.release-integration-test] inherits = "release" diff --git a/multiboot2-common/CHANGELOG.md b/multiboot2-common/CHANGELOG.md index 2de83395..5f05ece6 100644 --- a/multiboot2-common/CHANGELOG.md +++ b/multiboot2-common/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.4.0 (2026-06-23) + - **Breaking:** `Header` now requires `total_size()` and derives `payload_len()` from it. - Added validation for complete padded tag sequences. @@ -10,31 +12,26 @@ exceeds the available buffer. - Small code improvements - ## v0.3.0 (2025-06-01) - **Breaking:** Removed the optional `unstable` feature (required nightly) - `core::error::Error` is now implemented unconditionally - **Breaking:** The MSRV is now 1.85 - ## v0.2.1 (2024-09-19) - Documentation improvements - ## v0.2.0 (2024-09-17) - dependency updates - **Breaking:** MSRV is now 1.75 - misc metadata fixes - ## v0.1.2 (2024-08-24) - Documentation improvements - ## 0.1.0 / 0.1.1 (2024-08-20) Initial release. diff --git a/multiboot2-common/Cargo.toml b/multiboot2-common/Cargo.toml index 903fc3e3..4a995266 100644 --- a/multiboot2-common/Cargo.toml +++ b/multiboot2-common/Cargo.toml @@ -3,7 +3,7 @@ name = "multiboot2-common" description = """ Common helpers for the `multiboot2` and `multiboot2-header` crates. """ -version = "0.3.0" +version = "0.4.0" authors = [ "Philipp Schuster " ] diff --git a/multiboot2-header/CHANGELOG.md b/multiboot2-header/CHANGELOG.md index 2dd71c24..2cff488f 100644 --- a/multiboot2-header/CHANGELOG.md +++ b/multiboot2-header/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.8.0 (2026-06-23) + - Fixed `Multiboot2Header::load` to validate the complete padded tag sequence. - Changed `Multiboot2Header::find_header` to scan the full 32 KiB search window, validate candidate headers, and return the parsed header plus offset. @@ -12,26 +14,22 @@ the mandatory end tag. - Small code improvements - ## v0.7.0 (2025-06-01) - **Breaking:** Removed the optional `unstable` feature (required nightly) - `core::error::Error` is now implemented unconditionally - **Breaking:** The MSRV is now 1.85 - ## v0.6.0 (2024-09-17) - dependency updates - **Breaking:** MSRV is now 1.75 - misc metadata fixes - ## v0.5.1 (2024-08-24) - Documentation improvements - ## v0.5.0 (2024-05-20) This release contains a major refactoring of the internals, guaranteeing @@ -53,14 +51,12 @@ All previous versions have been marked as **YANKED**. `0.5.0` is the first version where all unit tests are passed by Miri, i.e., the first version without Undefined Behavior. - ## 0.4.0 (2024-05-01) (**YANKED**) - added `EndHeaderTag::default()` - MSRV is 1.70 - Can add multiple `TagType::Smbios` tags in the builder. - ## 0.3.2 (2023-11-30) (**YANKED**) - **BREAKING** bumped `multiboot2` dependency to `v0.19.0` @@ -68,12 +64,10 @@ without Undefined Behavior. anymore - doc update - ## 0.3.1 (2023-06-28) (**YANKED**) - doc update - ## 0.3.0 (2023-06-23) (**YANKED**) - **BREAKING** MSRV is 1.68.0 (UPDATE: This is actually 1.69.) @@ -87,7 +81,6 @@ without Undefined Behavior. - added the optional `unstable` feature (requires nightly) - implement `core::error::Error` for `LoadError` - ## 0.2.0 (2022-05-03) (**YANKED**) - **BREAKING** renamed `EntryHeaderTag` to `EntryAddressHeaderTag` @@ -96,7 +89,6 @@ without Undefined Behavior. -> thus, import paths are much more logically now - internal code improvements - ## 0.1.1 (2022-05-02) (**YANKED**) - fixed a bug that prevented the usage of the crate in `no_std` environments @@ -105,12 +97,10 @@ without Undefined Behavior. (this feature can be disabled which will also remove the dependency to the `alloc` crate) - ## 0.1.0 (2021-10-08) (**YANKED**) - initial release - ## 0.0.0 Empty release to save the name on crates.io diff --git a/multiboot2-header/Cargo.toml b/multiboot2-header/Cargo.toml index ebf18098..4c88ed15 100644 --- a/multiboot2-header/Cargo.toml +++ b/multiboot2-header/Cargo.toml @@ -6,7 +6,7 @@ contained header tags. Usable in no_std environments, such as a bootloader. An optional builder feature also allows the construction of the corresponding structures. """ -version = "0.7.0" +version = "0.8.0" authors = [ "Philipp Schuster " ] diff --git a/multiboot2/CHANGELOG.md b/multiboot2/CHANGELOG.md index 9933cc6e..b971faf2 100644 --- a/multiboot2/CHANGELOG.md +++ b/multiboot2/CHANGELOG.md @@ -2,11 +2,17 @@ ## Unreleased +## v0.25.0 (2026-06-23) + - **Breaking**: Renamed `VBEWindowAttributes::WRITABLE` (fix typo) -- **Breaking** Changed `multiboot2::elf_sections` to use the [elf](https://docs.rs/elf/latest/elf/) crate - - `ElfSectionsTag::sections()` now returns an iterator over `elf::section::SectionHeader`. - - `ElfSection` has been removed and replaced with `elf::section::SectionHeader`. -- Added `ElfSectionExt` trait to replace functionality for `ElfSection::flags()`, +- **Breaking** Changed `multiboot2::elf_sections` to use + the [elf](https://docs.rs/elf/latest/elf/) crate + - `ElfSectionsTag::sections()` now returns an iterator over + `elf::section::SectionHeader`. + - `ElfSection` has been removed and replaced with + `elf::section::SectionHeader`. +- Added `ElfSectionExt` trait to replace functionality for + `ElfSection::flags()`, `ElfSection::section_type()`, and `ElfSection::name()`. - Added `ElfSectionsTag::string_table()`. - Added some flags to `ElfSectionFlags`. @@ -33,7 +39,6 @@ - **Breaking:** The MSRV is now 1.85 - Fixed a bug causing UB in `ElfSection::name()` - ## v0.23.1 (2024-10-21) - Fix wrong tag ID when using `BootdevTag::new` @@ -42,7 +47,6 @@ `.sections()` to iterate the sections - Fixed the debug output of `BootInformation` - ## v0.23.0 (2024-09-17) - dependency updates @@ -54,18 +58,15 @@ - `BootInformation::tags` iterator is now public - misc metadata fixes - ## v0.22.2 (2024-08-24) - Documentation improvements - Improve debug formatting for EFIMemoryMapTag - ## v0.22.1 (2024-08-20) Minor documentation fixes. - ## v0.22.0 (2024-08-20) This release contains another major refactoring of the internals, guaranteeing @@ -104,7 +105,6 @@ All previous versions have been marked as **YANKED**. `0.22.0` is the first version where all unit tests are passed by Miri, i.e., the first version without Undefined Behavior. - ## 0.21.0 (2024-08-17) (**YANKED**) This release contains a massive refactoring of various internals. Now, almost @@ -136,12 +136,10 @@ release and you'll be fine!** - documentation enhancements - updated dependencies - ## 0.20.2 (2024-05-26) (**YANKED**) - fix Debug implementation of `EfiMemoryMapTag` - ## 0.20.1 (2024-05-26) (**YANKED**) - fixed the handling of `EFIMemoryMapTag` and `EFIMemoryAreaIter` @@ -150,13 +148,11 @@ release and you'll be fine!** `EFIMemoryMapTag::new_from_map`. - `ModuleTag::new`'s `end` parameter now must be bigger than `start`. - ## 0.20.0 (2024-05-01) (**YANKED**) - added `InformationBuilder::default()` - MSRV is 1.70 - ## 0.19.0 (2023-09-21) (**YANKED**) - **BREAKING** MSRV is 1.69.0 @@ -171,12 +167,10 @@ release and you'll be fine!** - `InformationBuilder` now also allows to add custom tags. The new public method `add_tag` was introduced for that. - ## 0.18.1 (2023-07-13) (**YANKED**) - Documentation improvements - ## 0.18.0 (2023-07-13) (**YANKED**) - **BREAKING** The `TagTrait` was enhanced and now has an associated `ID` @@ -198,7 +192,6 @@ release and you'll be fine!** - Better debug output of `BootInformation` and `MemoryArea` - Internal code cleanup. - ## 0.17.0 (2023-07-12) (**YANKED**) - **BREAKING** Make functions of `InformationBuilder` chainable. They now @@ -206,7 +199,6 @@ release and you'll be fine!** - **BREAKING** Allow non-standard memory area types by using new pair of corresponding types: `MemoryAreaTypeId` and `MemoryAreaType`. - ## 0.16.0 (2023-06-23) (**YANKED**) - **BREAKING** renamed `MULTIBOOT2_BOOTLOADER_MAGIC` to `MAGIC` @@ -245,7 +237,6 @@ release and you'll be fine!** - added `BootInformation::load` as new default constructor - added `MemoryMapTag::entry_size` and `MemoryMapTag::entry_version` - ## 0.15.1 (2023-03-18) (**YANKED**) - **BREAKING** `MemoryMapTag::all_memory_areas()` was renamed to `memory_areas` @@ -261,7 +252,6 @@ release and you'll be fine!** value. This prevents possible panics. - fix: prevent a possible panic in `ElfSection::section_type()` - ## 0.15.0 (2023-03-17) (**YANKED**) - **BREAKING** MSRV is 1.56.1 @@ -284,7 +274,6 @@ release and you'll be fine!** (check docs.rs). There is also a small unit test that you can use to learn from. - ## 0.14.2 (2023-03-17) (**YANKED**) - documentation fixes @@ -293,7 +282,6 @@ release and you'll be fine!** With this feature, `MbiLoadError` now implements `core::error::Error` and can be used with `anyhow::Result` for example. - ## 0.14.1 (2023-03-09) (**YANKED**) - fixed the calculation of the last area of the memory map @@ -301,7 +289,6 @@ release and you'll be fine!** (Previously, iterating the EFI Memory map resulted in a superfluous entry as it ran over the next tag) - ## 0.14.0 (2022-06-30) (**YANKED**) - **BREAKING CHANGES** \ @@ -318,30 +305,25 @@ release and you'll be fine!** - `RsdpV2Tag::oem_id` now returns a Result instead of an Option - internal code improvements - ## 0.13.3 (2022-06-03) (**YANKED**) - impl `Send` for `BootInformation` - ## 0.13.2 (2022-05-02) (**YANKED**) - `TagType` now implements `Ord` so that it can be used in `BTreeSet` - small internal improvements and restructuring of the code (no breaking changes to public API) - ## 0.13.1 (2022-01-09) (**YANKED**) - minor fix - ## 0.13.0 (2022-01-09) (**YANKED**) - added missing getters for tag `ImageLoadPhysAddr` - added missing getters for tags `EFIImageHandle32` and `EFIImageHandle64` - ## 0.12.2 (2021-10-02) (**YANKED**) - `TagType` now implements `Eq` and `Hash` @@ -355,13 +337,11 @@ release and you'll be fine!** - prepared co-existence of crates `multiboot2` and `multiboot2-header` in a Cargo workspace inside the same repository - ## 0.12.1 (2021-08-11) (**YANKED**) - `TagType`-enum introduced in `v0.11` is now actually public - internal code improvements - ## 0.12.0 (2021-08-06) (**YANKED**) - **breaking:** `load()` and `load_with_offset` now returns a result @@ -369,7 +349,6 @@ release and you'll be fine!** - Rust edition 2018 (instead of 2015) - internal code improvements - ## 0.11.0 (2021-07-07) (**YANKED**) - **breaking:** iterator functions (e.g. `ElfSectionsTag::sections()`) @@ -379,19 +358,16 @@ release and you'll be fine!** - much improved debug-formatting of `BootInformation` - internal code improvements / formatting - ## 0.10.0 (2020-11-03) (**YANKED**) - allow access to all memory regions (MemoryMap-Tag) - internal code improvements - ## 0.9.0 (2020-07-06) - Add a `checksum_is_valid` method to the RSDP tags ([#64](https://github.com/rust-osdev/multiboot2/pull/64)) - ## 0.8.2 (2022-03-02) - Add some basic diff --git a/multiboot2/Cargo.toml b/multiboot2/Cargo.toml index 46cf61eb..44482adf 100644 --- a/multiboot2/Cargo.toml +++ b/multiboot2/Cargo.toml @@ -6,7 +6,7 @@ structures and the contained information tags. Usable in `no_std` environments, such as a kernel. An optional builder feature also allows the construction of the corresponding structures. """ -version = "0.24.1" +version = "0.25.0" authors = [ "Philipp Oppermann ", "Calvin Lee ",