Skip to content

fix: suppress deprecated warning in tray icon codegen - #13093

Merged
Legend-Master merged 1 commit into
tauri-apps:devfrom
Legend-Master:allow-deprecated-tray-icon-in-codegen
Mar 31, 2025
Merged

fix: suppress deprecated warning in tray icon codegen#13093
Legend-Master merged 1 commit into
tauri-apps:devfrom
Legend-Master:allow-deprecated-tray-icon-in-codegen

Conversation

@Legend-Master

Copy link
Copy Markdown
Contributor

Fix #12382

@Legend-Master
Legend-Master requested a review from a team as a code owner March 29, 2025 05:59
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through bd8ab7d

There are 4 changes which include @tauri-apps/api with patch, tauri-bundler with patch, tauri with minor, tauri-utils with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.4.0 2.4.1
tauri-utils 2.3.0 2.4.0
tauri-bundler 2.3.0 2.3.1
tauri-runtime 2.5.0 2.5.1
tauri-runtime-wry 2.5.0 2.5.1
tauri-codegen 2.1.0 2.1.1
tauri-macros 2.1.0 2.1.1
tauri-plugin 2.1.0 2.1.1
tauri-build 2.1.0 2.1.1
tauri 2.4.0 2.5.0
@tauri-apps/cli 2.4.0 2.4.1
tauri-cli 2.4.0 2.4.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Simon-Laux

Copy link
Copy Markdown
Contributor

what is the reason for suppressing the warning instead of making it use the new api?

@Legend-Master

Legend-Master commented Mar 29, 2025

Copy link
Copy Markdown
Contributor Author

We need to maintain compatibility so we can't remove this field yet while generated code from codegen will have to inevitably set that field to complete the struct

@Legend-Master
Legend-Master merged commit 4ae14bf into tauri-apps:dev Mar 31, 2025
@Legend-Master
Legend-Master deleted the allow-deprecated-tray-icon-in-codegen branch March 31, 2025 01:54
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants