mirror of
https://github.com/tauri-apps/cargo-mobile2.git
synced 2026-01-31 00:35:21 +01:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
34 KiB
34 KiB
Changelog
[0.22.2]
[0.22.1]
3a85ff8Addedandroid::device::ConnectionStatus::Authorizingand made the enum non_exhaustive.c2e2f6cAdd missing timeout onadb shellusage.
[0.22.0]
bac9260(#495 by @lucasfernog) Addedandroid::adb::device_list::Errorvariants now include the serial number of the device that caused the error.bac9260(#495 by @lucasfernog) Addedandroid::adb::device_listnow returns disconnected devices. Check withandroid::Device::status.bac9260(#495 by @lucasfernog) Addedandroid::Device::start_detached_with_options.
[0.21.2]
eba8283(#493 by @lucasfernog) Prevent adb device list from getting stuck if any of the available devices are not properly connected.
[0.21.1]
1f95eba(#491 by @lucasfernog) Fix build with iOS 26 SDK on macOS with Intel chip.
[0.21.0]
3b23d9c(#485 by @lucasfernog) Add more context to IO errors.3c49271(#489 by @lucasfernog) Enhance opening Xcode by querying the selected Xcode path withxcode-select -p.
[0.20.7]
68771b0(#483 by @lucasfernog) Ignore errors when checking outdated dependencies withgemandbrew.
[0.20.6]
2da2b57(#481 by @lucasfernog) Fix emptyDevice::namewhen using an Android emulator.
[0.20.5]
60cf1ea(#479 by @lucasfernog) Fix build and archive not working on Apple Intel systems when targeting the simulator.
[0.20.4]
c942e7d(#474 by @FabianLars) Allow running on simulators that have a higher version than the XCode SDK. This fixes compatiblity issues with Apple's recent"iOS 18.5 + iOS 18.6 Simulator"platform support component.
[0.20.3]
a5febb9Addedapple::device::Device::is_paired.
[0.20.2]
5fc06d1(#468 by @lucasfernog) Ensure iOS dependencies ios-deploy and libimobiledevice are installed before running the app.
[0.20.1]
fa0c2ac(#463 by @NiklasEi) Fixed and updated Bevy templates to usebevyversion0.16.1a6b8ac(#438 by @renovate) Updatedwindowscrate to version0.61.
[0.20.0]
fcd6fcf(#453 by @lucasfernog) Check if iOS Simulator SDK is installed before building for Simulator.fcd6fcf(#453 by @lucasfernog) Add OS version to iOS Simulator prompt.fcd6fcf(#453 by @lucasfernog) Added the target device parameter toTarget::buildso it can properly build for Simulator with older OS versions.
[0.19.0]
bbbbdf7(#450 by @lucasfernog) Fixed apple bundle version string validation. Removed theVersionNumbertype.
[0.18.1]
44a5dd6(#448 by @lucasfernog) Fix regression on development on macOS with Intel chip.
[0.18.0]
0ee7015(#445 by @lucasfernog) Removearm64-simarchitecture which can no longer work on Xcode 16.3
[0.17.6]
9c83da3(#443 by @jfahrenkrug) Fix devicectl device list parsing when device's tunnelState is "unavailable".
[0.17.5]
c6e6474(#435 by @FabianLars) Addrust-versionfield in Cargo.toml. The actual MSRV remains unchanged (1.76).
[0.17.4]
c4d420f(#414 by @amrbashir) Fixandroid::emulator::avd_listfunction interpreting log lines fromemulator -list-avdas validEmulatorb4d615f(#404 by @jmetz) Remove deprecated options from gradle file in the generated android template.
[0.17.3]
1ec0ca5(#395 by @amrbashir) Fix deserializing targets from.cargo/config.tomlif the target'srustflagsfield is not specifiede66010f(#398 by @lucasfernog) Removed name and lib name validation as they are not used as the package identifier anymore.
[0.17.2]
cdb6ed3(#388 by @lucasfernog) Only display logs from the actual iOS application unless pedantic verbosity is requested.cdb6ed3(#388 by @lucasfernog) Always use verbose logging when building the app on iOS (Target::build) to display cargo build output.
[0.17.1]
ce80447(#380 by @lucasfernog) The Rust flags for Android builds no longer need to search the .cargo folder for libraries.
[0.17.0]
64d3e6f(#383 by @lucasfernog) Added anArchiveConfigparameter toapple::Target::archive.64d3e6f(#383 by @lucasfernog) Allow skipping code signing onApple::Targetbuildandarchivemethods, which fixes an issue in CI where automatic signing only works on the first execution, and following runs errors withRevoke certificate: Your account already has a signing certificate for this machine but it is not present in your keychain.
[0.16.0]
e289dd9(#381 by @lucasfernog) Added aBuildConfigargument to theTarget::buildiOS method to allow provisioning updates.e289dd9(#381 by @lucasfernog) MoveAuthCredentialstocargo_mobile2::apple.
[0.15.1]
c92d72f(#377 by @lucasfernog) Addedapple::Config::development_teamgetter.
[0.15.0]
da40535(#375 by @amrbashir) The app identifier must now be provided in reverse order (e.g.dev.tauri.appinstead ofapp.tauri.dev). RemovedApp::reverse_identifierand AddedApp::identifier.
[0.14.0]
d0e9e58(#371 by @lucasfernog) Added aExportConfigargument to theTarget::exportiOS method to allow provisioning updates.
[0.13.5]
f09a6daAllow hyphens on iOS identifiers and underscores on Android identifiers.
[0.13.4]
f5548f7(#362 by @lucasfernog) AddedConfig::set_export_options_plist_pathto define a custom ExportOptions.plist to use.b1e407c(#359 by @amrbashir) Updatewindowscrate to0.58
[0.13.3]
b1c2313(#353 by @mrguiman) Do not include the target arch when building and archiving the iOS application.
[0.13.2]
48c7f8eAddedandroid::Device::serial_nogetter.
[0.13.1]
71d648fUpdate handlebars to v6.
[0.13.0]
aad5655(#354 by @lucasfernog) Exposeapple::Device::kind.aad5655(#354 by @lucasfernog) Changed theandroid::adb::adbfunction to be generic.
[0.12.2]
[0.12.1]
[0.12.0]
-
29921ff(#330) Useconfig.identifieras the package name in Android and bundle ID in iOS.BREAKING CHANGE:
- In
Config, renamed fielddomaintoidentifier. - In
App, renamed methodreverse_domaintoreverse_identifier.
- In
[0.11.1]
cb4ed53(#300) Fix.gitignoregenerated with wrong formatting.ad41fe2(#296) Generate.cargo/config.tomlwith paths wrapped in quote.
[0.11.0]
b370b38(#285) Fix a bug in checking for package presence when initiating an ios project0c91351(#292) Removeopenssland usex509-certificateinstead.1567a7a(#288) Updatewindowscrate to0.54
[0.10.4]
7a1066c(#283) Useadb install -rto try replacing the android application while installing it on the device. This elimnates the need to uninstall the application from a previous run when using a real device.5a84ab2(#281) Updatewrytemplate towry@0.37
[0.10.3]
[0.10.2]
- `` Fix adb usage for NAPI context following v0.10.1 fix.
[0.10.1]
[0.10.0]
d90ccf4(#273) The development team configuration is now optional so you can develop on a simulator without a signing certificate.
[0.9.1]
[0.9.0]
cfd674e(#254) Fixes conflicts between Apple and Android targets.Target::name_listnow returnsVec<&str>.
[0.8.0]
cceff7e(#247) Fixdevicectllisting disconnected devices.95f77b3(#233) Updatetextwrapto 0.16.9f39389(#245) Updatewindowscrate version to0.51
[0.7.0]
[0.6.0]
[0.5.4]
21b1386(#208) Allow selecting "Apple Vision Pro" as an emulator.02dd3e3(#214) Fix Android template generation.a82bf57(#202) FixesDevice::runnot showing logs.a26988a(#206) Add--skip-targets-installoption forcargo mobile newandcargo mobile init
[0.5.3]
[0.5.2]
4f3e4d7(#172) Fixcargo android runcrashing because it can't detect device name using bluetooth_manager for devices without bluetooth like geneymotion.43b2a3b(#174) On Linux, fix crash after false detection of VSCode.6b8cf77(#182) Use stylized_name config for iOS product name.
[0.5.1]
e1bf612(#162) Update the path tolibc++_shared.sofor NDK versions 22 and above.7b46c30(#169) Added thenative-tls(enabled by default) andrustlsfeatures to allow compiling without native-tls.
[0.5.0]
c2abaf5(#148) Detach launched processes for CLIopencommands on macOS and Windwos.489d812(#149) Fix several commands fail because stdout isn't captured.1245540(#153) Update android template to gradle 8.08f6c122(#152) Change CLI template directory to$CARGO_HOME/.tauri-mobileinstead of$HOME/.tauri-mobile.
[0.4.0]
- Use
ductto run the ADB commands. - Breaking Replace
bossywithductacross the crate. bossy has two ways to create commands, impure and pure. The pure version won't inherit env variables. This causes child processes won't get the env varialbes and results in issues like openssl cross compilation. - Return
duct::Handleinapple::Device::runto keep compatibility with Android. - Update
wrytemplate towry@0.28
[0.3.0]
- This change manually instructs Java and Kotlin to use/generate code for the same JVM target.
- Remove
libgccredirect tolibunwindworkaround for NDK 23 and higher - Use signed apks if signing is configured in the gradle project.
- Build only specified rust targets for
cargo android apk buildandcargo android aab buildinstead of all.
[0.2.5]
- Add
start_detachedmethod to start emulators. - Fallback to
gradleworgradlefromPATHif the one inside the generated template doesn't exist. - Use correct lib name in xcode project.
- Add xcode script back and skip it when building simulator target.
[0.2.4]
- Allow to update repo with a specific branch.
[0.2.3]
- Fixes regression when running commands and checking status code.
- Fixed gradlew execution on environments like Node-API.
[0.2.2]
- Added support for opening Android Studio installed by JetBrains Toolbox
- Increased minimum iOS version from 9 to 13
- Fixed ADB and xcodebuild execution on environments like Node-API.
[0.2.1]
- Fix
cargo mobile updatetarget branch and enabledclifeature when update. - Fix content assignment in ios template.
[0.2.0]
- Bump minor version as
0.1.5add a new feature which was incompatible with0.1.4- 969e8ef chore: bump minor for urgent release on 2023-01-15
[0.1.5]
- Add support for
CARGO_TARGET_DIRandCARGO_BUILD_TARGET_DIRenv vars. - Allow specifying
lib_nameinmobile.tomlfile. This useful if you set[lib].nameinCargo.toml. - Adjust
wrytemplate for desktop usage also. - Update
wrytemplate to use the newwryenv vars.- 0113d1f feat: update wry template to use the new env vars on 2022-12-30
[0.1.4]
- Improve error message for missing library artifact.
- 807861a feat: validate library artifact existence on 2022-12-28
[0.1.3]
- Allow specifying an app target dir resolver via
config::App::with_target_dir_resolver.
[0.1.2]
- Fix
android_binding!macro usage in thewrytemplate.- fd68c94 fix: fix android_binding! usage in wry template on 2022-12-27
[0.1.1]
- Show all application logs on iOS noninteractive mode.
- Implement noninteractive mode on iOS simulators.
- Fix
cargo apple runcan't work on real device. - Added the
openssl-vendoredCargo feature.