Skip to content

fix(tauri-build): add Attributes::config_path - #15306

Merged
Legend-Master merged 14 commits into
tauri-apps:devfrom
Kokoro2336:fix/config-path
Jul 23, 2026
Merged

fix(tauri-build): add Attributes::config_path#15306
Legend-Master merged 14 commits into
tauri-apps:devfrom
Kokoro2336:fix/config-path

Conversation

@Kokoro2336

@Kokoro2336 Kokoro2336 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Fixes #14229

Fixing config path customization in try_build()

@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through eb3c4f0

There are 14 changes which include tauri with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-build with minor, tauri-bundler with minor, tauri-macos-sign with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-driver with minor, @tauri-apps/api 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.11.1 2.12.0
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.12.0
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

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


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

@Kokoro2336
Kokoro2336 marked this pull request as ready for review May 2, 2026 08:17
@Kokoro2336
Kokoro2336 requested a review from a team as a code owner May 2, 2026 08:17
@Kokoro2336

Kokoro2336 commented May 2, 2026

Copy link
Copy Markdown
Contributor Author

This PR introduces a breaking change in Attributes and CodegenContext, which adds extra field config_path in Attributes for the convenience of customizing config_path under non-codegen-feature mode. To protect a single source of truth, I suggest deprecating CodegenContext::config_path() and hoist the API to Attributes.

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@Legend-Master Legend-Master changed the title fix: config path customization. fix(tauri-build): add Attributes::config_path Jul 23, 2026
@Legend-Master
Legend-Master merged commit 4e36f67 into tauri-apps:dev Jul 23, 2026
23 checks passed
@Kokoro2336
Kokoro2336 deleted the fix/config-path branch July 23, 2026 09:59
sijie-Z added a commit to sijie-Z/tauri that referenced this pull request Jul 24, 2026
* fix: customized config path.

* fix: add customized path in Attributes.

* chore: add change file.

* chore: update docs.

* fix: deprecate config_path in CodegenContext.

* fix: revert config_path in CodegenContext.

* Small refactors

* 2.12 now

* clippy

* crate instead of package

* proper change file

---------

Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
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.

[feat] specify custom tauri.conf.json path when using tauri_build::try_build

2 participants