Contents

Posted on

DotNetBrowser 4.5.1

.NET 11 support 

DotNetBrowser now fully supports .NET 11.

Linux Chromium directory 

On Linux, DotNetBrowser now extracts Chromium binaries to a private per-user directory. This prevents another local user from placing binaries in the shared default temporary directory for a DotNetBrowser application to run.

The default location has changed from /tmp/dotnetbrowser-chromium to ~/.local/share/.DotNetBrowser/chromium. The binaries are extracted again on the first start after the update. The old directory is not removed.

Service or container accounts without a usable absolute home directory must set EngineOptions.ChromiumDirectory to a private directory. Engine creation can also fail if the default path has unsafe ownership or permissions. In that case, set ChromiumDirectory to a private directory. See the Engine guide for configuration details.

Chromium 158.0.8127.108 

We upgraded Chromium to a newer version, which introduces 230 security fixes. Among them:

See the Chromium release announcements for more details.

Quality enhancements 

  • DirectComposition is now enabled by default on Windows.
  • License errors now report where the key was found or which locations were checked.
  • Fixed cases where a hardware-accelerated Avalonia view on Linux did not report focus loss or accept keyboard input after switching applications.
  • Screen sharing requests no longer block later requests after a handler failure, a reload with the source-selection dialog open, or an attempt to show the dialog without a browser view.
  • Screen and window capture sessions now report when sharing ends outside the application. Stopped sessions are removed from the session collection, and stopping an ended session no longer crashes the browser.
  • Capture sessions started through the standard source-selection dialog are now reported to the application.
  • On Linux with Wayland, a screen or window capture session selected by a handler now starts after the user chooses a source in the system dialog.
  • Loading a page or closing a browser after accessing thousands of DOM nodes is now faster.
  • JavaScript can now read and write elements of one-dimensional .NET arrays and convert them to JavaScript arrays or sets. Byte arrays continue to use ToJsArrayBuffer().
  • Fixed JavaScript conversion helpers for .NET value types in Native AOT. Promises created from async Task methods now resolve with null.
  • A JavaScript name conversion handler no longer breaks calls to .NET delegates or JavaScript promise callbacks.
  • JavaScript can now pass numbers and null to nullable numeric .NET types. Conversion helpers are also available for iterator results and collection types derived from .NET collections. Calls to overloaded methods can now select a nullable numeric overload that was previously unreachable.
  • AudioDataCapturedEventArgs.Timestamp now advances by the buffer duration for continuous audio data, avoiding shorter timestamp steps when no samples are lost.
  • In the off-screen rendering mode, the first click into a PDF shown in an <iframe> now focuses the PDF viewer frame, so keyboard input goes to the viewer.

SBOM 

This section provides the Software Bill of Materials (SBOM) for DotNetBrowser 4.5.1 in CycloneDX format. The file lists the following software components:

  • the third-party libraries used by DotNetBrowser,
  • the Chromium build used by DotNetBrowser,
  • the third-party components DotNetBrowser inherits from Chromium.
Download SBOM for DotNetBrowser 4.5.1

Download DotNetBrowser 4.5.1

Please share your email with us, and we'll send you download instructions.

We couldn’t deliver a message. Please make sure the email address is correct.
Sending…
EmailBox Please check your inbox.

We were unable to send the email. Please try again.

If you are a registered customer you don’t need to do anything to use this update.

If you would like to evaluate the product, you need an evaluation license.

Get free 30-day trial