tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.38k stars 2.58k forks source link

fix: parse json5 capability files when `config-json5` is enabled #11658

Closed Legend-Master closed 1 week ago

Legend-Master commented 1 week ago

Fix #11637

github-actions[bot] commented 1 week ago

Package Changes Through ea3dc0c359b7e7292b93d03ba3176c6895424dae

There are 4 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri with patch, tauri-utils with patch

Planned Package Versions The following package releases are the planned based on the context of changes in this pull request. | package | current | next | |----|----|----| | tauri-utils | 2.1.0 | 2.1.1 | tauri-bundler | 2.1.0 | 2.1.1 | tauri-runtime | 2.2.0 | 2.2.1 | tauri-runtime-wry | 2.2.0 | 2.2.1 | tauri-codegen | 2.0.3 | 2.0.4 | tauri-macros | 2.0.3 | 2.0.4 | tauri-plugin | 2.0.3 | 2.0.4 | tauri-build | 2.0.3 | 2.0.4 | tauri | 2.1.1 | 2.1.2 | @tauri-apps/cli | 2.1.0 | 2.1.1 | tauri-cli | 2.1.0 | 2.1.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

Legend-Master commented 1 week ago

Toml support should technically be enabled by config-toml feature, but it seems like we're using it for the permission and config files regardless the feature flag, changing it now is a breaking change so left that untouched

Also from the docs, it seems like we have stated that we only support toml for permission files while from the code, it seems like we actually support both json and toml?

image