Browse our Products

Aspose.HTML for Python via .NET 25.12 Release Notes

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

This release introduces significant enhancements to JavaScript processing and expands the public API. Key updates include:

Major Feature: CSS Grid Layout Implementation

Full implementation of the CSS Grid Layout algorithm, compliant with the CSS Grid Layout Level 1 specification.

Support for core properties: grid, grid-template-, grid-auto-, grid-row*, grid-column*, grid-area, and gap*.

Advanced capabilities: explicit and implicit grid resolution, along with auto-placement logic.

API Expansion: Introduction of asynchronous methods to the public API.

Layout Property Updates: The align-, justify-, and place-* properties have been updated to align with the CSS Grid specification.

New Unit Support: Public API now supports the fr (fractional) unit for track sizing within the CSS Grid algorithm.

Enhanced Width Property: The width property now supports the min-content and max-content values.

Rendering Optimizations:

Improved rendering of inline elements, ensuring more accurate and predictable visual output.

Enhanced performance and stability when processing deeply nested documents, reducing memory usage and potential stack-related issues.

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

Improvements and Changes

KeySummaryCategory
HTMLNET-6717There is an exception when we load a file.Bug
HTMLNET-3935HTML to PDF conversion generates heading text with incorrect fontBug
HTMLNET-4079HTML CSS supportInvestigation
HTMLNET-6039Content keeps getting cutoff for some MHT files during conversion from MHT to pdfBug
HTMLPYTHON-3Issue while setting the licenseInvestigation

Public API Changes

** Added APIs **

Module / ClassMember
aspose.html.converters.Converter.convert_html(stream, configuration, options, output_path) method
aspose.html.converters.Converter.convert_html(stream, base_uri, options, output_path) method
aspose.html.converters.Converter.convert_html(stream, base_uri, configuration, options, output_path) method
aspose.html.dom.css.CSSPrimitiveValue.CSSUnits.CSS_X constant
aspose.html.dom.css.CSSPrimitiveValue.CSSUnits.CSS_FR constant
aspose.html.dom.css.ICSS2Properties.grid_template_columns property
aspose.html.dom.css.ICSS2Properties.grid_template_rows property
aspose.html.dom.css.ICSS2Properties.grid_template_areas property
aspose.html.dom.css.IAbstractView.CSS2Properties.grid_template_columns property
aspose.html.dom.css.IAbstractView.CSS2Properties.grid_template_rows property
aspose.html.dom.css.IAbstractView.CSS2Properties.grid_template_areas property