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

[enhancement] 在实验型分支升级目前使用的 tauri 版本到 2.x beta,方便后续的升级改造工作。 #760

Open
2 tasks done
jeasonnow opened this issue Jul 29, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jeasonnow
Copy link
Collaborator

Search before asking

  • 我在 issues 列表中搜索,没有找到类似的内容。
    I searched in the issues and found nothing similar.

Motivation

升级 Tauri 从 1.x 到 2.x 的动机

1. 支持未来的跨平台应用需求

  • 动机: 确保应用程序具备未来跨平台兼容性的能力,能够在不同操作系统上无缝运行。

2. 支持更多有用的配置选项(如应用代理支持)

  • 动机: 利用 Tauri 2.x 提供的新功能和配置选项,增强应用程序的功能性和灵活性,例如增加应用代理支持。

3. 为后续大版本升级提供更平滑的过渡

  • 动机: 通过当前的升级过程,为未来的大版本更新奠定基础,使其更加顺利和无缝,减少潜在的中断和兼容性问题。

Motives for Upgrading Tauri from 1.x to 2.x

1. Support Future Cross-Platform Application Needs

  • Motive: Ensure the application can seamlessly run on various operating systems, preparing it for future cross-platform compatibility requirements.

2. Support More Useful Configuration Options (e.g., Application Proxy Support)

  • Motive: Leverage new features and configuration options available in Tauri 2.x to enhance the application's functionality and flexibility, such as adding application proxy support.

3. Provide a Smoother Transition for Future Major Upgrades

  • Motive: Establish a foundation for future major updates, making the upgrade process smoother and minimizing potential disruptions and compatibility issues.

Solution

https://v2.tauri.app/start/migrate/from-tauri-1/

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@jeasonnow jeasonnow added the enhancement New feature or request label Jul 29, 2024
@jeasonnow jeasonnow self-assigned this Jul 29, 2024
@jeasonnow jeasonnow changed the title [feature] 在实验型分支升级目前使用的 tauri 版本到 2.x beta,方便后续的升级改造工作。 [enhancement] 在实验型分支升级目前使用的 tauri 版本到 2.x beta,方便后续的升级改造工作。 Jul 30, 2024
@jeasonnow
Copy link
Collaborator Author

@tw93
Copy link
Owner

tw93 commented Jul 30, 2024

赞 我感觉差不多到时间点了,趁着这个我们来做些升级以及新特性

@jeasonnow
Copy link
Collaborator Author

jeasonnow commented Jul 30, 2024

赞 我感觉差不多到时间点了,趁着这个我们来做些升级以及新特性

我这个分支已经做完了大体的迁移和升级工作,目前使用之前的配置可以正常打包 app,但是还需要观察一下,目前增加了一个 proxyoption,可以试试看。

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

No branches or pull requests

2 participants