Skip to content

Commit 6cdf652

Browse files
committed
add CHANGELOG.md
1 parent 1d28153 commit 6cdf652

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.0.7] - 2024-04-09
11+
12+
### Added
13+
14+
- `Zeroable` derive macro
15+
- `..Zeroable::zeroed()` tail expression support in `[try_][pin_]init!` macros: allowed to omit
16+
fields, omitted fields are initialized with `0`
17+
- `[pin_]chain` functions to modify a value after an initializer has run
18+
- `[pin_]init_array_from_fn` to create `impl [Pin]Init<[T; N], E>` from a generator closure
19+
`fn(usize) -> impl [Pin]Init<T, E>`
20+
- `impl Zeroable for UnsafeCell`
21+
22+
### Changed
23+
24+
- `PinInit` is now a supertrait of `Init` (before there was a blanket impl)
25+
26+
### Removed
27+
28+
- coverage workflow and usage of `#[feature(no_coverage)]`
29+
- `impl Zeroable for Infallible` (see [Security](#security))
30+
31+
### Fixed
32+
33+
- `Self` in generic bounds on structs with `#[pin_data]`
34+
- const generic default parameter values can now be used on structs with `#[pin_data]`
35+
36+
### Security
37+
38+
- `impl Zeroable for Infallible` (#13) it was possible to trigger UB by creating a value of type
39+
`Box<Infallible>` via `Box::init(zeroed())`
40+
41+
## [0.0.6] - 2023-04-08
42+
43+
[unreleased]: https://github.com/Rust-for-Linux/pinned-init/compare/v0.0.7...HEAD
44+
[0.0.7]: https://github.com/Rust-for-Linux/pinned-init/compare/v0.0.6...v0.0.7
45+
[0.0.6]: https://github.com/Rust-for-Linux/pinned-init/releases/tag/v0.0.6

0 commit comments

Comments
 (0)