We’re happy to announce the release of GroupDocs.Redaction for Node.js via Java 26.10, available as of October 2026. This is the first public npm release of the product, delivering feature parity with GroupDocs.Redaction for Java 26.10. Key improvements include OOXML compliance control for Word documents, extended support for Excel template and tab-delimited formats, custom redaction handlers for PDF page-area redactions, and fixes for image positioning and DrawBox handling.

What’s new in this release

  • [Feature] Specify and preserve OOXML compliance when saving Word Processing documents (REDACTIONNET-718)
  • [Feature] Add spreadsheet template formats XLT / XLTX / XLTM and TAB; improve Cells save-format mapping (REDACTIONNET-802)
  • [Fix] Skip DrawBox (colored rectangle) redactions for text-only spreadsheets CSV / TAB / TSV (REDACTIONNET-805)
  • [Feature] Custom redaction handler for PDF PageAreaRedaction (ICustomRedactionHandler) (REDACTIONNET-594)
  • [Fix] Fix page-area image redaction positioning (embedded images with page placement and real size) (REDACTIONNET-551)

Public API changes

Public API matches GroupDocs.Redaction for Java 26.10, including:

  • WordProcessingComplianceLevel (Ecma, Transitional, Strict)
  • WordprocessingSaveOptions with getOoxmlCompliance / setOoxmlCompliance
  • SaveOptions.getWordprocessingSaveOptions()
  • ICustomRedactionHandler, CustomRedactionContext, CustomRedactionResult
  • ReplacementOptions.getCustomRedaction / setCustomRedaction
  • FileType.getXLT(), getXLTX(), getXLTM(), getTAB()

New features

  • OOXML compliance for Word Processing (REDACTIONNET-718)
    You can request an OOXML compliance level when saving Word documents. If not set, the original document compliance is preserved. Strict cannot be downgraded directly to Ecma (use Transitional).

  • Spreadsheet formats XLT / XLTX / XLTM / TAB (REDACTIONNET-802)
    FileType exposes Excel template types and .tab. Spreadsheet save paths map these formats correctly (alongside existing ODS / OTS / XLSB support).

  • Skip DrawBox for CSV / TAB / TSV (REDACTIONNET-805)
    Colored rectangle (DrawBox) replacements are not applicable to text-only spreadsheet formats. Those redactions are skipped with a clear status instead of attempting image-style styling.

  • Custom redaction for PDF PageArea (REDACTIONNET-594)
    ReplacementOptions accepts an ICustomRedactionHandler. On each match the handler receives CustomRedactionContext and returns CustomRedactionResult (apply flag + replacement text). Currently supported for PDF PageAreaRedaction only.

  • Image area positioning (REDACTIONNET-551)
    Embedded images that expose page placement and real pixel size are redacted using page coordinates, so PageAreaFilter / ImageAreaRedaction align with the visible image area when the bitmap size differs from the on-page shape.

Code example

const redaction = require('@groupdocs/groupdocs.redaction');
const java = require('java');

const optionsText = new redaction.ReplacementOptions('[replaced]');
const handler = java.newProxy('com.groupdocs.redaction.redactions.ICustomRedactionHandler', {
  redact: function (context) {
    const result = new redaction.CustomRedactionResult();
    const text = context.getText();
    if (text && text.indexOf('Lorem') >= 0) {
      result.setApply(true);
      result.setText(text.replace('Lorem', '[redacted-custom]'));
    }
    return result;
  }
});
optionsText.setCustomRedaction(handler);

const redactor = new redaction.Redactor('sample.pdf');
try {
  redactor.apply(new redaction.PageAreaRedaction(
    java.import('java.util.regex.Pattern').compile('.*'),
    optionsText));
  redactor.save(new redaction.SaveOptions(false, 'Custom_Redaction_Result'));
} finally {
  redactor.close();
}

How to get the update

npm

Install the package via npm:

npm install @groupdocs/groupdocs.redaction@26.10.0

Package link: GroupDocs.Redaction for Node.js via Java 26.10.0

Direct download

Download the latest release from the GroupDocs.Redaction for Node.js via Java 26.10 Release Notes page.

Resources