diff --git a/CITATION.cff b/CITATION.cff index b0c0a09d..18c6b9bb 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,8 +3,8 @@ message: "If you use MiniPdf in your work, please cite it using the metadata fro title: MiniPdf type: software doi: 10.5281/zenodo.22057294 -version: 0.42.0 -date-released: "2026-09-07" +version: 0.43.0 +date-released: "2026-09-13" authors: - family-names: Lin given-names: WEI-HAN diff --git a/minipdf-node/Cargo.lock b/minipdf-node/Cargo.lock index eea3435d..2de1503e 100644 --- a/minipdf-node/Cargo.lock +++ b/minipdf-node/Cargo.lock @@ -368,7 +368,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "minipdf" -version = "0.6.0" +version = "0.7.0" dependencies = [ "chrono", "flate2", @@ -385,7 +385,7 @@ dependencies = [ [[package]] name = "minipdf-node" -version = "0.1.0" +version = "0.2.0" dependencies = [ "minipdf", "napi", diff --git a/minipdf-node/Cargo.toml b/minipdf-node/Cargo.toml index 7aa880f5..42747466 100644 --- a/minipdf-node/Cargo.toml +++ b/minipdf-node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minipdf-node" -version = "0.1.0" +version = "0.2.0" edition = "2021" license = "Apache-2.0" repository = "https://github.com/mini-software/MiniPdf" diff --git a/minipdf-node/package-lock.json b/minipdf-node/package-lock.json index 5ecfd62b..95afe6b9 100644 --- a/minipdf-node/package-lock.json +++ b/minipdf-node/package-lock.json @@ -1,12 +1,12 @@ { "name": "minipdf", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "minipdf", - "version": "0.1.0", + "version": "0.2.0", "license": "Apache-2.0", "devDependencies": { "@napi-rs/cli": "^2.18.4", diff --git a/minipdf-node/package.json b/minipdf-node/package.json index a33a68d2..8d27f817 100644 --- a/minipdf-node/package.json +++ b/minipdf-node/package.json @@ -1,6 +1,6 @@ { "name": "minipdf", - "version": "0.1.0", + "version": "0.2.0", "description": "Native Node.js Office-to-PDF conversion powered by MiniPdf for Rust", "license": "Apache-2.0", "author": "MiniPdf contributors", diff --git a/minipdf-python/pyproject.toml b/minipdf-python/pyproject.toml index 00fb0649..5c2a8383 100644 --- a/minipdf-python/pyproject.toml +++ b/minipdf-python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "minipdf" -version = "0.1.0" +version = "0.2.0" description = "Pure Python Office-to-PDF conversion engine" readme = "README.md" requires-python = ">=3.10" diff --git a/minipdf-python/src/minipdf/__init__.py b/minipdf-python/src/minipdf/__init__.py index 2dda4ca2..86f3f4ee 100644 --- a/minipdf-python/src/minipdf/__init__.py +++ b/minipdf-python/src/minipdf/__init__.py @@ -25,4 +25,4 @@ "registered_fonts", ] -__version__ = "0.1.0" +__version__ = "0.2.0" diff --git a/minipdf-python/tests/test_api.py b/minipdf-python/tests/test_api.py index d994057f..68ae5d23 100644 --- a/minipdf-python/tests/test_api.py +++ b/minipdf-python/tests/test_api.py @@ -7,6 +7,7 @@ import pytest from helpers import create_docx, create_pptx, create_xlsx +import minipdf from minipdf import ( OfficeFormat, PackageError, @@ -19,6 +20,10 @@ from minipdf.office import OfficePackage +def test_runtime_version_matches_release() -> None: + assert minipdf.__version__ == "0.2.0" + + def test_path_and_bytes_apis_produce_identical_output(tmp_path: Path) -> None: input_path = tmp_path / "sample.docx" output_path = tmp_path / "sample.pdf" diff --git a/minipdf-rs/Cargo.lock b/minipdf-rs/Cargo.lock index 5ec43419..cd66c7f9 100644 --- a/minipdf-rs/Cargo.lock +++ b/minipdf-rs/Cargo.lock @@ -437,7 +437,7 @@ checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4" [[package]] name = "minipdf" -version = "0.6.0" +version = "0.7.0" dependencies = [ "chrono", "flate2", @@ -454,7 +454,7 @@ dependencies = [ [[package]] name = "minipdf-cli" -version = "0.6.0" +version = "0.7.0" dependencies = [ "clap", "minipdf", diff --git a/minipdf-rs/Cargo.toml b/minipdf-rs/Cargo.toml index 3181aa66..bfbd51fb 100644 --- a/minipdf-rs/Cargo.toml +++ b/minipdf-rs/Cargo.toml @@ -6,7 +6,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.6.0" +version = "0.7.0" edition = "2021" license = "Apache-2.0" repository = "https://github.com/mini-software/MiniPdf" diff --git a/minipdf-rs/crates/minipdf-cli/Cargo.toml b/minipdf-rs/crates/minipdf-cli/Cargo.toml index 4186a2c6..5cb580c6 100644 --- a/minipdf-rs/crates/minipdf-cli/Cargo.toml +++ b/minipdf-rs/crates/minipdf-cli/Cargo.toml @@ -18,5 +18,5 @@ path = "src/main.rs" [dependencies] clap.workspace = true -minipdf = { version = "0.6.0", path = "../minipdf" } +minipdf = { version = "0.7.0", path = "../minipdf" } ttf-parser.workspace = true \ No newline at end of file