diff --git a/CHANGELOG.md b/CHANGELOG.md index f1fe8bd5..8e9a7c40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,41 @@ -------------------------------------------------------------------------------- +## 0.31.1 + +Released 2024/10/04. + +### Changed + +* Changed `read::Evaluation::evaluate` to validate `DW_OP_deref_size`. + [#739](https://github.com/gimli-rs/gimli/pull/739) + +* Changed `write::LineProgram` to allow use of file index 0 for DWARF version 5. + [#740](https://github.com/gimli-rs/gimli/pull/740) + +* Improved the workaround for reading zero length entries in `.debug_frame`. + [#741](https://github.com/gimli-rs/gimli/pull/741) + +* Implemented `Default` for `read::DwarfSections` and `read::DwarfPackageSections`. + [#742](https://github.com/gimli-rs/gimli/pull/742) + +* Changed `read::ArangeEntryIter` to handle tombstones in `.debug_aranges`. + [#743](https://github.com/gimli-rs/gimli/pull/743) + +* Improved handling handling of 0 for tombstones in `DW_LNE_set_address` + and address pairs in ranges and locations. + [#750](https://github.com/gimli-rs/gimli/pull/750) + +* Changed the `read::ArrayLike` trait implementation to use const generics. + [#752](https://github.com/gimli-rs/gimli/pull/752) + +### Added + +* Added `MIPS::HI` and `MIPS::LO`. + [#749](https://github.com/gimli-rs/gimli/pull/749) + +-------------------------------------------------------------------------------- + ## 0.31.0 Released 2024/07/16. diff --git a/Cargo.toml b/Cargo.toml index eaece0d1..1af13260 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gimli" -version = "0.31.0" +version = "0.31.1" categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"] description = "A library for reading and writing the DWARF debugging format." documentation = "https://docs.rs/gimli" diff --git a/README.md b/README.md index a5c52b9f..29326515 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -gimli = "0.31.0" +gimli = "0.31.1" ``` The minimum supported Rust version is: diff --git a/src/read/line.rs b/src/read/line.rs index 1e91b020..3fcf2efd 100644 --- a/src/read/line.rs +++ b/src/read/line.rs @@ -1656,7 +1656,7 @@ where /// /// Note: For DWARF v5 files this may return an empty attribute that /// indicates that no source code is available, which this function - /// represents as Some(). + /// represents as `Some()`. pub fn source(&self) -> Option> { self.source.clone() }