Latest Release (November 2026)

GroupDocs.Assembly for .NET 26.11 lets you validate templates against a JSON Schema, puts loading of external resources under your control, adds document preview generation, and removes empty paragraphs in spreadsheet and plain text templates. <<image>> tags resolve relative paths against the template folder, color tags accept hex strings, and date-only values no longer depend on the server time zone. Templates written for typed objects now work on the same data loaded from JSON, XML or CSV, including $id/$ref references and grouping by nested objects. The release adds a .NET Framework 4.8 build, refreshes the document processing engines, and fixes licensing from a stream, metered licensing, the encoding of text reports, barcodes with a missing font and an extra empty paragraph after HTML content.

For the full release notes with examples see GroupDocs.Assembly for .NET 26.11 Release Notes.

Full list of changes in this release

KeyCategorySummary
ASSEMBLYNET-145FeatureJSON Schema support for JsonDataSource
ASSEMBLYNET-8FeatureDocument preview with PreviewOptions.Resolution
ASSEMBLYNET-36FeatureRemoveEmptyParagraphs for spreadsheet templates
ASSEMBLYNET-37FeatureRemoveEmptyParagraphs for plain text templates
ASSEMBLYNET-140SecurityControl of external resources referenced by templates and data
ASSEMBLYNET-144SecuritySystem.Security.Cryptography.Pkcs updated to patched versions (CVE-2026-84008, CVE-2026-70162)
ASSEMBLYNET-52EnhancementImages in table cells and group shapes of presentations
ASSEMBLYNET-62EnhancementRelative image paths are resolved against the template folder
ASSEMBLYNET-25EnhancementHex color strings in backColor and chart color tags
ASSEMBLYNET-151EnhancementDate-only values in JSON and CSV data keep their date regardless of the server time zone
ASSEMBLYNET-155EnhancementDates, numbers and Booleans of JSON, XML and CSV data work in templates like those of typed objects
ASSEMBLYNET-147Enhancement.NET Framework 4.8 (net48) build added
ASSEMBLYNET-148EnhancementUpgrade document generation engines to 26.10
ASSEMBLYNET-142FixLicense.SetLicense(Stream) failed with “Root element is missing”
ASSEMBLYNET-143FixMetered licensing: SetMeteredKey failed with “Authentication failed”
ASSEMBLYNET-158FixText and HTML reports lost non-Latin data of ASCII-only templates
ASSEMBLYNET-157FixGroupBy and Distinct over nested objects, $id/$ref in JSON data
ASSEMBLYNET-160FixBarcode failed when the font of its text box is not installed
ASSEMBLYNET-159FixMSG report kept the template’s conversation topic
ASSEMBLYNET-152FixClear error for a doc tag in spreadsheet, presentation and text templates, no empty file after a failure
ASSEMBLYNET-182FixExtra empty paragraph after HTML content at the end of a paragraph

Major Changes

JSON Schema support for JsonDataSource

JsonDataSource accepts a JSON Schema, the same way XmlDataSource accepts an XML Schema. The template is checked against the schema rather than the data, so members declared in the schema can be referenced even if they are null, empty or absent in the data, and value types come from the schema.

JsonDataSource dataSource = new JsonDataSource("Customer.json", "Customer.schema.json");
new DocumentAssembler().AssembleDocument("Json schema.docx", "output.docx", new DataSourceInfo(dataSource, "customer"));

Control of external resources referenced by templates and data

GroupDocs.Assembly tells whether a reference to an external resource comes from the template or from data. By default, resources referenced by the template are loaded as before, and resources whose references come from data are skipped. LoadSaveOptions.SkipExternalResources, TrustTemplateResources, WhitelistedResources and ExternalResourceHandler control this. Local file paths are not affected.

Document preview

DocumentAssembler.GeneratePreview renders pages of a template, an assembled report or any other document of a supported format to PNG, JPEG or BMP images, with PreviewOptions.Resolution, Width, Height and PageNumbers.

Data of JSON, XML and CSV files works like typed objects

Templates written for typed objects work on the same data loaded from files: <<[o.Date.Month]>>, <<if [o.Paid]>>, orders.Where(x => x.Paid) without .Value or == true. GroupBy and Distinct over nested objects merge equal objects, and $id/$ref references written by Json.NET are resolved.

Templates and tags

  • RemoveEmptyParagraphs works for spreadsheet and plain text templates.
  • <<image>> tags work in table cells of presentations, and tags in group shapes are processed.
  • Relative image paths are resolved against the template folder, or LoadSaveOptions.ResourceLoadBaseUri for a template loaded from a stream.
  • backColor and chart color tags accept hex strings: "#RRGGBB", "#RGB", "#AARRGGBB".
  • An -html tag ending its paragraph no longer leaves an empty paragraph after HTML ending with a block element.

Platforms, engines and licensing

  • A .NET Framework 4.8 (net48) build is added. The net462 build will be removed some months after Microsoft ends support for .NET Framework 4.6.2 on January 12, 2027.
  • Document generation engines are upgraded to 26.10, and System.Security.Cryptography.Pkcs is updated to versions that fix CVE-2026-84008 and CVE-2026-70162.
  • License.SetLicense(Stream) reads a seekable stream from its beginning, and Metered.SetMeteredKey accepts GroupDocs metered keys.

Backwards incompatible changes

  • new JsonDataSource(path, null) is ambiguous at compile time; cast the argument: new JsonDataSource(path, (JsonDataLoadOptions)null).
  • Reports of ASCII-only text and HTML templates without a byte order mark are in UTF-8 instead of the ANSI code page.
  • GroupBy and Distinct over nested objects of JSON, XML and DataSet data merge equal objects.
  • An -html tag ending its paragraph no longer leaves an empty paragraph after HTML ending with a block element. To keep a blank line, end the HTML with <p>&nbsp;</p>.

See Public API and Backwards Incompatible Changes for the full list.

Installation

dotnet add package GroupDocs.Assembly --version 26.11.0