Release 0.33.0 (#640)

This commit is contained in:
Philip Craig
2024-03-05 12:52:01 +10:00
committed by GitHub
parent 72e2698ade
commit 5c52be93d6
4 changed files with 48 additions and 5 deletions
+43
View File
@@ -2,6 +2,49 @@
--------------------------------------------------------------------------------
## 0.33.0
Released 2024/03/05.
### Breaking changes
* Deleted file format variants in `RelocationKind`. Replaced their usage
with `read::Relocation::flags` and `write::Relocation::flags`.
[#585](https://github.com/gimli-rs/object/pull/585)
* Replaced `kind`, `encoding` and `size` fields in `write::Relocation`
with `RelocationFlags::Generic` in the `flags` field.
[#585](https://github.com/gimli-rs/object/pull/585)
* Replaced `macho::FatHeader::parse`, `macho::FatHeader::parse_arch32`,
and `macho::FatHeader::parse_arch64` with `read::macho::MachOFatFile`,
`read::macho::MachOFatFile32` and `read::macho::MachOFatFile64`.
[#623](https://github.com/gimli-rs/object/pull/623)
### Added
* Added `macho::PLATFORM_XROS` and `macho::PLATFORM_XROSSIMULATOR`.
[#626](https://github.com/gimli-rs/object/pull/626)
* Added `build::elf::Builder` and associated types.
Extended `write::elf::Writer` to support this.
[#618](https://github.com/gimli-rs/object/pull/618)
### Changed
* Changed the lifetime to `'data` for the return value of `ObjectSection::name`,
`ObjectSection::name_bytes`, `ObjectComdat::name`, `ObjectComdat::name_bytes`.
[#620](https://github.com/gimli-rs/object/pull/620)
[#622](https://github.com/gimli-rs/object/pull/622)
* Checked that sizes are smaller than the file length in `read::ReadCache`.
[#630](https://github.com/gimli-rs/object/pull/630)
* Used `Vec::try_reserve_exact` for large allocations.
[#632](https://github.com/gimli-rs/object/pull/632)
--------------------------------------------------------------------------------
## 0.32.2
Released 2023/12/24.
+3 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "object"
version = "0.32.2"
version = "0.33.0"
edition = "2018"
exclude = ["/.github", "/testfiles"]
keywords = ["object", "elf", "mach-o", "pe", "coff"]
@@ -16,10 +16,10 @@ features = ['doc']
crc32fast = { version = "1.2", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "2.0", default-features = false, optional = true }
wasmparser = { version = "0.118.0", optional = true }
wasmparser = { version = "0.201.0", optional = true }
memchr = { version = "2.4.1", default-features = false }
hashbrown = { version = "0.14.0", features = ["ahash"], default-features = false, optional = true }
ruzstd = { version = "0.5.0", optional = true }
ruzstd = { version = "0.6.0", optional = true }
# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "object-rewrite"
version = "0.0.0"
version = "0.1.0"
edition = "2021"
description = "Rewrite object files with modifications"
@@ -8,7 +8,7 @@ description = "Rewrite object files with modifications"
features = ['doc']
[dependencies]
object = { version = "0.32", default-features = false, features = ["build", "elf"], path = "../.." }
object = { version = "0.33.0", default-features = false, features = ["build", "elf"], path = "../.." }
# Dependencies for the cli
anyhow = { version = "1.0.79", optional = true }