Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply Version Updates From Current Changes #8638

Merged
merged 5 commits into from
Feb 3, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 18, 2024

Version Updates

Merging this PR will release new versions of the following packages based on your change files.

@tauri-apps/api

[2.0.0-beta.0]

New Features

  • 74a2a603(#8661) Implement access control list for IPC usage.
  • a093682d(#8621) Added emitTo api to event module which is equivalent to the rust emit_to method. Also added emitTo method on Window, Webivew and WebviewWindow classes.
  • a2fc3a63(#8657) Add visibleOnAllWorkspaces option when creating the window in JS and Window.setVisibleOnAllWorkspaces method.
  • 7f033f6d(#8537) Add Window.startResizeDragging.
  • 9eaeb5a8(#8622) Add parent option when creating a window.
  • af610232(#8710) Added Window::destroy to force close a window.
  • c77b4032(#8280) Added support to multiwebview via the new window and webview modules.

Breaking Changes

  • c77b4032(#8280) Removed event callback's windowLabel.
  • c77b4032(#8280) The event target is now an object so you can target either a window or a webview.
  • c77b4032(#8280) Moved webview-specific APIs from the Window class to the Webview class.
  • c77b4032(#8280) Renamed TauriEvent.WINDOW_FILE_DROP to TauriEvent.WEBVIEW_FILE_DROP, TauriEvent.WINDOW_FILE_DROP_HOVER to TauriEvent.WEBVIEW_FILE_DROP_HOVER and TauriEvent.WINDOW_FILE_DROP_CANCELLED to TauriEvent.WEBVIEW_FILE_DROP_CANCELLED.
  • c77b4032(#8280) Added back the WebviewWindow API that exposes functionality of a window that hosts a single webview. The dedicated Window and Webview types are exposed for multiwebview features.
  • af610232(#8710) Window::close now triggers a close requested event instead of forcing the window to be closed.

tauri-utils

[2.0.0-beta.0]

New Features

What's Changed

  • 6639a579(#8441) Added the WindowConfig::proxy_url WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url() options when creating a webview.

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.
  • c77b4032(#8280) Renamed config::WindowUrl to config::WebviewUrl.

  • a093682d(#8621) Changed error field in ConfigError::FormatToml to be boxed Box<toml::de::Error> to reduce the enum ConfigError size in memory.

  • 58fe2e81(#8670) Changed dist_dir and dev_path config options to be optional.

tauri-bundler

[2.0.0-beta.0]

Enhancements

  • d6c7568c(#8720) Add files option to the AppImage Configuration.
  • 30be0e30(#8303) Added Russian language support to the NSIS bundler.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14

Breaking Changes

  • 8de308d1(#8723) - Removed all license fields from WixSettings, NsisSettings and MacOsSettings and replaced with license and license_file fields in BundlerSettings.

tauri-runtime

[2.0.0-beta.0]

New Features

  • af610232(#8710) Added Window::destroy to force close a window.
  • c77b4032(#8280) Add multiwebview support behind the unstable feature flag. See WindowBuilder and WebviewBuilder for more information.
  • 00e15675(#8708) Added RuntimeHandle::request_exit function.

Bug Fixes

  • 95da1a27(#8713) Fix calling set_activation_policy when the event loop is running.

What's Changed

  • 9eaeb5a8(#8622) Added WindowBuilder::transient_for and Renamed WindowBuilder::owner_window to WindowBuilder::owner and WindowBuilder::parent_window to WindowBuilder::parent.
  • 7f033f6d(#8537) Add Window::start_resize_dragging and ResizeDirection enum.
  • 6639a579(#8441) Added the WindowConfig::proxy_url WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url() options when creating a webview.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14

Breaking Changes

  • 9eaeb5a8(#8622) Changed WindowBuilder::with_config to take a reference to a WindowConfig instead of an owned value.

tauri-runtime-wry

[2.0.0-beta.0]

New Features

  • af610232(#8710) Added Window::destroy to force close a window.
  • c77b4032(#8280) Add multiwebview support behind the unstable feature flag. See WindowBuilder and WebviewBuilder for more information.
  • 00e15675(#8708) Added RuntimeHandle::request_exit function.

Bug Fixes

  • 95da1a27(#8713) Fix calling set_activation_policy when the event loop is running.

What's Changed

  • 9f8037c2(#8633) On Windows, fix decorated window not transparent initially until resized.
  • 9eaeb5a8(#8622) Added WindowBuilder::transient_for and Renamed WindowBuilder::owner_window to WindowBuilder::owner and WindowBuilder::parent_window to WindowBuilder::parent.
  • 7f033f6d(#8537) Add Window::start_resize_dragging and ResizeDirection enum.
  • 6639a579(#8441) Added the WindowConfig::proxy_url WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url() options when creating a webview.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14
  • Upgraded to tauri-runtime@1.0.0-alpha.9

Breaking Changes

  • af610232(#8710) WindowDispatch::close now triggers the CloseRequested flow.
  • 9eaeb5a8(#8622) Changed WindowBuilder::with_config to take a reference to a WindowConfig instead of an owned value.

tauri-codegen

[2.0.0-beta.0]

New Features

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.

tauri-macros

[2.0.0-beta.0]

New Features

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14
  • Upgraded to tauri-codegen@2.0.0-alpha.14

tauri-plugin

[2.0.0-beta.0]

New Features

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14

tauri-build

[2.0.0-beta.0]

New Features

Enhancements

  • e8d3793c(#8732) Add config-json cargo feature flag (enabled by default) to. Disabling this feature flag will stop cargo from rebuilding when tauri.conf.json changes, see #8721 for more info.

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14
  • Upgraded to tauri-codegen@2.0.0-alpha.14

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.
  • 0cdfda28(#8737) Moved mobile::PluginBuilder, mobile::update_entitlements, config::plugin_config and mobile::update_android_manifest to the new tauri-plugin crate.

  • 74a2a603(#8661) CodegenContext::build and CodegenContext::try_build have been removed, use tauri_build::try_build(tauri_build::Attributes::new().codegen(codegen)) instead.

tauri

[2.0.0-beta.0]

New Features

  • 74a2a603(#8661) Implement access control list for IPC usage.
  • a2fc3a63(#8657) Add visibleOnAllWorkspaces option when creating the window in JS and Window.setVisibleOnAllWorkspaces method.
  • af610232(#8710) Added Window::destroy to force close a window.
  • c77b4032(#8280) Add multiwebview support behind the unstable feature flag. See WindowBuilder and WebviewBuilder for more information.
  • 9eaeb5a8(#8622) Add WindowBuilder::parent which is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also added WindowBuilder::owner on Windows only. Also added WindowBuilder::transient_for and WindowBuilder::transient_for_raw on Linux only.

Enhancements

  • e8d3793c(#8732) Add common-controls-v6 cargo feature flag (enabled by default).
  • 58fe2e81(#8670) Allow IPC calls when window origin is a defined custom protocol.

Bug Fixes

  • 95da1a27(#8713) Fix calling set_activation_policy when the event loop is running.
  • e1eb911f(#8582) Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread.
  • a093682d(#8621) Fix can not prevent closing a window from another webview.
  • 7f033f6d(#8537) Fix undecorated window resizing on Windows and Linux.

What's Changed

  • 9f8037c2(#8633) On Windows, fix decorated window not transparent initially until resized.
  • 7f033f6d(#8537) Add Window::start_resize_dragging and ResizeDirection enum.
  • 6639a579(#8441) Added the WindowConfig::proxy_url WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url() options when creating a webview.

Dependencies

  • Upgraded to tauri-build@2.0.0-alpha.15
  • Upgraded to tauri-utils@2.0.0-alpha.14
  • Upgraded to tauri-macros@2.0.0-alpha.14
  • Upgraded to tauri-runtime@1.0.0-alpha.9
  • Upgraded to tauri-runtime-wry@1.0.0-alpha.10

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.
  • c77b4032(#8280) The invoke_system, on_page_load hooks now gives you a Webview argument instead of a Window.

  • e1eb911f(#8582) All menu item constructors accelerator argument have been changed to Option<impl AsRef<str>> so when providing None you need to specify the generic argument like None::<&str>.

  • e1eb911f(#8582) All menu item constructors have been changed to return a Result<Self>

  • aa758a85(#8716) Moved the command module items to the ipc module so its import name does not clash with the command macro.

  • 00e15675(#8708) AppHandle::exit and AppHandle::restart now go triggers RunEvent::ExitRequested and RunEvent::Exit and cannot be executed on the event loop handler.

  • ec9818ac(#8696) Added a callback to the App::run_iteration and removed its return value.

  • a093682d(#8621) Refactored the event system to better accommodate the new window types:

    • Added EventTarget enum.
    • Added App/AppHandle::listen, App/AppHandle::once and App/AppHandle::unlisten to listen to events targeting App/AppHandle
    • App/AppHandle/Window/Webview/WebviewWindow::emit will now emit to all event listeners.
    • App/AppHandle/Window/Webview/WebviewWindow::emit_to will emit to event targets that match the given label, see EventTarget enum.
    • App/AppHandle/Window/Webview/WebviewWindow::emit_filter will emit to event targets based on a filter callback which now takes &EventTarget instead of &Window.
    • Renamed Manager::listen_global and Manager::once_global to listen_any and once_any respectively to be consistent with EventTarget::Any, it will now also listen to any event to any target (aka event sniffer).
  • 9eaeb5a8(#8622) Renamed WindowBuilder::owner_window to WindowBuilder::owner_raw and WindowBuilder::parent_window to WindowBuilder::parent_raw.

  • 9eaeb5a8(#8622) Changed WindowBuilder::from_config to return a Result<Self>.

  • c77b4032(#8280) Renamed Window to WebviewWindow, WindowBuilder to WebviewWindowBuilder, Manager::windows to Manager::webview_windows and Manager::get_window to Manager::get_webview_window.

  • af610232(#8710) Window::close now triggers a close requested event instead of forcing the window to be closed.

  • c77b4032(#8280) Renamed the window-data-url feature flag to webview-data-url.

@tauri-apps/cli

[2.0.0-beta.0]

New Features

  • 7fcc0bcd(#8490) Add plugin initialization rust code when using tauri add
  • 1878766f(#8667) Migrate the allowlist config to the new capability file format.

Enhancements

  • d6c7568c(#8720) Add files option to the AppImage Configuration.
  • b3209bb2(#8688) Ignore global .gitignore when searching for tauri directory.
  • e691208e(#7837) Prevent unneeded double Cargo.toml rewrite on dev and build.
  • f492efd7(#8666) Update app and plugin template following the new access control permission model.

Bug Fixes

  • 9cb9aa79(#8672) Allow license field in Cargo.toml to be { workspace = true }

Dependencies

  • Upgraded to tauri-cli@2.0.0-alpha.22

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.

tauri-cli

[2.0.0-beta.0]

New Features

  • 7fcc0bcd(#8490) Add plugin initialization rust code when using tauri add
  • 1878766f(#8667) Migrate the allowlist config to the new capability file format.

Enhancements

  • d6c7568c(#8720) Add files option to the AppImage Configuration.
  • b3209bb2(#8688) Ignore global .gitignore when searching for tauri directory.
  • e691208e(#7837) Prevent unneeded double Cargo.toml rewrite on dev and build.
  • f492efd7(#8666) Update app and plugin template following the new access control permission model.

Bug Fixes

  • 9cb9aa79(#8672) Allow license field in Cargo.toml to be { workspace = true }

Dependencies

  • Upgraded to tauri-utils@2.0.0-alpha.14
  • Upgraded to tauri-bundler@2.0.0-alpha.15

Breaking Changes

  • 8de308d1(#8723) Restructured Tauri config per RFC#5:

    • Moved package.productName, package.version and tauri.bundle.identifier fields to the top-level.
    • Removed package object.
    • Renamed tauri object to app.
    • Moved tauri.bundle object to the top-level.
    • Renamed build.distDir field to frontendDist.
    • Renamed build.devPath field to devUrl and will no longer accepts paths, it will only accept URLs.
    • Moved tauri.pattern to app.security.pattern.
    • Removed tauri.bundle.updater object, and its fields have been moved to the updater plugin under plugins.updater object.
    • Moved build.withGlobalTauri to app.withGlobalTauri.
    • Moved tauri.bundle.dmg object to bundle.macOS.dmg.
    • Moved tauri.bundle.deb object to bundle.linux.deb.
    • Moved tauri.bundle.appimage object to bundle.linux.appimage.
    • Removed all license fields from each bundle configuration object and instead added bundle.license and bundle.licenseFile.
    • Renamed AppUrl to FrontendDist and refactored its variants to be more explicit.

tauri-driver

[0.1.4]

New Features

@github-actions github-actions bot requested a review from a team as a code owner January 18, 2024 16:55
@github-actions github-actions bot force-pushed the release/version-updates branch 8 times, most recently from 23410d5 to fd46061 Compare January 25, 2024 01:14
@github-actions github-actions bot force-pushed the release/version-updates branch 20 times, most recently from 4378f3d to 887a479 Compare February 1, 2024 12:34
@github-actions github-actions bot force-pushed the release/version-updates branch 11 times, most recently from b635dc1 to 711edcd Compare February 3, 2024 12:49
@lucasfernog lucasfernog merged commit 88a1dd1 into dev Feb 3, 2024
6 checks passed
@lucasfernog lucasfernog deleted the release/version-updates branch February 3, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant