Skip to content

Commit 255359a

Browse files
Merge pull request #1140 from phip1611/release
release: uefi-raw-0.5.2, uefi-0.28.0, uefi-services-0.25.0
2 parents d2776c6 + 46d14a0 commit 255359a

File tree

11 files changed

+62
-19
lines changed

11 files changed

+62
-19
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ This project contains multiple sub-crates:
7575

7676
- `uefi`: defines the standard UEFI tables / interfaces.
7777
The objective is to stay unopinionated and safely wrap most interfaces.
78+
Additional opinionated features (such as a Logger) are feature-gated.
7879

7980
- `uefi-macros`: procedural macros that are used to derive some traits
8081
in `uefi`.
@@ -83,9 +84,6 @@ This project contains multiple sub-crates:
8384
Specification. Safe wrappers for these types are provided by the `uefi`
8485
crate. The raw types are suitable for implementing UEFI firmware.
8586

86-
- `uefi-services`: provides a panic handler, and initializes
87-
the `alloc` / `logger` features.
88-
8987
- `uefi-test-runner`: a UEFI application that runs unit / integration tests.
9088

9189
[log]: https://github.com/rust-lang-nursery/log

book/src/tutorial/app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd my-uefi-app
1616
Add a few dependencies:
1717

1818
```sh
19-
cargo add log uefi uefi-services
19+
cargo add log uefi
2020
```
2121

2222
Replace the contents of `src/main.rs` with this:

template/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
uefi = { version = "0.27.0", features = ["alloc"] }
8+
uefi = { version = "0.28.0", features = ["alloc"] }

template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ UEFI application developed using `uefi-rs`.
1111
- [`rust-toolchain.toml`](rust-toolchain.toml) adds the UEFI targets.
1212
- [`Cargo.toml`](./Cargo.toml) shows the necessary dependencies.
1313
- [`src/main.rs`](./src/main.rs) has a minimal entry point that
14-
initializes the `uefi-services` crate and exits successfully.
14+
initializes recommended helpers and exits successfully.
1515

1616
## Building kernels which use UEFI
1717

uefi-raw/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# uefi-raw - [Unreleased]
22

3+
4+
# uefi-raw - 0.5.2 (2024-04-19)
5+
36
## Added
47
- Added `TimestampProtocol`.
58
- Added `DevicePathToTextProtocol` and `DevicePathFromTextProtocol`.
69

10+
711
# uefi-raw - 0.5.1 (2024-03-17)
812

913
## Added
@@ -13,6 +17,7 @@
1317
- Added `LoadFileProtocol` and `LoadFile2Protocol`.
1418
- Added `firmware_storage` module.
1519

20+
1621
# uefi-raw - 0.5.0 (2023-11-12)
1722

1823
## Added

uefi-raw/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uefi-raw"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
readme = "README.md"
55
description = "Raw UEFI types"
66

uefi-services/CHANGELOG.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,70 @@
11
# uefi-services - [Unreleased]
22

3+
4+
# uefi-services - 0.25.0 (2023-11-12)
5+
36
## Changed
47
- `uefi-services` is deprecated and should be removed. All functionality was
5-
moved to `uefi::helpers::init()`
8+
moved to `uefi::helpers::init()`
9+
10+
11+
# uefi-services - 0.24.0 (2023-03-17)
12+
13+
## Changed
14+
- Updated to latest version of `uefi`.
15+
616

717
# uefi-services - 0.23.0 (2023-11-12)
818

919
## Changed
1020
- `uefi_services::system_table` now returns `SystemTable<Boot>` directly, rather
1121
than wrapped in a `NonNull` pointer.
1222

23+
1324
# uefi-services - 0.22.0 (2023-10-11)
1425

1526
## Changed
1627
- Updated to latest version of `uefi`.
1728

29+
1830
# uefi-services - 0.21.0 (2023-06-20)
1931

2032
## Changed
2133
- Updated to latest version of `uefi`.
2234

