We’re pleased to announce the GroupDocs.Conversion for Node.js via Java v25.11 release, available as of November 2025. This update brings a critical compatibility fix for the newest Node.js 20+ runtimes, upgrades the underlying Java library, and introduces a few public API changes.

What’s new in this release

Những gì mới trong bản phát hành này

Compatibility fix

Sửa lỗi tương thích

  • [Fix]CONVERSIONNODEJS-257GroupDocs.Conversion for Node.js via Java is now fully compatible with the latest Node.js 20+ versions.
    This resolves runtime errors that occurred when the native Java bridge was loaded under newer Node.js binaries.
  • [Fix]CONVERSIONNODEJS-257GroupDocs.Conversion for Node.js via Java hiện đã hoàn toàn tương thích với các phiên bản Node.js 20+ mới nhất.
    Điều này giải quyết các lỗi runtime xảy ra khi cầu nối Java gốc được tải dưới các binary Node.js mới hơn.

Underlying library update

Cập nhật thư viện nền tảng

  • [Enhancement]CONVERSIONNODEJS-258The Java dependency has been upgraded to GroupDocs.Conversion for Java v25.9.
    All improvements and bug‑fixes that were part of the Java 25.4 – 25.9 releases are now included automatically.
  • [Enhancement]CONVERSIONNODEJS-258Phụ thuộc Java đã được nâng cấp lên GroupDocs.Conversion for Java v25.9.
    Tất cả các cải tiến và bản sửa lỗi đã có trong các bản phát hành Java 25.4 – 25.9 hiện đã được bao gồm tự động.

Package README updates

Cập nhật README của gói

The npm package README was refreshed to include:

  • Key product features
  • System requirements
  • Installation instructions
  • Quick-start code samples
  • Usage scenarios

README của gói npm đã được làm mới để bao gồm:

  • Các tính năng chính của sản phẩm
  • Yêu cầu hệ thống
  • Hướng dẫn cài đặt
  • Các mẫu mã nhanh
  • Các kịch bản sử dụng

Documentaiton updates

Cập nhật tài liệu

Updated documentation topics:

Added new documentation topic:

Public API changes

Thay đổi API công cộng

Converter class

Lớp Converter

  1. The Converter class constructor that accepts a stream has been removed and replaced with a stream supplier:
const fs = require('fs');
const java = require('java');
const path = require('path');

// Create read stream from file
const readStream = fs.createReadStream("source.docx");

// Convert to GroupDocs input stream
const stream = await groupdocs.readDataFromStream(readStream);

// Create Supplier<InputStream> that returns the stream (equivalent to Java lambda: () -> stream)
const streamSupplier = java.newProxy('java.util.function.Supplier', {
  get: function() {
    return stream;
  }
});

// Initialize converter with stream data
const converter = new groupdocs.Converter(streamSupplier);

PdfConvertOptions class

Lớp PdfConvertOptions

  1. Method setWidth renamed to setPageWidth

  2. Method setHeight renamed to setPageHeight

  3. Phương thức setWidth được đổi tên thành setPageWidth

  4. Phương thức setHeight được đổi tên thành setPageHeight

// Configure PDF conversion options with advanced settings
const convertOptions = new groupdocs.PdfConvertOptions();
convertOptions.setPageWidth(1024); // Set output width
convertOptions.setPageHeight(768); // Set output height

How to get the update

Cách nhận bản cập nhật

  • npm – Upgrade the package to the latest version:
npm install @groupdocs/groupdocs.conversion@25.11.0
  • Direct download – Grab the latest JARs and supporting files from the official release page

  • Direct download – Tải xuống các JAR và file hỗ trợ mới nhất từ trang release page

Resources

Tài nguyên


Stay tuned for upcoming releases that will bring further format support, performance optimisations, and API refinements. If you encounter any issues or have suggestions, please let us know via the support forum. Happy coding!

Hãy chờ đón các bản phát hành sắp tới, chúng sẽ mang lại hỗ trợ định dạng mở rộng, tối ưu hoá hiệu năng và tinh chỉnh API. Nếu bạn gặp bất kỳ vấn đề nào hoặc có đề xuất, vui lòng cho chúng tôi biết qua diễn đàn hỗ trợ. Chúc lập trình vui vẻ!