From 7fc75f194acc19b7bbbad16a64b7f64683999cf6 Mon Sep 17 00:00:00 2001 From: Andreas Molzer Date: Fri, 4 Nov 2022 21:51:08 +0100 Subject: [PATCH 1/2] Changelog for 0.8 --- CHANGES.md | 8 ++++++++ Cargo.toml | 14 +++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f9c808d..0da83bb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,11 @@ +# Version 0.8.0 + +Changes: +* The minimum supported rust version is now indicated in `Cargo.toml`. + +Fixes: +* Update to `jpeg_decoder = 0.3`. + # Version 0.7.4 New features: diff --git a/Cargo.toml b/Cargo.toml index 824d572..a66373d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,20 @@ [package] name = "tiff" -version = "0.7.4" -authors = ["The image-rs Developers"] +version = "0.8.0" +edition = "2018" +resolver = "2" + +# note: when changed, also update test runner in `.github/workflows/rust.yml` +rust-version = "1.61.0" + license = "MIT" description = "TIFF decoding and encoding library in pure Rust" +authors = ["The image-rs Developers"] + repository = "https://github.com/image-rs/image-tiff" +categories = ["multimedia::images", "multimedia::encoding"] + exclude = ["tests/images/*", "tests/fuzz_images/*"] -edition = "2018" [dependencies] weezl = "0.1.0" From 65bc24d5d922946b7e1158c236e75acce71b1201 Mon Sep 17 00:00:00 2001 From: Andreas Molzer Date: Sat, 5 Nov 2022 13:43:33 +0100 Subject: [PATCH 2/2] Add deprecation removals to changelog --- CHANGES.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 0da83bb..19ddf5c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,18 @@ Changes: * The minimum supported rust version is now indicated in `Cargo.toml`. +* The enums `TiffFormatError` and `TiffUnsupportedError` are now + marked with the `#[non_exhaustive]` attribute. +* Additionally, tag related enums `Value`, `Tags`, `Type`, `CompressionMethod`, + `PhotometricInterpretation`, `PlanarConfiguration`, `Predictor`, + `ResolutionUnit`, `SampleFormat` are also changed. + +Removals: +* Removed deprecated methods of `Decoder`: `init`, `read_jpeg`, + `read_strip_to_buffer`, `read_strip`, `read_tile`. The implicit chunk (row or + tile) index order could not be easily tracked by the caller. New separate + utility interfaces may be introduced at a later point, for now callers are + obligated to choose their own. Fixes: * Update to `jpeg_decoder = 0.3`.