Browse our Products

Aspose.HTML for Python via .NET 25.8 Release Notes

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

This release delivers significant performance enhancements and rendering improvements, focusing on memory optimization and CSS compliance.

Performance Optimizations:

  • Memory Efficiency: We have significantly optimized memory usage for operations involving pseudo-element style processing and general HTML element rendering. This reduces the overall memory footprint of the application.
  • Document Loading: Memory consumption when opening and loading HTML documents has been reduced.
  • Network Operations: The processing of network requests and the handling of StreamContent have been optimized for better efficiency and reliability.

Rendering Improvements:

  • CSS & Images: Fixed an issue with the correct application of the object-fit CSS property for images during rendering.
  • SVG Text: Improved the fidelity of text rendering with shadow effects within SVG images.
  • Tables: Addressed rendering artifacts to ensure correct layout and pagination of HTML tables.
  • Layout Stability: Enhancements have been made to the handling of Flexbox (Flex) elements, increasing the overall stability and predictability of CSS style processing.

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

Improvements and Changes

KeySummaryCategory
HTMLNET-6327Regression: HTML to PDF: OutOfMemory exception occursBug
HTMLNET-6272NullReferenceException when converting HTML to PDFBug
HTMLNET-6491Aspose.Html.Converter.ConvertHTML, runaway memory leakBug
HTMLNET-6339HTML to PDF: Duplicated data in output fileBug
HTMLNET-6513The conversion distorts the original layout.Bug
HTMLNET-6572HTML-to-PNG and PDF conversion error due to JavaScript execution failure.Task
HTMLNET-6204Mht to pdf - exception is thrown - System.InvalidOperationException - The sequence contains no elements.Bug

Public API Changes

Added APIs

Module / ClassMember
aspose.html.dom.svg.SVGDocument.save(url, save_options) method
aspose.html.dom.svg.SVGDocument.save(path, save_options) method
aspose.html.dom.svg.SVGDocument.save(resource_handler, save_options) method
aspose.html.dom.svg.saving.SVGZSaveOptionsclass
aspose.html.dom.svg.saving.SVGZSaveOptions.resource_handling_options properties
aspose.html.dom.svg.saving.SVGZSaveOptions.vectorize_text properties
aspose.html.dom.svg.saving.SVGSaveFormatSVGZ values