2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
Posted on May 22, 2024
DotNetBrowser 2.27.0
Chromium upgraded to 124.0.6367.221
We upgraded Chromium to a newer version, which introduces security fixes for vulnerabilities that have known exploits:
- CVE-2024-4761: Out of bounds write in V8
- CVE-2024-4947: Type Confusion in V8
- CVE-2024-4671: Use after free in Visuals
For the complete list of Chromium fixes and improvements in 124.0.6367.221
please visit the product blog posts for the following versions:
Breaking changes
In this version, we have removed the Scaling.FitToPage
and Scaling.FitToPaper
fields. These options are only useful when printing a PDF file with a system printer. When printing an HTML page or using the built-in PDF printer, the methods were no-op, confusing developers.
Instead, we introduce a new IFit.Fit
property, which is available only for printing PDF files with system printers.
Here is how the PrintPdfContentHandler
might look like before:
browser.PrintPdfContentHandler =
new Handler<PrintPdfContentParameters, PrintPdfContentResponse>(p =>
{
var printer = p.Printers.Default;
var settings = printer.PrintJob.Settings;
settings.Scaling = Scaling.FitToPage;
// ...
return PrintPdfContentResponse.Print(printer);
});
Here is how PrintPdfContentHandler
works in DotNetBrowser 2.27.0:
browser.PrintPdfContentHandler =
new Handler<PrintPdfContentParameters, PrintPdfContentResponse>(p =>
{
var printer = p.Printers.Default;
var settings = printer.PrintJob.Settings;
settings.Fit = Fit.ToPage;
// ...
return PrintPdfContentResponse.Print(printer);
});
Quality enhancements
- The redundant option causing Chromium crash was removed from autofill suggestions drop-down for credit cards;
- The focus handling was improved for WPF and Windows Forms
BrowserView
s embedded into a native window.
Download DotNetBrowser 2.27.0 (.NET Framework)
Download DotNetBrowser 2.27.0 (.NET Core)
Download DotNetBrowser 2.27.0 (Cross-platform)
Follow @DotNetBrowser to get notified of the library updates.
Subscribe to our RSS feed to get instant updates on new releases.