Skip to content

Commit

Permalink
Release 0.33.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc committed Mar 5, 2024
1 parent 72e2698 commit 2f70d61
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 5 deletions.
File renamed without changes.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions crates/rewrite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "object-rewrite"
version = "0.0.0"
version = "0.1.0"
edition = "2021"
description = "Rewrite object files with modifications"

[package.metadata.docs.rs]
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 }
Expand Down

0 comments on commit 2f70d61

Please sign in to comment.