Browse our Products

Aspose.HTML for Python via .NET 26.7 Release Notes

As per the regular monthly update process of all APIs being offered by Aspose, we are honored to announce the July release of Aspose.HTML for Python via .NET.

Release Notes

This release improves network resource handling and rendering stability. Cancellation token support has been added to the networking API, allowing requests and content reading operations to be canceled — this fixes cases where rendering could hang indefinitely on stalled external webfonts or malformed stylesheet URLs. Additionally, a text overlap and right-alignment regression has been fixed, and memory consumption during HTML to PDF conversion has been significantly reduced.

Package references
Aspose.HTML for Python via .NET 26.7.0 NuGet
Aspose.HTML.Drawing for .NET 26.7.0 NuGet
Aspose.HTML for Python via .NET 26.7.0 PyPI

Improvements and Changes

KeySummaryCategory
HTMLNET-7138HtmlRenderer.Render ignores CancellationToken when loading a stalled external webfontBug
HTMLNET-7139HTMLDocument.RenderTo hangs indefinitely when processing a malformed stylesheet URLBug
HTMLNET-7199Regression: Words overlap and broken right alignmentBug
HTMLNET-6950Memory Cap of 4GB when converting HTML to PDFBug
HTMLNET-6349Dynamically Adjust Margin per PageTask
HTMLNET-7136Regression in HTML->PDF conversion after updating to Aspose.Html 26.5Task

Public API Changes

Added APIs

Module / ClassMember
aspose.html.net.Contentclass
aspose.html.net.Content.read_as_stream(cancellation_token) method
aspose.html.net.Content.read_as_byte_array(cancellation_token) method
aspose.html.net.Content.read_as_string(cancellation_token) method
aspose.html.net.Content.serialize_to_stream(stream, cancellation_token) method
aspose.html.net.RequestMessage.cancellation_token property
aspose.html.net.StreamContentclass
aspose.html.net.StreamContent.StreamContent(content, cancellation_token) method