# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased] - ReleaseDate
## [0.5.2] - 2025-06-18
### Bug Fixes
- Fixed the documentation on docs.rs (#71)
## [0.5.1] - 2025-06-16
### Bug Fixes
- Fixed the build on 32-bit FreeBSD (#69)
## [0.5.0] - 2026-06-14
### Features
- Added `NvList::pack` and `NvList::unpack`, along with `PackedNvList`, to
serialize and deserialize nvlists (needed by APIs such as FreeBSD's ctl
ioctls) (#50)
- bindgen is no longer necessary to build libnv-sys. Therefore, clang and llvm
are no longer required to be installed. (#66)
- Added forward compatibility with the 2024 edition (#57)
### Bug Fixes
- Fixed some error values from the nvpair module on non-FreeBSD platforms (#51)
- Fixed the build with `-Zdirect-minimal-versions` (#45, #63)
### Documentation
- docs.rs now builds the documentation for the main supported platforms and
labels each module with its required cfg features (#47)
- Fixed the docstring for the libnv module (#54)
### Changed
- The minimum supported Rust version is now 1.77.0. The crate uses native
`CStr` literals, which makes `save_as_json` more efficient. (#46)
### Removed
- Removed support for FreeBSD 13 and older. (#66)
## [0.4.3] - 2023-07-27
### Miscellaneous Tasks
- Widened the `bindgen` build requirement (#33, #36)
- Updated CI to FreeBSD 13.2-RELEASE (#34)
## [0.4.2] - 2023-03-09
### Bug Fixes
- Fix the build on {aarch64,arm}-unknown-freebsd (#32)
## [0.4.1] - 2023-01-18
### Bug Fixes
- Use 0.2 version of libnv-sys
## [0.4.0] - 2023-01-16
### Features
- Run bindgen at build time (#17)
- Add NvList::add_binary (#22)
- Add NvList::from_ptr (#19)
- [**breaking**] Introduce IntoCStr trait (#25)
## [0.3.0] - 2022-04-17
### Features
- **nvpair:** Separate boolean and boolean_value
## [0.2.2] - 2019-09-22
### Features
- **nvpair:** Add iterator for NvPair
- **nvpair:** Add iterator for NvPair
### Fmt
- Reformat
## [0.2.1] - 2019-09-01
### Bug Fixes
- Remove dbg!()
- Dedup code and remove MaybeUninit where not needed
### Features
- Add cirrus and get_str method
## [0.1.3] - 2019-08-27
### Bug Fixes
- **doc-test:** Fix broken tests
- Expose NvList::as_ptr()
### Documentation
- **libnv:** Formating