I upgraded the app I am currently working on from tauri 1.7 to 2.0 by following the guide from here: <a href="https://v2.tauri.app/start/migrate/from-tauri-1/" rel="nofollow">https://v2.tauri.app/start/migrate/from-tauri-1/</a><p>After running the migrate tool (via `bun run tauri migrate`) at the end of the guide, I needed to do the following things to get complete it migration.<p>- the migrate tool ran rust format on my backend code - which I was not using at that point
- and it changed my preferred to 2 spaces to 4, so I joined the rustfmt bandwagon and created a config file with my preferred settings<p>- run `cargo update` to get the new package versions<p>- modify `tauri.conf.json` as the structure changed, eg. `fileDropEnabled` -> `dragDropEnabled`<p>- change some imports, as the functions from client api were moved, this was straightforward<p>- add the plugins `updater` and `dialog` as that functionality has moved from the core to plugins<p>- change the code that handles the auto-updating, as the api changed as well, but for the better<p>- the only thing that tripped me up, was that re-building the project didnt't work due to an colliding filename error, but I found a closed issue at their <a href="https://github.com/tauri-apps/tauri/issues/10192">https://github.com/tauri-apps/tauri/issues/10192</a> which pointed me towards removing `rlib` from the crate-type, which solved that issue.<p>All in all quite a smooth experience, was done in an 1-2 hours or something, not sure.