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.
Apple Silicon (M1)
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.
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
In this version we upgraded Chromium to version 91.0.4472.164 that includes 8 security fixes.
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());
- Unable to scroll a PDF document displayed in an
IFRAMEon a web page on Windows and Linux in the off-screen rendering mode.
- The native Chromium window is detached when JavaFX
BrowserViewis embedded into
Stageis 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.
Subscribe to @JxBrowserTeam on Twitter to get notified of the library updates.