1# `object` Change Log 2 3-------------------------------------------------------------------------------- 4 5## 0.26.1 6 7Released 2021/08/19. 8 9### Changed 10 11* Activate `memchr`'s `rustc-dep-of-std` feature 12 [#356](https://github.com/gimli-rs/object/pull/356) 13 14-------------------------------------------------------------------------------- 15 16## 0.26.0 17 18Released 2021/07/26. 19 20### Breaking changes 21 22* Changed `ReadRef::read_bytes_at_until` to accept a range parameter. 23 [#326](https://github.com/gimli-rs/object/pull/326) 24 25* Added `ReadRef` type parameter to `read::StringTable` and types that 26 contain it. String table entries are now only read as required. 27 [#326](https://github.com/gimli-rs/object/pull/326) 28 29* Changed result type of `read::elf::SectionHeader::data` and `data_as_array`. 30 [#332](https://github.com/gimli-rs/object/pull/332) 31 32* Moved `pod::WritableBuffer` to `write::WritableBuffer`. 33 Renamed `WritableBuffer::extend` to `write_bytes`. 34 Added more provided methods to `WritableBuffer`. 35 [#335](https://github.com/gimli-rs/object/pull/335) 36 37* Moved `pod::Bytes` to `read::Bytes`. 38 [#336](https://github.com/gimli-rs/object/pull/336) 39 40* Added `is_mips64el` parameter to `elf::Rela64::r_info/set_r_info`. 41 [#337](https://github.com/gimli-rs/object/pull/337) 42 43### Changed 44 45* Removed `alloc` dependency when no features are enabled. 46 [#336](https://github.com/gimli-rs/object/pull/336) 47 48### Added 49 50* Added `read::pe::PeFile` methods: `section_table`, `data_directory`, and `data`. 51 [#324](https://github.com/gimli-rs/object/pull/324) 52 53* Added more ELF definitions. 54 [#332](https://github.com/gimli-rs/object/pull/332) 55 56* Added `read::elf::SectionTable` methods for hash tables and symbol version 57 information. 58 [#332](https://github.com/gimli-rs/object/pull/332) 59 60* Added PE RISC-V definitions. 61 [#333](https://github.com/gimli-rs/object/pull/333) 62 63* Added `WritableBuffer` implementation for `Vec`. 64 [#335](https://github.com/gimli-rs/object/pull/335) 65 66-------------------------------------------------------------------------------- 67 68## 0.25.3 69 70Released 2021/06/12. 71 72### Added 73 74* Added `RelocationEncoding::AArch64Call`. 75 [#322](https://github.com/gimli-rs/object/pull/322) 76 77-------------------------------------------------------------------------------- 78 79## 0.25.2 80 81Released 2021/06/04. 82 83### Added 84 85* Added `Architecture::X86_64_X32`. 86 [#320](https://github.com/gimli-rs/object/pull/320) 87 88-------------------------------------------------------------------------------- 89 90## 0.25.1 91 92Released 2021/06/03. 93 94### Changed 95 96* write: Fix choice of `SHT_REL` or `SHT_RELA` for most architectures. 97 [#318](https://github.com/gimli-rs/object/pull/318) 98 99* write: Fix relocation encoding for MIPS64EL. 100 [#318](https://github.com/gimli-rs/object/pull/318) 101 102-------------------------------------------------------------------------------- 103 104## 0.25.0 105 106Released 2021/06/02. 107 108### Breaking changes 109 110* Added `non_exhaustive` to most public enums. 111 [#306](https://github.com/gimli-rs/object/pull/306) 112 113* `MachHeader::parse` and `MachHeader::load_commands` now require a header offset. 114 [#304](https://github.com/gimli-rs/object/pull/304) 115 116* Added `ReadRef::read_bytes_at_until`. 117 [#308](https://github.com/gimli-rs/object/pull/308) 118 119* `PeFile::entry`, `PeSection::address` and `PeSegment::address` now return a 120 virtual address instead of a RVA. 121 [#315](https://github.com/gimli-rs/object/pull/315) 122 123### Added 124 125* Added `pod::from_bytes_mut`, `pod::slice_from_bytes_mut`, `pod::bytes_of_mut`, 126 and `pod::bytes_of_slice_mut`. 127 [#296](https://github.com/gimli-rs/object/pull/296) 128 [#297](https://github.com/gimli-rs/object/pull/297) 129 130* Added `Object::pdb_info`. 131 [#298](https://github.com/gimli-rs/object/pull/298) 132 133* Added `read::macho::DyldCache`, other associated definitions, 134 and support for these in the examples. 135 [#308](https://github.com/gimli-rs/object/pull/308) 136 137* Added more architecture support. 138 [#303](https://github.com/gimli-rs/object/pull/303) 139 [#309](https://github.com/gimli-rs/object/pull/309) 140 141* Derive more traits for enums. 142 [#311](https://github.com/gimli-rs/object/pull/311) 143 144* Added `Object::relative_address_base`. 145 [#315](https://github.com/gimli-rs/object/pull/315) 146 147### Changed 148 149* Improved performance for string parsing. 150 [#302](https://github.com/gimli-rs/object/pull/302) 151 152* `objdump` example allows selecting container members. 153 [#308](https://github.com/gimli-rs/object/pull/308) 154