Skip to content

Commit 88d6bc3

Browse files
committed
Release 0.36.0
1 parent 9d87937 commit 88d6bc3

File tree

4 files changed

+75
-3
lines changed

4 files changed

+75
-3
lines changed

CHANGELOG.md

+72
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,78 @@
22

33
--------------------------------------------------------------------------------
44

5+
## 0.36.0
6+
7+
Released 2024/05/26.
8+
9+
### Breaking changes
10+
11+
* Deleted `data` and `align` parameters for `write::Object::add_subsection`.
12+
Use `add_symbol_data` or `add_symbol_bss` instead.
13+
[#676](https://github.com/gimli-rs/object/pull/676)
14+
15+
* Changed methods in the lower level read API to accept or return `SectionIndex`
16+
or `SymbolIndex` instead of `usize`.
17+
[#677](https://github.com/gimli-rs/object/pull/677)
18+
[#684](https://github.com/gimli-rs/object/pull/684)
19+
[#685](https://github.com/gimli-rs/object/pull/685)
20+
21+
* Deleted `SymbolKind::Null`. Changed `read::Object::sections` and `read::Object::symbols`
22+
to no longer return null entries. This affects ELF and XCOFF.
23+
[#679](https://github.com/gimli-rs/object/pull/679)
24+
25+
* Changed `read::ObjectMap::object` to return `ObjectMapFile`. This handles
26+
splitting the object file name into path and member.
27+
[#686](https://github.com/gimli-rs/object/pull/686)
28+
29+
* Changed `read::coff::ImageSymbol::address` to only return an address for
30+
symbols that have an address.
31+
[#689](https://github.com/gimli-rs/object/pull/689)
32+
33+
### Added
34+
35+
* Added `pod::slice_from_all_bytes` and `pod::slice_from_all_bytes_mut`.
36+
[#672](https://github.com/gimli-rs/object/pull/672)
37+
38+
* Added `write::Object::set_subsections_via_symbols`.
39+
Changed `write::Object::add_symbol_data` and `write::Object::add_symbol_bss`
40+
to correctly handle zero size symbols when subsections are enabled.
41+
[#676](https://github.com/gimli-rs/object/pull/676)
42+
43+
* Added methods in the unified read API to return the lower level API structures.
44+
Some existing methods were deprecated so that naming of these methods is more consistent.
45+
[#678](https://github.com/gimli-rs/object/pull/678)
46+
47+
* Added methods in the lower level read API to return a `SectionIndex` or `SymbolIndex`.
48+
[#684](https://github.com/gimli-rs/object/pull/684)
49+
[#689](https://github.com/gimli-rs/object/pull/689)
50+
51+
* Implemented `Display` for `read::SymbolIndex` and `read::SectionIndex`.
52+
[#684](https://github.com/gimli-rs/object/pull/684)
53+
54+
* Added `is_common`, `is_absolute`, `is_local`, and `is_weak` to `read::elf::Sym`.
55+
[#685](https://github.com/gimli-rs/object/pull/685)
56+
57+
### Changed
58+
59+
* Changed `read::ArchiveFile` to skip the `<ECSYMBOLS>` member.
60+
[#669](https://github.com/gimli-rs/object/pull/669)
61+
62+
* Fixed handling of segment data in the dyld shared cache.
63+
[#673](https://github.com/gimli-rs/object/pull/673)
64+
65+
* Changed `read::RelocationMap` to handle Mach-O section relocations.
66+
[#675](https://github.com/gimli-rs/object/pull/675)
67+
68+
* Changed `read::elf::RelocationSections` to ignore relocations that apply to relocations.
69+
[#680](https://github.com/gimli-rs/object/pull/680)
70+
71+
* Removed a lifetime bound from an argument in `read::elf::SectionTable::section_name`,
72+
`read::elf::SymbolTable::symbol_name`, and `read::elf::SymbolTable::symbol_section`.
73+
[#681](https://github.com/gimli-rs/object/pull/681)
74+
75+
--------------------------------------------------------------------------------
76+
577
## 0.35.0
678

779
Released 2024/04/10.

Cargo.lock

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

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "object"
3-
version = "0.35.0"
3+
version = "0.36.0"
44
edition = "2018"
55
keywords = ["object", "elf", "mach-o", "pe", "coff"]
66
license = "Apache-2.0 OR MIT"

crates/rewrite/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include = [
1515
features = ['doc']
1616

1717
[dependencies]
18-
object = { version = "0.35.0", default-features = false, features = ["build", "elf"], path = "../.." }
18+
object = { version = "0.36.0", default-features = false, features = ["build", "elf"], path = "../.." }
1919

2020
# Dependencies for the cli
2121
anyhow = { version = "1.0.79", optional = true }

0 commit comments

Comments
 (0)