跳转到内容
Tauri

Webview Versions

此内容尚不支持你的语言。

WebView2 (Windows)

Tauri uses WebView2 which is based on Microsoft Edge and therefore Chromium. WebView2 can update itself, you are guaranteed a relatively recent chromium build on all Windows targets.

WebView2 is supported on Windows 7 and newer and comes preinstalled on Windows 11. On versions older than Windows 11 the installer generated by Tauri takes care of ensuring WebView2 is installed on the system.

WebKit (macOS, iOS, & Linux)

Tauri uses WebKit on macOS (through WKWebView) and Linux (through webkit2gtk).

Interpreting WebKit Version Numbers

Webkit version numbers are quite complicated, so below is some helpful information to understand them.

WebKit version numbers are made up of 5 segments and a numeric prefix indicating which OS WebKit is built for:

$(SYSTEM_VERSION_PREFIX)$(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION)

The numeric prefix is called the SYSTEM_VERSION_PREFIX and seems to be only present for macOS and iOS builds (not for Linux). Furthermore, if the last two segments are both 0 they can be omitted (so a version like 613.2.7.0.0 would be referred to as 613.2.7).

As an example, the WebKit version shipped with Safari 15.5 on macOS Monterey (12.x) has the version number 17613.2.7.1.8. You can interpret it like this:

  • SYSTEM_VERSION_PREFIX: 17
  • MAJOR_VERSION: 613
  • MINOR_VERSION: 2
  • TINY_VERSION: 7
  • MICRO_VERSION: 1
  • NANO_VERSION: 8

Here is what the SYSTEM_VERSION_PREFIX values map to:

macOS versionSYSTEM_VERSION_PREFIX
sdk=iphone*8
14.019
13.018
12.017
11.016
10.1515
10.1414
10.1313
10.1212
10.1111

macOS & iOS

On macOS, Tauri uses the webview that comes preinstalled with macOS since version 10.10 (Yosemite). It is considered a core component and is therefore updated with the regular OS updates. This means unsupported macOS versions do not receive WebKit updates.

To find the WebKit version used by WKWebView on your version of macOS you can use this command in the terminal:

Terminal window
awk '/CFBundleVersion/{getline;gsub(/<[^>]*>/,"");print}' /System/Library/Frameworks/WebKit.framework/Resources/Info.plist

WebKit Versions in Safari

The table below maps an OS version to the corresponding WebKit Safari versions so that you can use sites like caniuse to figure out if a specific web platform feature is supported.

OS NameOS VersionWebKit VersionSafari VersionNotes
Sonoma14.0 (Beta)616.1.14.11.1117.0Verified on a 2023 M2 14” MacBook Pro
Ventura13.4.1615.2.9.11.716.5.1Verified on a 2023 M2 14” MacBook Pro
13.3.1615.1.26.11.23Verified on a 2023 M2 14” MacBook Pro
13.3615.1.26.11.2216.4Verified on a 2023 M2 14” MacBook Pro
13.2.1614.4.6.1.6
13.2?16.3
13.1614.3.7.1.516.2Verified on a 2020 M1 13” MacBook Pro
13.0.1Verified on a 2020 M1 13” MacBook Pro
13.0614.2.9.1.1216.1Verified on a 2020 M1 13” MacBook Pro
Monterey12.6Verified on a 2020 M1 13” MacBook Pro
12.5.1613.3.9.1.1615.6.1Verified on a 2020 M1 13” MacBook Pro
12.5613.3.9.1.515.6Verified on a 2020 M1 13” MacBook Pro
12.4613.2.7.1.815.5Verified on a 2020 M1 13” MacBook Pro
12.3.1613.1.17.1.13
12.3613.1.17.1.615.4
12.2.1612.4.9.1.8
12.2612.4.9.1.515.3
12.1.1
12.1612.3.6.1.615.2
12.0.1612.2.9.1.2015.1
12.0612.1.29.41.415.0
Big Sur11.6.7
11.6.6
11.6.5
11.6.2
11.6.1
11.6
11.5.2611.3.10.1.6
11.5.1
11.5611.3.10.1.314.1.2
11.4611.2.7.1.414.1.1
11.3.1
11.3611.1.21.161.314.124” M1 iMac received a special WebKit version 611.1.21.1.12
11.2.3610.4.3.1.7
11.2.2
11.2.1
11.2610.4.3.1.414.0.3
11.1610.3.7.1.914.0.2
11.0.1610.2.11.51.8
11.0610.2.11.1.314.0.1Safari 14.0 was only ever available on iPhones
Catalina10.15.7 Security Update 2022-004609.4.1.1.1
10.15.7609.4.113.1.3
10.15.6609.3.5.1.313.1.2
10.15.5609.2.9.1.213.1.1
10.15.4609.1.20.111.813.1
10.15.3608.5.1113.0.5
10.15.2608.4.9.1.313.0.4
10.15.1608.3.10.1.413.0.3Verified on a 2014 15” MacBook Pro
10.15608.2.30.1.113.0.2
Mojave10.14.6608.1.4913.0
10.14.4607.1.40.1.512.1
10.14.3606.4.512.0.3
10.14.2606.3.412.0.2
10.14.1606.2.104.1.112.0.1
10.14606.2.1112.0
High Sierra10.13.6605.3.811.1.2
10.13.5605.2.811.1.1
10.13.4 Security Update 2018-001605.1.33.1.411.1
10.13.4605.1.33.1.211.1
10.13.3604.5.611.0.3
10.13.2 Supplemental Update604.4.7.1.611.0.227” iMac Pro received a special WebKit version 604.4.7.10.6
10.13.2604.4.7.1.311.0.227” iMac Pro received a special WebKit version 604.4.7.10.4
10.13.1604.3.511.0.1
10.13604.1.38.1.611.0

Linux

The diverse nature of the Linux ecosystem means it is very hard to compile accurate information about WebKitGTK on the various distros. The table below is a very incomplete list of the most commonly used distributions and their WebKit versions. You should always check your distro’s repositories for up-to-date information.

Distrowebkitgtk VersionWebKit VersionSafari Equivalent
Debian 11 (with update), Ubuntu 20.04 (with update), Ubuntu 22.042.36614.1.6TP 140 (16.0)
Debian 10 (with update)2.34613.1.115.4
Debian 11, Ubuntu 18.04 (with update), centos 8 (non-stream)2.32612.1.615.0
Ubuntu 20.042.28610.1.114.0
Debian 9 (with backport), Debian 102.24608.1.613.0
Ubuntu 18.042.20606.1.412.0

© 2024 Tauri Contributors. CC-BY / MIT