Skip to content

Prepare multi-language package releases - #172

Open
shps951023 wants to merge 3 commits into
mainfrom
release/language-packages-20260913
Open

Prepare multi-language package releases#172
shps951023 wants to merge 3 commits into
mainfrom
release/language-packages-20260913

Conversation

@shps951023

@shps951023 shps951023 commented Sep 13, 2026

Copy link
Copy Markdown
Member

Prepare package versions for the implementation changes merged since the latest releases.

Release targets

  • .NET/NuGet: 0.43.0
  • Rust/crates.io: 0.7.0
  • Java/Maven Central: 0.1.6 (already versioned on main)
  • Python/PyPI: 0.2.0
  • Node.js/npm: 0.2.0

Go remains at 0.1.1 because minipdf-go/ has no changes since minipdf-go/v0.1.1.

Changes

  • Update Rust workspace, CLI dependency, and lockfile versions to 0.7.0
  • Update Python package version to 0.2.0
  • Update Node.js npm, Cargo, and lockfile versions to 0.2.0
  • Prepare .NET 0.43.0 citation metadata on the review branch

Validation

  • .NET: dotnet test tests/MiniPdf.Tests/MiniPdf.Tests.csproj --configuration Release --verbosity normal (203 passed)
  • Rust: cargo test --workspace --locked (111 passed)
  • Rust: cargo fmt --check
  • Rust: cargo clippy --workspace --all-targets --locked -- -D warnings
  • Rust: cargo publish -p minipdf --locked --dry-run
  • Java: mvn -B -ntp -f minipdf-java/pom.xml clean verify (3 modules succeeded; 45 tests passed)
  • Python: pytest (23 passed), Ruff, format, mypy, build, and twine checks
  • Node.js: npm test (8 passed) and npm pack --dry-run --ignore-scripts
  • git diff --check

Summary by CodeRabbit

  • Release Updates

    • Updated MiniPdf release metadata to version 0.43.0, dated September 13, 2026.
    • Updated Rust, Node.js, and Python package versions to align with their latest releases.
    • Updated the command-line interface to use the corresponding Rust 0.7.0 release.
    • Synchronized package and workspace version information across supported MiniPdf distributions.
  • Tests

    • Added coverage to verify that the Python package reports the expected release version.

Copilot AI lite review requested due to automatic review settings September 13, 2026 14:53
@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: db1bae03-38f6-490d-a8c9-f00513a2baa3

📥 Commits

Reviewing files that changed from the base of the PR and between baa0ade and bed31d8.

📒 Files selected for processing (2)
  • minipdf-python/src/minipdf/__init__.py
  • minipdf-python/tests/test_api.py

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

Release metadata and package versions were updated. Python now exposes version 0.2.0, and a test verifies the runtime version. The Rust CLI dependency now references version 0.7.0.

Changes

Release version alignment

Layer / File(s) Summary
Version metadata and manifests
CITATION.cff, minipdf-node/..., minipdf-python/pyproject.toml, minipdf-rs/...
Updated citation metadata to version 0.43.0 with the September 13, 2026 release date. Updated Node.js and Python packages to version 0.2.0. Updated the Rust workspace and CLI dependency to version 0.7.0.
Runtime version and validation
minipdf-python/src/minipdf/__init__.py, minipdf-python/tests/test_api.py
Updated minipdf.__version__ to 0.2.0. Added a test that checks the runtime version against 0.2.0.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to bed31

The release-version updates are aligned and validated across the described packages, so the change is ready to merge.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: preparing coordinated package releases across multiple languages.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/language-packages-20260913

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Regenerate the Node Cargo lockfile and synchronize the Python runtime version.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Prepares Rust, Python, Node.js, and .NET release metadata.

Changes:

  • Updates Rust versions to 0.7.0.
  • Updates Python and Node.js versions to 0.2.0.
  • Updates .NET citation metadata to 0.43.0.
File summaries
File Summary
minipdf-rs/crates/minipdf-cli/Cargo.toml Updates the CLI dependency version.
minipdf-rs/Cargo.toml Updates the Rust workspace version.
minipdf-rs/Cargo.lock Updates Rust lockfile versions.
minipdf-python/pyproject.toml Updates distribution metadata; runtime version remains stale (moderate).
minipdf-node/package.json Updates npm package version.
minipdf-node/package-lock.json Synchronizes npm lock metadata.
minipdf-node/Cargo.toml Updates the native crate version; the Cargo lockfile remains stale (critical).
CITATION.cff Updates citation metadata.
Review details

Files not reviewed (1)

  • minipdf-node/package-lock.json: Generated file
  • Files reviewed: 6/8 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread minipdf-node/Cargo.toml
Comment thread minipdf-python/pyproject.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants