From 0f5943464183da484fb17cefe5102ef3aeca26ac Mon Sep 17 00:00:00 2001 From: Min Deng Date: Wed, 15 Jan 2025 12:34:31 +0800 Subject: [PATCH] chore(version): bump version to 2.3.0 --- CHANGELOG.md | 45 ++++++++++++++++++++++++++++++++------------- Cargo.toml | 23 +++++++++++++---------- 2 files changed, 45 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 553217d..21ed831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## nom-exif v2.3.0 + +[v2.2.1..v2.3.0](https://github.com/mindeng/nom-exif/compare/v2.2.1..v2.3.0) + +### Added + +- `EntryValue::U8Array` + +### Fixed + +- Doesn't recognize DateTimeOriginal tag in file. #33 +- Update to avoid Rust 1.83 lints #30 +- println! prints lines to output #27 +- range start index panic in src/exif/exif_iter.rs #25 +- Panic range end index 131151 out of range for slice of length 129 #24 +- Memory allocation failed when decoding invalid file #22 +- assertion failed: data.len() >= 6 when checking broken exif file #21 +- Panic depth shouldn't be greater than 1 #20 +- freeze when checking broken file #19 + ## nom-exif v2.2.1 [v2.1.1..v2.2.1](https://github.com/mindeng/nom-exif/compare/v2.1.1..v2.2.1) @@ -45,10 +65,10 @@ ### Added - Support more file types - - *.tiff - - *.webm - - *.mkv, *.mka - - *.3gp + - `*.tiff` + - `*.webm` + - `*.mkv`, `*.mka` + - `*.3gp` - rexiftool - Add `--debug` command line parameter for printing and saving debug logs @@ -69,12 +89,12 @@ ### Changed - Deprecated - - `parse_exif` : Please use `MediaParser` instead. - - `parse_exif_async` : Please use `MediaParser` instead. - - `parse_heif_exif` : Please use `MediaParser` instead. - - `parse_jpeg_exif` : Please use `MediaParser` instead. - - `parse_metadata` : Please use `MediaParser` instead. - - `FileFormat` : Please use `MediaSource` instead. + - `parse_exif` : Please use `MediaParser` instead. + - `parse_exif_async` : Please use `MediaParser` instead. + - `parse_heif_exif` : Please use `MediaParser` instead. + - `parse_jpeg_exif` : Please use `MediaParser` instead. + - `parse_metadata` : Please use `MediaParser` instead. + - `FileFormat` : Please use `MediaSource` instead. ## nom-exif v1.5.2 @@ -89,7 +109,6 @@ for the robustness of the program). Additionally, I also changed the size limit on the box body to a more reasonable value. - ## nom-exif v1.5.1 [v1.5.0..v1.5.1](https://github.com/mindeng/nom-exif/compare/v1.5.0..v1.5.1) @@ -132,7 +151,7 @@ [v1.4.0..v1.4.1](https://github.com/mindeng/nom-exif/compare/v1.4.0..v1.4.1) -### Performance Improved! +### Performance Improved - Avoid data copying when extracting moov body. @@ -144,7 +163,7 @@ [v1.3.0..v1.4.0](https://github.com/mindeng/nom-exif/compare/v1.3.0..v1.4.0) -### Performance Improved! +### Performance Improved - Avoid data copying during parsing IFD entries. diff --git a/Cargo.toml b/Cargo.toml index d77737b..4ed7b3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,21 +1,19 @@ [package] name = "nom-exif" rust-version = "1.80" -version = "2.2.1" +version = "2.3.0" edition = "2021" license-file = "LICENSE" description = "Exif/metadata parsing library written in pure Rust, both image (jpeg/heif/heic/jpg/tiff etc.) and video/audio (mov/mp4/3gp/webm/mkv/mka, etc.) files are supported." homepage = "https://github.com/mindeng/nom-exif" repository = "https://github.com/mindeng/nom-exif" -exclude = [ - "testdata/*", -] +exclude = ["testdata/*"] categories = [ - "multimedia::images", - "multimedia::video", - "multimedia::audio", - "parsing", - "parser-implementations", + "multimedia::images", + "multimedia::video", + "multimedia::audio", + "parsing", + "parser-implementations", ] keywords = ["metadata", "exif"] @@ -45,7 +43,12 @@ serde_json = "1.0" regex = { version = "1.10" } clap = { version = "4.4", features = ["derive"] } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } -tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros", "fs", "io-util"] } +tokio = { version = "1.40.0", features = [ + "rt-multi-thread", + "macros", + "fs", + "io-util", +] } [[example]] name = "rexiftool"