From c0fe4228302390a7cc3652fd325439de426e1198 Mon Sep 17 00:00:00 2001 From: bokuweb Date: Fri, 12 Apr 2024 00:58:01 +0900 Subject: [PATCH] Fix dbg (#704) * fix: dbg! * 0.4.14 * fix --- CHANGELOG.md | 5 +++++ Cargo.lock | 2 +- docx-core/Cargo.toml | 2 +- docx-core/src/reader/mod.rs | 1 - docx-wasm/package.json | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2464311..c320e56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## @0.4.14 (12. Apr, 2024) + +- Remove `dbg!` +- Support `caps` + ## @0.4.13 (29. Mar, 2024) - Support `tblppr` diff --git a/Cargo.lock b/Cargo.lock index b7a51bf..97f8c58 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,7 +143,7 @@ checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" [[package]] name = "docx-rs" -version = "0.4.13" +version = "0.4.14" dependencies = [ "base64", "image", diff --git a/docx-core/Cargo.toml b/docx-core/Cargo.toml index 3d07878..a51689e 100644 --- a/docx-core/Cargo.toml +++ b/docx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "docx-rs" -version = "0.4.13" +version = "0.4.14" authors = ["bokuweb "] repository = "https://github.com/bokuweb/docx-rs" edition = "2018" diff --git a/docx-core/src/reader/mod.rs b/docx-core/src/reader/mod.rs index ca36479..495fe54 100644 --- a/docx-core/src/reader/mod.rs +++ b/docx-core/src/reader/mod.rs @@ -475,7 +475,6 @@ fn add_images( if let Some(paths) = media { for (id, media, ..) in paths { if let Ok(data) = read_zip(archive, media.to_str().expect("should have media")) { - dbg!("--0-0", &media); docx = docx.add_image(id, media.to_str().unwrap().to_string(), data); } } diff --git a/docx-wasm/package.json b/docx-wasm/package.json index 59c325f..9cf7ecb 100644 --- a/docx-wasm/package.json +++ b/docx-wasm/package.json @@ -1,6 +1,6 @@ { "name": "docx-wasm", - "version": "0.4.14-beta4", + "version": "0.4.14", "main": "dist/node/index.js", "browser": "dist/web/index.js", "author": "bokuweb ",