Skip to content

Commit

Permalink
Merge branch 'dev' into objc2
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Sep 15, 2024
2 parents 1da2085 + 94e9d47 commit 5dde1c5
Show file tree
Hide file tree
Showing 104 changed files with 2,396 additions and 1,169 deletions.
5 changes: 5 additions & 0 deletions .changes/bundler-appimage-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch:bug
---

Use appimage files instead of debian files when building appimage
6 changes: 6 additions & 0 deletions .changes/bundler-github-mirror-from-env.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-bundler": patch:feat
"tauri-cli": patch:feat
---

Add `TAURI_BUNDLER_TOOLS_GITHUB_MIRROR` environment variable to specify a GitHub mirror to download files and tools used by tauri bundler. This is designed for areas like Mainland China where GitHub access can be unreliable.
5 changes: 5 additions & 0 deletions .changes/changelog-path-deb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'major:breaking'
---

Changed changelog file location in `deb` to `usr/share/doc/<product_name>/changelog.gz` instead of `usr/share/doc/<main_binary_name>/changelog.gz`. For tauri v1 users, the path is unchanged as `product_name` and `main_binary_name` used the same value.
6 changes: 6 additions & 0 deletions .changes/cli-handle-main-binary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---

Automatically discover the `src-tauri/src/main.rs` binary when it is not explicitly defined in the Cargo manifest bin array.
6 changes: 6 additions & 0 deletions .changes/cli-template-log-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/cli": patch:enhance
"tauri-cli": patch:enhance
---

Added the `log` plugin to the app template, which is required to visualize logs on Android and iOS.
5 changes: 5 additions & 0 deletions .changes/core-default-schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": "patch:bug"
---

Fix schema generation for `core:default` set.
5 changes: 5 additions & 0 deletions .changes/fix-android-proguard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Add a Proguard rule to prevent custom JSON deserializer and serializer classes from being optimized away.
5 changes: 5 additions & 0 deletions .changes/fix-dev-server-proxy-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fixes mobile dev server proxy request URL with trailing slashes.
5 changes: 5 additions & 0 deletions .changes/fix-identifier-config-required.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-utils': 'patch:bug'
---

Fixed an issue that made the `identifier` in `tauri.conf.json` optional while it was actually required.
5 changes: 5 additions & 0 deletions .changes/fix-permission-state-unknown-display.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:breaking
---

Rename `PermissionState::Unknown` to `PermissionState::Prompt`.
5 changes: 5 additions & 0 deletions .changes/fix-request-permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fix `requestPermissions` not resolving on Android.
6 changes: 6 additions & 0 deletions .changes/fix-tauri-build-filedescription.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
tauri-build: 'patch:bug'
tauri-bundler: 'patch:bug'
---

The executable and NSIS installer on Windows will now use the `productName` config for the `FileDescription` property instead of `shortDescription`.
7 changes: 7 additions & 0 deletions .changes/main_binary_name-exe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri-bundler": "patch:bug"
"tauri-cli": "patch:bug"
"@tauri-apps/cli": "patch:bug"
---

Fix `main_binary_name` in custom wix and nsis templates including `.exe`
8 changes: 8 additions & 0 deletions .changes/main_binary_name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"tauri": "patch:feat"
"tauri-utils": "patch:feat"
"tauri-cli": "patch:feat"
"tauri-bundler": "patch:feat"
---

