Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 11, 2024

Bumps @tauri-apps/api from 1.6.0 to 2.1.0.

Release notes

Sourced from @​tauri-apps/api's releases.

@​tauri-apps/api v2.1.0

No known vulnerabilities found

[2.1.0]

New Features

  • 5c4b83084 (#11191 by @​amrbashir) Improved support for dpi module types to allow these types to be used without manual conversions with invoke:

    • Added SERIALIZE_TO_IPC_FN const in core module which can be used to implement custom IPC serialization for types passed to invoke.
    • Added Size and Position classes in dpi module.
    • Implementd SERIALIZE_TO_IPC_FN method on PhysicalSize, PhysicalPosition, LogicalSize and LogicalPosition to convert it into a valid IPC-compatible value that can be deserialized correctly on the Rust side into its equivalent struct.
  • 4d545ab3c (#11486 by @​amrbashir) Added Webview::setBackgroundColor, WebviewWindow::setBackgroundColor APIs to set the window background color dynamically and a backgroundColor window option to set the background color on window creation.

  • cbc095ec5 (#11451 by @​amrbashir) Add app > windows > devtools config option and when creating the webview from JS, to enable or disable devtools for a specific webview.

  • 2a75c64b5 (#11469 by @​amrbashir) Added windowClassname option, when constructing a Webview or WebviewWindow, to specify the name of the window class on Windows.

Bug Fixes

  • 54cbf59b5 (#11441 by @​amrbashir) Fix submenu created as a menu item instead of a submenu when created by using an object in the items field in the options object passed to Menu.new or Submenu.new.
> @tauri-apps/api@2.1.0 npm-publish /home/runner/work/tauri/tauri/packages/api
> pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --no-git-checks

> @​tauri-apps/api@​2.1.0 build /home/runner/work/tauri/tauri/packages/api > rollup -c --configPlugin typescript

�[36m �[1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/image.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/webview.ts, ./src/webviewWindow.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m �[32mcreated �[1m./dist, ./dist�[22m in �[1m1.4s�[22m�[39m �[36m �[1msrc/index.ts�[22m → �[1m../../crates/tauri/scripts/bundle.global.js�[22m...�[39m �[32mcreated �[1m../../crates/tauri/scripts/bundle.global.js�[22m in �[1m2s�[22m�[39m npm verbose cli /opt/hostedtoolcache/node/20.18.0/x64/bin/node /opt/hostedtoolcache/node/20.18.0/x64/bin/npm npm info using npm@10.8.2 npm info using node@v20.18.0 npm silly config load:file:/opt/hostedtoolcache/node/20.18.0/x64/lib/node_modules/npm/npmrc npm silly config load:file:/tmp/6077d4c823f244e3a0880d2cc14a3a9b/.npmrc </tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 1.6.0 to 2.1.0.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v1.6...@tauri-apps/api-v2.1.0)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 11, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 12, 2024

Superseded by #798.

@dependabot dependabot bot closed this Nov 12, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tauri-apps/api-2.1.0 branch November 12, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant