From 24c2e749107be140ba1ccf2ec8d321c8ab7ad0e7 Mon Sep 17 00:00:00 2001 From: Wu Yu Wei Date: Fri, 3 Feb 2023 20:50:40 +0800 Subject: [PATCH 1/3] Add version 2 alpha 3 release post --- blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx | 40 ++++++++++++++++++++++++ blog/authors.yml | 6 ++++ 2 files changed, 46 insertions(+) create mode 100644 blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx diff --git a/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx new file mode 100644 index 0000000000..61f6a4bc40 --- /dev/null +++ b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx @@ -0,0 +1,40 @@ +--- +authors: [wusyong] +description: New v2.0 alpha released! New backend for Linux port! +--- + +# Migration to `webkit2gtk-4.1` on Linux port! + +Hello everybody! We just release another alpha version lately. While it doesn't bring any major features, it does bring some huge impact on Linux port. +We will use [WebKit2GTK–4.1](https://webkitgtk.org/reference/webkit2gtk/stable/index.html) in 2.0 from now on. + + + +## What does this mean? + +If you are using Tauri version 1.x, there's nothing to worry about. Everything you need is still the same. +But if you are using Tauri version 2.0 alpha version starting from `alpha.3`, you will need to install new WebKit2GTK package with API version 4.1. +We will update Prerequisites in our site soon. But if you want to know how to install such version, here are some instructions from [wry](https://github.com/tauri-apps/wry#linux): + +```bash +# On Arch Linux / Manjaro: +sudo pacman -S webkit2gtk-4.1 +# On Debian / Ubuntu: +sudo apt install libwebkit2gtk-4.1-dev +# On Fedora: +sudo dnf install webkit2gtk4.1-devel +``` + +## Will this bring breaking changes to my code? + +The main difference between version 4.0 and 4.1 are the soup library they use 4.0 uses soup2 and 4.1 uses soup3. +So if you didn't use any soup2 specific APIs, you applications should be fine. + +The reason we want to make this change is because we aim to add flatpak support, but the WebKitGTK [Gnome runtime](https://docs.flatpak.org/en/latest/available-runtimes.html#gnome) uses is webkit2gtk-4.1. +There are also some subtle bugs like [this](https://github.com/tauri-apps/wry/issues/717) only happen in soup2 and they can be fixed by upgrading to soup3. + +## What else breaking changes we are going to expect? + +The major one will be the MSRV. With Tauri v2.0-alpha.3 released, its MSRV is bumped to 1.64. We are also going to update windows-rs in the future. +But this rust version should satisfy latest version of windows-rs unless there is a newer version coming out. +We do plan to update our MSRV with minor release after 2.0. This could ease the tension to stick to any fixed rust version while updating dependencies. diff --git a/blog/authors.yml b/blog/authors.yml index 9fbd302277..6d76db1026 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -21,3 +21,9 @@ lucasfernog: title: Tauri Cofounder url: https://github.com/lucasfernog image_url: ./author_images/lucasfernog.jpg + +wusyong: + name: Wu Yu Wei + title: Tauwi dewewoper UwU + url: https://github.com/wusyong + image_url: https://pbs.twimg.com/profile_images/1600685503820419072/dNc2PpN3_400x400.jpg \ No newline at end of file From 7ce3858d50ba5c06da528df816b500504da5a85f Mon Sep 17 00:00:00 2001 From: Wu Yu Wei Date: Fri, 3 Feb 2023 21:09:55 +0800 Subject: [PATCH 2/3] Fix typo --- blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx | 24 ++++++++++++------------ blog/authors.yml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx index 61f6a4bc40..ca6bffb316 100644 --- a/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx +++ b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx @@ -1,11 +1,11 @@ --- authors: [wusyong] -description: New v2.0 alpha released! New backend for Linux port! +description: New v2.0 alpha released and new backend for Linux port --- # Migration to `webkit2gtk-4.1` on Linux port! -Hello everybody! We just release another alpha version lately. While it doesn't bring any major features, it does bring some huge impact on Linux port. +Hello everybody! We just released another alpha version recently. While it doesn't bring any major feature, it does bring some huge impacts on Linux port. We will use [WebKit2GTK–4.1](https://webkitgtk.org/reference/webkit2gtk/stable/index.html) in 2.0 from now on. @@ -13,8 +13,8 @@ We will use [WebKit2GTK–4.1](https://webkitgtk.org/reference/webkit2gtk/stable ## What does this mean? If you are using Tauri version 1.x, there's nothing to worry about. Everything you need is still the same. -But if you are using Tauri version 2.0 alpha version starting from `alpha.3`, you will need to install new WebKit2GTK package with API version 4.1. -We will update Prerequisites in our site soon. But if you want to know how to install such version, here are some instructions from [wry](https://github.com/tauri-apps/wry#linux): +But if you are using Tauri version 2.0 alpha version starting from `alpha.3`, you will need to install the new WebKit2GTK package with API version 4.1. +We will update the prerequisites in our site soon. But if you want to know how to install such version, here are some instructions from [wry](https://github.com/tauri-apps/wry#linux): ```bash # On Arch Linux / Manjaro: @@ -27,14 +27,14 @@ sudo dnf install webkit2gtk4.1-devel ## Will this bring breaking changes to my code? -The main difference between version 4.0 and 4.1 are the soup library they use 4.0 uses soup2 and 4.1 uses soup3. -So if you didn't use any soup2 specific APIs, you applications should be fine. +The main difference between version 4.0 and 4.1 are the soup library. WebKit2GTK-4.0 uses soup2 and WebKit2GTK-4.1 uses soup3. +So if you didn't use any soup2-specific APIs, your applications should continue to work fine. -The reason we want to make this change is because we aim to add flatpak support, but the WebKitGTK [Gnome runtime](https://docs.flatpak.org/en/latest/available-runtimes.html#gnome) uses is webkit2gtk-4.1. -There are also some subtle bugs like [this](https://github.com/tauri-apps/wry/issues/717) only happen in soup2 and they can be fixed by upgrading to soup3. +The reason behind this change is because we aim to add flatpak support, but [Gnome runtime](https://docs.flatpak.org/en/latest/available-runtimes.html#gnome) uses webkit2gtk-4.1. +There are also some subtle bugs like [this](https://github.com/tauri-apps/wry/issues/717) that only happen in soup2 and they can be fixed by upgrading to soup3. -## What else breaking changes we are going to expect? +## What other breaking changes we are going to expect? -The major one will be the MSRV. With Tauri v2.0-alpha.3 released, its MSRV is bumped to 1.64. We are also going to update windows-rs in the future. -But this rust version should satisfy latest version of windows-rs unless there is a newer version coming out. -We do plan to update our MSRV with minor release after 2.0. This could ease the tension to stick to any fixed rust version while updating dependencies. +The major one will be the MSRV. With Tauri v2.0-alpha.3 released, MSRV is bumped to 1.64. We will also update windows-rs in the future. +This Rust version should satisfy the latest version of windows-rs. +We do plan to update our MSRV with minor releases after 2.0. This could ease the friction to stick to any fixed Rust version while updating dependencies. diff --git a/blog/authors.yml b/blog/authors.yml index 6d76db1026..017f7748f0 100644 --- a/blog/authors.yml +++ b/blog/authors.yml @@ -24,6 +24,6 @@ lucasfernog: wusyong: name: Wu Yu Wei - title: Tauwi dewewoper UwU + title: Tauri Core url: https://github.com/wusyong image_url: https://pbs.twimg.com/profile_images/1600685503820419072/dNc2PpN3_400x400.jpg \ No newline at end of file From cdd953fe3fd44307f2449eb8e443866a63ea9fa0 Mon Sep 17 00:00:00 2001 From: Wu Yu Wei Date: Fri, 3 Feb 2023 21:16:01 +0800 Subject: [PATCH 3/3] Mention exact version --- blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx index ca6bffb316..cf575efcb8 100644 --- a/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx +++ b/blog/2023-02-03-tauri-2-0-0-alpha-3 .mdx @@ -3,9 +3,9 @@ authors: [wusyong] description: New v2.0 alpha released and new backend for Linux port --- -# Migration to `webkit2gtk-4.1` on Linux port! +# Migration to `webkit2gtk-4.1` on Linux port -Hello everybody! We just released another alpha version recently. While it doesn't bring any major feature, it does bring some huge impacts on Linux port. +Hello everybody! We just released [Tauri v2.0.0-alpha3](https://github.com/tauri-apps/tauri/releases/tag/tauri-v2.0.0-alpha.3) recently. While it doesn't bring any major feature, it does bring some huge impacts on Linux port. We will use [WebKit2GTK–4.1](https://webkitgtk.org/reference/webkit2gtk/stable/index.html) in 2.0 from now on. @@ -35,6 +35,6 @@ There are also some subtle bugs like [this](https://github.com/tauri-apps/wry/is ## What other breaking changes we are going to expect? -The major one will be the MSRV. With Tauri v2.0-alpha.3 released, MSRV is bumped to 1.64. We will also update windows-rs in the future. +The major one will be the MSRV. With Tauri v2.0.0-alpha.3 released, MSRV is bumped to 1.64. We will also update windows-rs in the future. This Rust version should satisfy the latest version of windows-rs. We do plan to update our MSRV with minor releases after 2.0. This could ease the friction to stick to any fixed Rust version while updating dependencies.