35+
2336
# uefi-services - 0.20.0 (2023-06-04)
2437

2538
## Changed
2639
- Updated to latest version of `uefi`.
2740

41+
2842
# uefi-services - 0.19.0 (2023-06-01)
2943

3044
## Changed
3145
- Internal updates for changes in `uefi`.
3246

47+
3348
# uefi-services - 0.18.0 (2023-05-15)
3449

3550
## Changed
3651
- Internal updates for changes in `uefi`.
3752

53+
3854
# uefi-services - 0.17.0 (2023-03-19)
3955

4056
## Changed
4157
- Drop use of unstable `alloc_error_handler` feature. As of Rust 1.68 we can use
4258
[`default_alloc_error_handler`](https://github.com/rust-lang/rust/pull/102318)
4359
instead.
4460

61+
4562
# uefi-services - 0.16.0 (2023-01-16)
4663

4764
## Changed
4865
- Bumped `uefi` dependency to latest version.
4966

67+
5068
# uefi-services - 0.15.0 (2022-11-15)
5169

5270
## Changed
@@ -57,6 +75,7 @@
5775
This allows using both crates while disabling `logger` in `uefi`,
5876
which was previously impossible.
5977

78+
6079
# uefi-services - 0.14.0 (2022-09-09)
6180

6281
## Added
@@ -66,17 +85,20 @@
6685
- The `no_panic_handler` feature has been replaced with an additive
6786
`panic_handler` feature. The new feature is enabled by default.
6887

88+
6989
# uefi-services - 0.13.1 (2022-08-26)
7090

7191
## Changed
7292
- Relaxed the version requirements for the `log` dependency to allow
7393
earlier patch versions.
7494

95+
7596
# uefi-services - 0.13.0 (2022-05-16)
7697

7798
## Changed
7899
- Bumped `uefi` dependency to latest version.
79100

101+
80102
# uefi-services - 0.12.1 (2022-03-15)
81103

82104
## Changed

uefi-services/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uefi-services"
3-
version = "0.24.0"
3+
version = "0.25.0"
44
readme = "README.md"
55
description = "Deprecated. Please migrate to `uefi::helpers`."
66

@@ -13,7 +13,7 @@ repository.workspace = true
1313
rust-version.workspace = true
1414

1515
[dependencies]
16-
uefi = { version = "0.27.0", features = ["global_allocator"] }
16+
uefi = { version = "0.28.0", features = ["global_allocator"] }
1717

1818
[features]
1919
default = ["panic_handler", "logger"]

uefi/CHANGELOG.md

+22-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# uefi - [Unreleased]
22

3+
4+
# uefi - 0.28.0 (2024-04-19)
5+
36
## Added
47
- Added `Timestamp` protocol.
58
- Added `UnalignedSlice::as_ptr`.
69
- Added common derives for `Event` and `Handle`.
710
- `uefi::helpers::init` with the functionality that used to be in
8-
`uefi::services`. With that, new features were added:
9-
- `global_allocator`
10-
- `panic_handler`
11-
- `qemu`
11+
`uefi::services`. With that, new features were added:
12+
- `global_allocator`
13+
- `panic_handler`
14+
- `qemu`
15+
1216

1317
# uefi - 0.27.0 (2024-03-17)
1418

@@ -23,6 +27,7 @@
2327
- `DevicePath::to_string` and `DevicePathNode::to_string` now return
2428
out-of-memory errors as part of the error type rather than with an `Option`.
2529

30+
2631
# uefi - 0.26.0 (2023-11-12)
2732

2833
## Added
@@ -42,6 +47,7 @@
4247
- `BootServices::{install,reinstall,uninstall}_protocol_interface` now take
4348
`const` interface pointers.
4449

50+
4551
# uefi - 0.25.0 (2023-10-10)
4652

4753
## Changed
@@ -67,6 +73,7 @@
6773
- `BootServices::memmove` and `BootServices::set_mem` have been removed, use
6874
standard functions like `core::ptr::copy` and `core::ptr::write_bytes` instead.
6975

76+
7077
# uefi - 0.24.0 (2023-06-20)
7178

7279
## Added
@@ -83,11 +90,13 @@
8390
- The `Deref` and `DerefMut` impls for `ScopedProtocol` will now panic if the
8491
interface pointer is null.
8592

93+
8694
# uefi - 0.23.0 (2023-06-04)
8795

8896
## Changed
8997
- Fixed function signature bug in `BootServices::install_configuration_table`.
9098

99+
91100
# uefi - 0.22.0 (2023-06-01)
92101

93102
## Added
@@ -104,6 +113,7 @@
104113
- `RegularFile::read` now reads in 1 MiB chunks to avoid a bug in some
105114
firmware. This fix also applies to `fs::FileSystem::read`.
106115

116+
107117
# uefi - 0.21.0 (2023-05-15)
108118

109119
## Added
@@ -165,6 +175,7 @@
165175
- `GptPartitionAttributes` now has 16 additional `TYPE_SPECIFIC_BIT_<N>`
166176
constants.
167177

178+
168179
# uefi - 0.20.0 (2023-03-19)
169180

170181
As of this release, the UEFI crates work on the stable channel. This requires
@@ -202,6 +213,7 @@ Rust 1.68 or higher.
202213
available since EFI 1.10 (2002).
203214
- `ScopedProtocol::interface` is not public anymore. Use the `Deref` trait.
204215

216+
205217
# uefi - 0.19.1 (2023-02-04)
206218

207219
## Added
@@ -215,6 +227,7 @@ Rust 1.68 or higher.
215227
- Fixed a warning printed when using `uefi` as a dependency: "the following
216228
packages contain code that will be rejected by a future version".
217229

230+
218231
# uefi - 0.19.0 (2023-01-16)
219232

220233
## Added
@@ -247,6 +260,7 @@ Rust 1.68 or higher.
247260
- Redundant private field used for padding in `MemoryDescriptor` structure was removed. Now all
248261
fields of this struct are public.
249262

263+
250264
# uefi - 0.18.0 (2022-11-15)
251265

252266
## Added
@@ -299,6 +313,7 @@ Rust 1.68 or higher.
299313
`proto::device_path::acpi::Acpi` and
300314
`proto::device_path::media::HardDrive` instead. `
301315

316+
302317
# uefi - 0.17.0 (2022-09-09)
303318

304319
## Added
@@ -350,6 +365,7 @@ Rust 1.68 or higher.
350365
can be replaced by calling `status.into()`, or `Result::from(status)`
351366
in cases where the compiler needs a type hint.
352367

368+
353369
# uefi - 0.16.1
354370

355371
## Added
@@ -370,6 +386,7 @@ Rust 1.68 or higher.
370386
- Enabled `doc_auto_cfg` on docs.rs to show badges on items that are
371387
gated behind a feature.
372388

389+
373390
# uefi - 0.16.0 (2022-05-16)
374391

375392
## Added
@@ -400,6 +417,7 @@ Rust 1.68 or higher.
400417

401418
- Fixed undefined behavior in `proto::media::file::File::get_boxed_info`.
402419

420+
403421
# uefi - 0.15.2 (2022-03-15)
404422

405423
## Added

uefi/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uefi"
3-
version = "0.27.0"
3+
version = "0.28.0"
44
readme = "README.md"
55
description = "Safe and easy-to-use wrapper for building UEFI apps."
66

@@ -37,7 +37,7 @@ uguid.workspace = true
3737
cfg-if = "1.0.0"
3838
ucs2 = "0.3.2"
3939
uefi-macros = "0.13.0"
40-
uefi-raw = "0.5.1"
40+
uefi-raw = "0.5.2"
4141
qemu-exit = { version = "3.0.2", optional = true }
4242

4343
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)