From 418ea182c30797f59d87934f3f80b938ce7d2159 Mon Sep 17 00:00:00 2001 From: "A. Molzer" <5550310+197g@users.noreply.github.com> Date: Sun, 25 Jan 2026 00:33:33 +0100 Subject: [PATCH] Release notes for 0.11.2 --- CHANGES.md | 17 +++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8892154..ab7b26e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,20 @@ +# Version 0.11.2 + +Changes: +- Planar files can now be read with `Decoder::read_image_to_buffer` if the + limits allow for such a large buffer size. Previously only the first plane + was read and the decoder will attempt a fallback to this behavior if the + limits do not allow all planes to be allocated. + +Fixes: +- An off-by-one error in a `debug_assert` of `ValueBuffer` caused its use in + `IfdDecoder::find_tag_buf` to panic outside release mode when the buffer + exactly matched the required size. + +Additions: +- The methods `ColorType::{num_samples, bit_depth}` are now public. This + promises that we only have homogeneous color depths in this major version. + # Version 0.11.1 Fixes: diff --git a/Cargo.toml b/Cargo.toml index 6a6e42a..c07f807 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiff" -version = "0.11.1" +version = "0.11.2" edition = "2021" resolver = "2"