Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to Tauri v2 #412

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Upgrading to Tauri v2 #412

wants to merge 1 commit into from

Conversation

bengaywins
Copy link

Description

This updates Tauri to v2 and updates Rust version from 1.61 to 1.71 because the clipboard manager plugin requires that at minimum. Most other changes are from the migration wizard with the exception of some of the changes to main.rs in relation to the context.

In the near future, like after some multiple versions that this has been out for, the tauri.config.json should be updated so that the createUpdaterArtifacts parameter should no longer be set to v1Compatible and instead be set to true. This is currently a warning due to v1 being deprecated with removal in v3.

This is my first rust project and I am really just an ops guy trying to contribute. Let me know if there's anything I should change!

Fixes #398

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link

github-actions bot commented Jan 28, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@bengaywins
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@bengaywins
Copy link
Author

recheck

ajbura added a commit to cinnyapp/cla that referenced this pull request Jan 28, 2025
@bengaywins bengaywins changed the title Upgrading to tauri v2 Upgrading to Tauri v2 Jan 28, 2025
@Neved4
Copy link

Neved4 commented Jan 28, 2025

Thx a lot 🎉 Looking great!

On the macOS side, menu.rs is failing. This is caused from the deprecation of some elements:

Menu, MenuEvent, CustomMenuItem, Submenu, WindowMenuEvent, MenuItem and Builder::on_menu_event APIs removed.

To address these we should rewrite it following the Migrate to Menu Module guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use tauri v2
2 participants