Add `mainBinaryName` config option to set the file name for the main binary.
21 changes: 20 additions & 1 deletion .changes/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
".changes/assets-iter-cow.md",
".changes/avoid-rebuilds.md",
".changes/brotli-6.md",
".changes/bundler-appimage-files.md",
".changes/bundler-github-mirror-from-env.md",
".changes/bundler-object-custom-sign-command.md",
".changes/capability-id-already-exists.md",
".changes/change-default-export-option-debugging.md",
Expand All @@ -21,6 +23,7 @@
".changes/change-pr-10619.md",
".changes/change-pr-10676.md",
".changes/change-pr-10718.md",
".changes/changelog-path-deb.md",
".changes/check-android-lib-symbols.md",
".changes/cli-add-no-fmt.md",
".changes/cli-android-template-androidtv.md",
Expand All @@ -30,6 +33,8 @@
".changes/cli-make-app-dir-consistent.md",
".changes/cli-mobile-checks.md",
".changes/cli-signtool-path.md",
".changes/cli-template-log-plugin.md",
".changes/core-default-schema.md",
".changes/core-plugin-namespace.md",
".changes/dev-url-localhost-mobile.md",
".changes/do-not-exit-on-log-fail.md",
Expand All @@ -40,6 +45,7 @@
".changes/feat-remove-target-sdk.md",
".changes/fix-adb.md",
".changes/fix-add-plugin-npm-version-req.md",
".changes/fix-android-proguard.md",
".changes/fix-android-remove-current-script.md",
".changes/fix-cli-add-plugin-version.md",
".changes/fix-cli-dev-server-android.md",
Expand All @@ -48,7 +54,9 @@
".changes/fix-conf-parsing-error-filepath.md",
".changes/fix-config-override.md",
".changes/fix-context-stack-size.md",
".changes/fix-dev-server-proxy-url.md",
".changes/fix-export-default-permissions.md",
".changes/fix-identifier-config-required.md",
".changes/fix-ios-automatic-signing-ci.md",
".changes/fix-ios-build-older-swift.md",
".changes/fix-ios-build-simulator.md",
Expand All @@ -58,6 +66,9 @@
".changes/fix-isolation-parse-raw-body.md",
".changes/fix-manifest-migration.md",
".changes/fix-missing-codesign-error-macos.md",
".changes/fix-permission-state-unknown-display.md",
".changes/fix-request-permissions.md",
".changes/fix-tauri-build-filedescription.md",
".changes/fix-tauri-plugin-ios-init.md",
".changes/fix-tslib-path.md",
".changes/fix-usage-without-compression.md",
Expand All @@ -74,6 +85,7 @@
".changes/ios-invoke-response-null.md",
".changes/isolation-main-frame-origin.md",
".changes/linux-option-gtk-app-id.md",
".changes/main_binary_name.md",
".changes/maintainer-fallback.md",
".changes/migrate-plugins.md",
".changes/migrate-prevent-duplications.md",
Expand All @@ -99,10 +111,14 @@
".changes/resource-dir-android.md",
".changes/resource-dir-ios.md",
".changes/resources-map-becoming-dirs.md",
".changes/resources-path-deb-rpm.md",
".changes/restart-handle-binary-name-change.md",
".changes/rust-permission-state.md",
".changes/safe-file-path-serialize.md",
".changes/safe-path-buf-from-str.md",
".changes/serialize-array-buffer.md",
".changes/store-main-binary-name.md",
".changes/sync-ios-version.md",
".changes/synchronize-config-and-xcode-project.md",
".changes/synchronize-pbxproj-export-options.md",
".changes/tauri-build.md",
Expand All @@ -111,13 +127,16 @@
".changes/universal-bin-build-fails.md",
".changes/update-android-plugin-template.md",
".changes/update-docs-icon-path.md",
".changes/update-ios-logging.md",
".changes/update-pbxproj-codesign.md",
".changes/update-tao-wry.md",
".changes/update-trayicon-infer-urlpattern-image.md",
".changes/update-wry.md",
".changes/utils-autogenerated-command-return-list.md",
".changes/utils-fix-plugin-reference.md",
".changes/v1-migrate-updater.md",
".changes/v1-migration-improvement.md"
".changes/v1-migration-improvement.md",
".changes/wix-consistent-product-code.md",
".changes/wix-upgrade-code-regression.md"
]
}
5 changes: 5 additions & 0 deletions .changes/resources-path-deb-rpm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'major:breaking'
---

Changed resources directory location in `deb` and `rpm` to `/usr/lib/<product_name>` instead of `/usr/lib/<main_binary_name>`. For tauri v1 users, the path is unchanged as `product_name` and `main_binary_name` used the same value.
5 changes: 5 additions & 0 deletions .changes/restart-handle-binary-name-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---

Handle macOS binary name change on the `process::restart` function.
6 changes: 6 additions & 0 deletions .changes/store-main-binary-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-bundler": "patch:feat"
---

Store main binary name in registry for NSIS installer and delete old main binary on updates if the name changes.

6 changes: 6 additions & 0 deletions .changes/sync-ios-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Synchronize app version (`tauri.conf.json > version` or `Cargo.toml > package > version`) with the `CFBundleVersion` and `CFBundleShortVersionString` Info.plist values.
6 changes: 6 additions & 0 deletions .changes/update-ios-logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---

Only render app logs on iOS unless `-vv` is provided to the `ios dev` command.
6 changes: 6 additions & 0 deletions .changes/wix-consistent-product-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-bundler": "patch:enhance"
---

Generate a consistent Product code for MSI installer derived from `identifier` instead of generating random one each build.

5 changes: 5 additions & 0 deletions .changes/wix-upgrade-code-regression.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": "patch:bug"
---

Fix generated `UpgradeCode` for MSI not matching MSI installers created with tauri-bundler@v1.
Loading

0 comments on commit 5dde1c5

Please sign in to comment.