* test: add more unit-tests for `html` module
* refactor: remove html dependencies from `tauri-cli`
* feat: introduce `html-manipulation-2` feature
* Remove deprecation
* Use new feature flag
* Unroll `build` feature
* Introduce `build-2` feature
* Reduce diff
* Use `build-2` in more places
* Add docs
* Refactor `inject_script_hashes`
* Refactor `with_head`
* Rename serialize and parse functions
* Add changes file
* Remove unused function
* Update changelog
* Remove test
* Update wry
* Add todo comments
we don't have the git blame data in html2, better do it now or never
find it again
* refactor `with_head` to `ensure_head`
* Remove unused casts
* Avoid using format to construct html elements
which has the potential to get injected
* Feature gate `inline_isolation`
* Keep old prepends appends
* Fix `inline_isolation_replaces_src_with_content` test
* End meta tag
* Mirror test to old html module
* Use back to `append_html` for csp and link issue
* Try out dom query main branch
* Use nodes instead to avoid an extra clone
* Use wry 0.54.4 and dom_query 0.27
* Mark stability
* Remove `PatternObject`
---------
Co-authored-by: Tony <legendmastertony@gmail.com>
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
* chore(deps): Update cargo-mobile2 and toml crates
* remove toml from tauri-build cargotoml
* 0.22.3
* try a range
* json5 and changefile
* Revert "json5 and changefile"
This reverts commit eda416ba79.
* keep changefile
* refactor(cli): disable jsonschema resolving external resources
* Move `CONFIG_SCHEMA_VALIDATOR` to fn
* Format
* Update ureq to fix compile on linux
* New clippy warnings
* fix: Premultiply alpha before resizing
* feat: Use rayon for process speedup
* Fix change tag
* `cargo fmt`
* Document reasoning & use imageops::resize directly
---------
Co-authored-by: Tony <legendmastertony@gmail.com>
* feat(cli): detect Android env and install SDK and NDK if needed
changes the Android setup to be a bit more automated - looking up ANDROID_HOME and NDK_HOME from common system paths and installing the Android SDK and NDK if needed using the command line tools
* fix windows
* clippy
* lint
* add prmopts and ci check
* also check ANDROID_SDK_ROOT
currently deps are only installed on init, which might not be executed on someone's machine if the xcode project is commited to the repo. we need to ensure dependencies are installed before running them
applies https://github.com/tauri-apps/cargo-mobile2/pull/468
* fix: dont depend on private schemars api
* tauri-cli/deps: update kuchikiki and html5ever
tauri-utils/deps: update kuchikiki and html5ever
tauri-runtime-wry/deps: update wry to match kuchikiki and html5ever versions
* fix: specify exact patch version of schemars
Without this, cargo resolves the patch version of schemars to one that
does not include the _private module on which tauri-utils v1 depends,
which is a dependency of tauri-cli. As a result of this, the build breaks.
* tauri-utils/fix: inline tauri-utils v1 config module
* deps: upgrade and pin schemars 0.8.21 to pick up crate patch in Cargo.toml
* update tao, wry
* lint, license
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
* feat(cli): enhance iOS bundle version formatting
follow-up for #13030 and https://github.com/tauri-apps/cargo-mobile2/pull/450
the bundle version validation has been updated, now it can actually handle one or two integers (e.g. `100` or `10.7`) instead of just full triple semver strings (e.g. `10.7.1`).
* lint
* fix(cli): iOS dev broken on Xcode 16.3, closes#13128
Looks like we cannot use the arm64-sim custom architecture on Xcode 16.3, as it incorrectly appends the -sim suffix on some clang build scripts which ends up with an invalid target triple.
Currently we do not have automation to update Xcode/Android projects, so a manual intervention is required by our users, either recreating the project or modifying it manually (the arm64-sim arch must be removed and all its references).
ref https://github.com/tauri-apps/cargo-mobile2/pull/445
* fix dev on macOS with intel chip