Posted on August 11, 2021

JxBrowser 7.18 has been released! We’ve extended the API with new features, added important fixes and improvements. Read below for more details!

In this version we introduced several small breaking changes to the API. Check out the migration guide to find out what API have been changed.

What’s New

Apple Silicon (M1)

In JxBrowser 7.13 we announced support of the Macs with Apple Silicon (M1) in the Rosetta 2 emulation mode.

We are glad to let you know that now JxBrowser enables the native support of the Apple Silicon architecture! The library includes the Chromium binaries compiled for Apple M1 too.

Please see how to configure your Gradle or Maven project with the new dependency.

If you run JxBrowser with Java x64 (Intel) on macOS with Apple Silicon, then both Java and JxBrowser will be running in the Rosetta 2 emulation mode. Java 17 will be released in September 2021 with the Apple Silicon M1 (AArch64) support. Please use JxBrowser with Java 17 macOS/AArch64 if you don’t want to run your app in Rosetta 2.

Picture in Picture

Play the videos using the Picture in Picture feature on all supported platforms in both rendering modes. In this and further versions this feature is enabled by default.

Picture in Picture

Chromium

In this version we upgraded Chromium to version 91.0.4472.164 that includes 8 security fixes.

Enhancements

We figured out that the URL parameter is used by Chromium only to validate the given cookie and check its domain. We decided to modify this API to simplify it.

Now, you don’t have to pass the URL parameter and make sure that the URL and cookie’s domain are the same. Now, you can set a cookie using the following simple way:

cookieStore.set(Cookie.newBuilder()
        .name("cookieName")
        .value("cookieValue")
        .domain("google.com")
        .secure(true)
        .path("/")
        .build());

Fixed issues

  • Unable to scroll a PDF document displayed in an IFRAME on a web page on Windows and Linux in the off-screen rendering mode.
  • The native Chromium window is detached when JavaFX BrowserView is embedded into TabPane and Stage is restored after minimize on Linux in the hardware accelerated rendering mode.
  • Proxy authentication doesn’t work when the Incognito mode is enabled.
  • Drag and drop doesn’t work correctly if the main and child frames are from the different domains in the off-screen rendering mode.

Get Free 30-day Trial
Download JxBrowser 7.18

Go Top