Helps positioning your tauri windows.

Overview

Tauri plugin positioner

Crates.io Documentation MIT licensed

A plugin for tauri that helps positioning you windows at well known locations.

Install

Rust

[dependencies]
tauri-plugin-positioner = "0.1"

JavaScript

npm install github:JonasKruckenberg/tauri-plugin-positioner
# or
yarn add github:JonasKruckenberg/tauri-plugin-positioner

Usage

You need to register the plugin first:

use tauri_plugin_positioner::{Positioner, Position};

fn main() {
    tauri::Builder::default()
        .plugin(Positioner::default())
        .build()
        .run();
}

Now you can import the JavaScript API package and move to window:

import { move_window, Position } from 'tauri-plugin-positioner-api'

move_window(Position.TopRight)

Rust only

If you only intend on moving the window from rust code, you can just import the Window trait extension instead of registering the plugin:

Note: Window.move_window method must be called from a different thread!

use tauri_plugin_positioner::{WindowExt, Position};

fn main() {
    tauri::Builder::default()
        .setup(|app| {
          let mut win = app.get_window("main").unwrap();
      
          // Call this method from a different thread
          tauri::async_runtime::spawn(async move {
            let _ = win.move_window(Position::TopRight);
          });
          
          Ok(())
        })
        .build()
        .run();
}

Contributing

PRs are welcome!

License

MIT © Jonas Kruckenberg

Comments
  • Bump tauri from 1.0.0-rc.4 to 1.0.0-rc.6

    Bump tauri from 1.0.0-rc.4 to 1.0.0-rc.6

    Bumps tauri from 1.0.0-rc.4 to 1.0.0-rc.6.

    Release notes

    Sourced from tauri's releases.

    tauri v1.0.0-rc.6

    Updating crates.io index

    Cargo Audit

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
          Loaded 403 security advisories (from /home/runner/.cargo/advisory-db)
        Updating crates.io index
        Scanning Cargo.lock for vulnerabilities (481 crate dependencies)
    

    [1.0.0-rc.6]

    • Fixes the WindowEvent type used on Window::on_window_event.
      • 06aa87b6 fix(core): WindowEvent type used on Window::on_window_event (#3796) on 2022-03-28
    • Fixes WindowEvent::Destroyed not firing.
      • 169b5035 fix(core): actually fire WindowEvent::Destroyed (#3797) on 2022-03-28

    Cargo Publish

    Updating crates.io index
       Packaging tauri v1.0.0-rc.6 (/home/runner/work/tauri/tauri/core/tauri)
       Uploading tauri v1.0.0-rc.6 (/home/runner/work/tauri/tauri/core/tauri)
    

    tauri v1.0.0-rc.5

    Updating crates.io index

    Cargo Audit

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
          Loaded 403 security advisories (from /home/runner/.cargo/advisory-db)
        Updating crates.io index
        Scanning Cargo.lock for vulnerabilities (481 crate dependencies)
    

    [1.0.0-rc.5]

    • Added updater_target method to the Builder struct.

      • 579312f8 feat(updater): separate intel and apple silicon targets, closes #3359 (#3739) on 2022-03-23
    • Added an option to disable the CSP injection of distributable assets nonces and hashes.

      • f6e32ee1 feat(core): add dangerous option to disable compile time CSP injection (#3775) on 2022-03-28
    • Toggle devtools when Ctrl + Shift + I or Command + Option + I is pressed.

    • Use asynchronous file dialog on macOS and Windows to properly set the parent window.

    • The Error enum is now Send + Sync.

      • da1e8793 feat(core): improve and cleanup the Error enum (#3748) on 2022-03-22

    ... (truncated)

    Commits
    • a144e92 Apply Version Updates From Current Changes (#3798)
    • 06aa87b fix(core): WindowEvent type used on Window::on_window_event (#3796)
    • 169b503 fix(core): actually fire WindowEvent::Destroyed (#3797)
    • a073f27 fix(ci): cli.js publish workflow (#3795)
    • f93f969 Revert "chore(deps) Update dependency @​napi-rs/cli to v2.5.0 (#3757)"
    • ae94c6b chore(examples): update lockfile
    • 7a814fc Apply Version Updates From Current Changes (#3634)
    • edad9f4 refactor(core): add RunEvent::WindowEvent (#3793)
    • d5c06f0 chore: update lockfiles
    • c64268f feat(updater): expose builder, allow setting a custom version checker (#3792)
    • Additional commits viewable in compare view

    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 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)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump @tauri-apps/api from 1.0.0-rc.2 to 1.0.0-rc.3

    Bump @tauri-apps/api from 1.0.0-rc.2 to 1.0.0-rc.3

    Bumps @tauri-apps/api from 1.0.0-rc.2 to 1.0.0-rc.3.

    Release notes

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

    api v1.0.0-rc.3

    Yarn Audit

    yarn audit v1.22.17
    info No lockfile found.
    0 vulnerabilities found - Packages audited: 231
    Done in 3.04s.
    

    [1.0.0-rc.3]

    • Properly define the appWindow type.
    • Added Temp to the BaseDirectory enum.
      • 266156a0 feat(core): add BaseDirectory::Temp and $TEMP variable (#3763) on 2022-03-24

    Yarn Package Publish

    yarn run v1.22.17
    $ yarn build && cd ./dist && yarn publish --access public --loglevel silly
    $ rimraf ./dist && rollup -c --silent && node ./scripts/after-build.cjs
    Dynamic import can only be supported when transforming ES modules to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.
    [1/4] Bumping version...
    info Current version: 1.0.0-rc.3
    [2/4] Logging in...
    [3/4] Publishing...
    success Published.
    [4/4] Revoking token...
    info Not revoking login token, specified via config file.
    Done in 10.37s.
    

    tauri-macros v1.0.0-rc.3

    Updating crates.io index

    Cargo Audit

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
          Loaded 400 security advisories (from /home/runner/.cargo/advisory-db)
        Updating crates.io index
        Scanning Cargo.lock for vulnerabilities (489 crate dependencies)
    

    [1.0.0-rc.3]

    • Parse window icons at compile time.

    ... (truncated)

    Commits
    • 7a814fc Apply Version Updates From Current Changes (#3634)
    • edad9f4 refactor(core): add RunEvent::WindowEvent (#3793)
    • d5c06f0 chore: update lockfiles
    • c64268f feat(updater): expose builder, allow setting a custom version checker (#3792)
    • f6e32ee feat(core): add dangerous option to disable compile time CSP injection (#3775)
    • e05d718 feat(core): add hotkey to toggle devtools, closes #3776 (#3791)
    • 9ddf8d8 fix(core): properly fire WindowEvent::Destroyed, closes #3688 (#3778)
    • 5fb7433 chore(deps): update wry to 0.14, tao to 0.7 (#3790)
    • 8b807e0 refactor(bundler): allow downgrades, add option to disallow on Windows (#3777)
    • 94d78ef fix(cli.rs): terminate the beforeDevCommand, closes #2794 (#2883)
    • Additional commits viewable in compare view

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump typescript from 4.6.2 to 4.6.3

    Bump typescript from 4.6.2 to 4.6.3

    Bumps typescript from 4.6.2 to 4.6.3.

    Release notes

    Sourced from typescript's releases.

    TypeScript 4.6.3

    This release includes fixes for

    For the complete list of fixed issues, check out the

    Downloads are available on:

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump tauri from 1.0.0-rc.2 to 1.0.0-rc.3

    Bump tauri from 1.0.0-rc.2 to 1.0.0-rc.3

    Bumps tauri from 1.0.0-rc.2 to 1.0.0-rc.3.

    Release notes

    Sourced from tauri's releases.

    tauri v1.0.0-rc.3

    Updating crates.io index

    Cargo Audit

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
          Loaded 397 security advisories (from /home/runner/.cargo/advisory-db)
        Updating crates.io index
        Scanning Cargo.lock for vulnerabilities (492 crate dependencies)
    

    [1.0.0-rc.3]

    • tauri::plugin::Builder closures are no longer required to implement Sync.
      • fb7ee2c9 drop Sync req from setup and setup_with_config (#3471) on 2022-02-16
      • b8e4d651 fix(core): drop all plugin builder Sync requirements (#3490) on 2022-02-17
    • Added context to the file system endpoint errors.
      • 06053833 feat(core): add context to the filesystem APIs errors, closes #3457 (#3480) on 2022-02-16
    • Changed the default value for tauri > bundle > macOS > minimumSystemVersion to 10.13.
      • fce344b9 feat(core): set default value for minimum_system_version to 10.13 (#3497) on 2022-02-17

    Cargo Publish

    Updating crates.io index
       Packaging tauri v1.0.0-rc.3 (/home/runner/work/tauri/tauri/core/tauri)
       Uploading tauri v1.0.0-rc.3 (/home/runner/work/tauri/tauri/core/tauri)
    

    tauri-build v1.0.0-rc.3

    Updating crates.io index

    Cargo Audit

    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
          Loaded 397 security advisories (from /home/runner/.cargo/advisory-db)
        Updating crates.io index
        Scanning Cargo.lock for vulnerabilities (492 crate dependencies)
    

    [1.0.0-rc.3]

    • Automatically emit cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET with the value set on tauri.conf.json > tauri > bundle > macos > minimumSystemVersion.
      • 4bacea5b feat(core): set MACOSX_DEPLOYMENT_TARGET environment variable, closes #2732 (#3496) on 2022-02-17

    Cargo Publish

    Updating crates.io index
       Packaging tauri-build v1.0.0-rc.3 (/home/runner/work/tauri/tauri/core/tauri-build)
       Uploading tauri-build v1.0.0-rc.3 (/home/runner/work/tauri/tauri/core/tauri-build)
    
    Commits
    • 82b7f51 Apply Version Updates From Current Changes (#3468)
    • 5999379 chore(cli): improve "waiting for dev server" message, closes #3491 (#3504)
    • b571c24 chore(deps): update to wry v0.13.2 (#3503)
    • a7fd9e3 fix(deps): update webview2-com to 0.13.0 to fix compilation on windows (#3502)
    • fce344b feat(core): set default value for minimum_system_version to 10.13 (#3497)
    • 4bacea5 feat(core): set MACOSX_DEPLOYMENT_TARGET environment variable, closes #2732...
    • 17f17a8 fix(cli): do not panic if private key password is wrong, closes #3449 (#3495)
    • 53e4dd8 remove create-tauri-app (#3493)
    • a975551 fix(cli): duplicated short flag for signer sign, closes #3483 (#3492)
    • 84895a9 fix(runtime): trait requirements (#3489)
    • Additional commits viewable in compare view

    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 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)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump tauri from 1.0.0-beta.8 to 1.0.0-rc.0

    Bump tauri from 1.0.0-beta.8 to 1.0.0-rc.0

    Bumps tauri from 1.0.0-beta.8 to 1.0.0-rc.0.

    Release notes

    Sourced from tauri's releases.

    create-tauri-app v1.0.0-rc.0

    Yarn Audit

    yarn audit v1.22.17
    info No lockfile found.
    0 vulnerabilities found - Packages audited: 231
    Done in 4.05s.
    

    [1.0.0-rc.0]

    • Add empty description to Cargo.toml in dominator recipe.
    • create-tauri-app should now be fully compatiable with CI environments.
      • f5e77ff4 refactor(cta): use commander instead of minimst (#2551) on 2022-01-01
    • Stop react recipe from opening in browser by default.
      • ea51504e fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) on 2021-11-30
    • Add SolidJS recipe using the official template.

    Yarn Package Publish

    yarn publish v1.22.17
    [1/4] Bumping version...
    info Current version: 1.0.0-rc.0
    [2/4] Logging in...
    [3/4] Publishing...
    $ yarn build
    yarn run v1.22.17
    $ rollup --config
    

    src/index.ts → dist... (!) Plugin typescript: @​rollup/plugin-typescript TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'. Type 'unknown' is not assignable to type 'string'. src/shell.ts: (34:21)

    34 throw new Error(error) ~~~~~

    created dist in 2.8s

    BUILD: 2853ms, 83.9 MB / 122 MB

    generate module graph: 161ms, -1.19 MB / 125 MB

    • plugin 0 (typescript) - resolveId: 3ms, 208 kB / 128 MB
    • plugin 1 (commonjs) - resolveId: 0ms, 8.39 kB / 126 MB
    • plugin 1 (commonjs) - resolveId (async): 6ms, -10.5 MB / 115 MB </tr></table>

... (truncated)

Commits
  • 7c0fb73 fix(covector): tauri-utils before tauri-bundler
  • a1cac94 chore: ignore time and chrono security advisories
  • 0876bbb Apply Version Updates From Current Changes (#2522)
  • 18b7ffb fix(covector): remove sync-cli-metadata.js usage
  • 45d427e Merge pull request #3389 from tauri-apps/next
  • 4334865 refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
  • 62c7a8a chore(covector): prepare for rc release (#3376)
  • 2403e73 feat(cli.rs): add tests to node binding, delete cli.js (#3381)
  • 8562706 fix(core): documentation links
  • d5400a3 once_global and once accept FnOnce callbacks (#3383)
  • Additional commits viewable in compare view

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 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)
dependencies rust 
opened by dependabot[bot] 1
  • Bump @tauri-apps/api from 1.0.0-beta.8 to 1.0.0-rc.0

    Bump @tauri-apps/api from 1.0.0-beta.8 to 1.0.0-rc.0

    Bumps @tauri-apps/api from 1.0.0-beta.8 to 1.0.0-rc.0.

    Release notes

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

    v1.0.0-rc.0

    No release notes provided.

    create-tauri-app v1.0.0-rc.0

    Yarn Audit

    yarn audit v1.22.17
    info No lockfile found.
    0 vulnerabilities found - Packages audited: 231
    Done in 4.05s.
    

    [1.0.0-rc.0]

    • Add empty description to Cargo.toml in dominator recipe.
    • create-tauri-app should now be fully compatiable with CI environments.
      • f5e77ff4 refactor(cta): use commander instead of minimst (#2551) on 2022-01-01
    • Stop react recipe from opening in browser by default.
      • ea51504e fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) on 2021-11-30
    • Add SolidJS recipe using the official template.

    Yarn Package Publish

    yarn publish v1.22.17
    [1/4] Bumping version...
    info Current version: 1.0.0-rc.0
    [2/4] Logging in...
    [3/4] Publishing...
    $ yarn build
    yarn run v1.22.17
    $ rollup --config
    

    src/index.ts → dist... (!) Plugin typescript: @​rollup/plugin-typescript TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'. Type 'unknown' is not assignable to type 'string'. src/shell.ts: (34:21)

    34 throw new Error(error) ~~~~~

    created dist in 2.8s

    BUILD: 2853ms, 83.9 MB / 122 MB

    generate module graph: 161ms, -1.19 MB / 125 MB

    </tr></table>

    ... (truncated)

    Commits
    • 7c0fb73 fix(covector): tauri-utils before tauri-bundler
    • a1cac94 chore: ignore time and chrono security advisories
    • 0876bbb Apply Version Updates From Current Changes (#2522)
    • 18b7ffb fix(covector): remove sync-cli-metadata.js usage
    • 45d427e Merge pull request #3389 from tauri-apps/next
    • 4334865 refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
    • 62c7a8a chore(covector): prepare for rc release (#3376)
    • 2403e73 feat(cli.rs): add tests to node binding, delete cli.js (#3381)
    • 8562706 fix(core): documentation links
    • d5400a3 once_global and once accept FnOnce callbacks (#3383)
    • Additional commits viewable in compare view

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump rollup from 2.66.0 to 2.67.1

    Bump rollup from 2.66.0 to 2.67.1

    Bumps rollup from 2.66.0 to 2.67.1.

    Release notes

    Sourced from rollup's releases.

    v2.67.1

    2022-02-07

    Bug Fixes

    • Make chunk file and variable names more deterministic when emitting chunks (#4386)
    • Improve default module resolver performance by using non-blocking IO (#4386)

    Pull Requests

    v2.67.0

    2022-02-02

    Features

    • Improve side effect detection when using Array.prototype.groupBy/groupByToMap (#4360)
    • Allow changing moduleSideEffects at any time during the build (#4379)
    • Soft-deprecate ModuleInfo.hasModuleSideEffects in favour of ModuleInfo.moduleSideEffects (#4379)

    Bug Fixes

    • Do not include queries and hashes in generated file names when preserving modules (#4374)

    Pull Requests

    v2.66.1

    2022-01-25

    Bug Fixes

    • Only warn for conflicting names in namespace reexports if it actually causes problems (#4363)

    ... (truncated)

    Changelog

    Sourced from rollup's changelog.

    2.67.1

    2022-02-07

    Bug Fixes

    • Make chunk file and variable names more deterministic when emitting chunks (#4386)
    • Improve default module resolver performance by using non-blocking IO (#4386)

    Pull Requests

    2.67.0

    2022-02-02

    Features

    • Improve side effect detection when using Array.prototype.groupBy/groupByToMap (#4360)
    • Allow changing moduleSideEffects at any time during the build (#4379)
    • Soft-deprecate ModuleInfo.hasModuleSideEffects in favour of ModuleInfo.moduleSideEffects (#4379)

    Bug Fixes

    • Do not include queries and hashes in generated file names when preserving modules (#4374)

    Pull Requests

    2.66.1

    2022-01-25

    ... (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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump rollup from 2.66.0 to 2.67.0

    Bump rollup from 2.66.0 to 2.67.0

    Bumps rollup from 2.66.0 to 2.67.0.

    Release notes

    Sourced from rollup's releases.

    v2.67.0

    2022-02-02

    Features

    • Improve side effect detection when using Array.prototype.groupBy/groupByToMap (#4360)
    • Allow changing moduleSideEffects at any time during the build (#4379)
    • Soft-deprecate ModuleInfo.hasModuleSideEffects in favour of ModuleInfo.moduleSideEffects (#4379)

    Bug Fixes

    • Do not include queries and hashes in generated file names when preserving modules (#4374)

    Pull Requests

    v2.66.1

    2022-01-25

    Bug Fixes

    • Only warn for conflicting names in namespace reexports if it actually causes problems (#4363)
    • Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports (#4364)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.67.0

    2022-02-02

    Features

    • Improve side effect detection when using Array.prototype.groupBy/groupByToMap (#4360)
    • Allow changing moduleSideEffects at any time during the build (#4379)
    • Soft-deprecate ModuleInfo.hasModuleSideEffects in favour of ModuleInfo.moduleSideEffects (#4379)

    Bug Fixes

    • Do not include queries and hashes in generated file names when preserving modules (#4374)

    Pull Requests

    2.66.1

    2022-01-25

    Bug Fixes

    • Only warn for conflicting names in namespace reexports if it actually causes problems (#4363)
    • Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports (#4364)

    Pull Requests

    Commits
    • 7eb5bde 2.67.0
    • f6e272c Update changelog
    • d3ed80c refactor: fs.promises, move mkdir to writeoutputfile, Part 3 (#4376)
    • f420a01 Ignore queries and hashes in file names when preserving modules (#4374)
    • e0b1060 Deprecate hasModuleSideEffects in favor of moduleSideEffects and ensure it is...
    • d57cfa0 Fix typo in _config.js (#4375)
    • 50f46bc refactor: use fs.promises in module loader (#4372)
    • 4611705 refactor: use fs.promises in cli/run (#4371)
    • 5364114 feat: add Array.prototype.groupBy/groupByToMap (#4360)
    • 042933a refactor: use fs, fs-extra, remove sander (#4319)
    • Additional commits viewable in compare view

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump rollup from 2.66.0 to 2.66.1

    Bump rollup from 2.66.0 to 2.66.1

    Bumps rollup from 2.66.0 to 2.66.1.

    Release notes

    Sourced from rollup's releases.

    v2.66.1

    2022-01-25

    Bug Fixes

    • Only warn for conflicting names in namespace reexports if it actually causes problems (#4363)
    • Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports (#4364)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.66.1

    2022-01-25

    Bug Fixes

    • Only warn for conflicting names in namespace reexports if it actually causes problems (#4363)
    • Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports (#4364)

    Pull Requests

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump rollup from 2.64.0 to 2.65.0

    Bump rollup from 2.64.0 to 2.65.0

    Bumps rollup from 2.64.0 to 2.65.0.

    Changelog

    Sourced from rollup's changelog.

    2.65.0

    2022-01-21

    Features

    • Add complete import resolution objects to ModuleInfo for use in this.load (#4354)

    Bug Fixes

    • Use correct context in plugin hooks with perf: true (#4357)

    Pull Requests

    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 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)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump serde from 1.0.133 to 1.0.134

    Bump serde from 1.0.133 to 1.0.134

    Bumps serde from 1.0.133 to 1.0.134.

    Release notes

    Sourced from serde's releases.

    v1.0.134

    • Improve error messages on deserializing NonZero integers from a 0 value (#2158)
    Commits
    • 3bb4a5a Release 1.0.134
    • 6164627 Merge pull request #2159 from serde-rs/nonzero
    • 51aaf49 Write better Visitor for NonZero integers
    • bc66aeb Add tests of deserializing NonZero
    • 7e7044d Ignore clippy in number conversion tests
    • 5498dc0 Add tests of num conversion errors
    • ff04e8b Improve coverage of num conversion in test suite
    • 69240c1 Eliminate macro from serialization tests
    • 237434f Accept ?Sized references in assert_ser_tokens
    • 1833914 Eliminate macro from deserialization error tests
    • Additional commits viewable in compare view

    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 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)
    dependencies rust 
    opened by dependabot[bot] 1
  • Action Required: Fix Renovate Configuration

    Action Required: Fix Renovate Configuration

    There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

    Location: renovate.json Error type: Invalid JSON (parsing failed) Message: Syntax error near }, ] }

    opened by renovate[bot] 0
  • chore(deps): update swatinem/rust-cache action to v2

    chore(deps): update swatinem/rust-cache action to v2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | Swatinem/rust-cache | action | major | v1 -> v2 |


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • RUSTSEC-2021-0139: ansi_term is Unmaintained

    RUSTSEC-2021-0139: ansi_term is Unmaintained

    ansi_term is Unmaintained

    | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | ansi_term | | Version | 0.12.1 | | URL | https://github.com/ogham/rust-ansi-term/issues/72 | | Date | 2021-08-18 |

    The maintainer has adviced this crate is deprecated and will not receive any maintenance.

    The crate does not seem to have much dependencies and may or may not be ok to use as-is.

    Last release seems to have been three years ago.

    Possible Alternative(s)

    The below list has not been vetted in any way and may or may not contain alternatives;

    See advisory page for additional details.

    opened by github-actions[bot] 0
  • RUSTSEC-2022-0048: xml-rs is Unmaintained

    RUSTSEC-2022-0048: xml-rs is Unmaintained

    xml-rs is Unmaintained

    | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | xml-rs | | Version | 0.8.4 | | URL | https://github.com/netvl/xml-rs/issues | | Date | 2022-01-26 |

    xml-rs is a XML parser has open issues around parsing including integer overflows / panics that may or may not be an issue with untrusted data.

    Together with these open issues with Unmaintained status xml-rs may or may not be suited to parse untrusted data.

    Alternatives

    See advisory page for additional details.

    opened by github-actions[bot] 0
  • RUSTSEC-2018-0017: `tempdir` crate has been deprecated; use `tempfile` instead

    RUSTSEC-2018-0017: `tempdir` crate has been deprecated; use `tempfile` instead

    tempdir crate has been deprecated; use tempfile instead

    | Details | | | ------------------- | ---------------------------------------------- | | Status | unmaintained | | Package | tempdir | | Version | 0.3.7 | | URL | https://github.com/rust-lang-deprecated/tempdir/pull/46 | | Date | 2018-02-13 |

    The tempdir crate has been deprecated and the functionality is merged into tempfile.

    See advisory page for additional details.

    opened by github-actions[bot] 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Detected dependencies

    cargo
    Cargo.toml
    • tauri ^1.0.0-rc.3
    • serde ^1.0.137
    • serde_json ^1.0.81
    • serde_repr ^0.1.8
    github-actions
    .github/workflows/audit-javascript.yml
    • actions/checkout v3
    • actions/cache v3
    • actions/setup-node v3
    • pnpm/action-setup v2.2.4
    .github/workflows/audit-rust.yml
    • actions/checkout v3
    • actions-rs/audit-check v1
    .github/workflows/covector-status.yml
    • actions/checkout v3
    • actions/setup-node v3
    • pnpm/action-setup v2.2.4
    .github/workflows/covector-version-or-publish.yml
    • actions/checkout v3
    • actions-rs/toolchain v1
    • Swatinem/rust-cache v1
    • actions/cache v3
    • actions/setup-node v3
    • pnpm/action-setup v2.2.4
    • tauri-apps/create-pull-request v3.4.1
    .github/workflows/format-javascript.yml
    • actions/checkout v3
    • actions/cache v3
    • actions/setup-node v3
    • pnpm/action-setup v2.2.4
    .github/workflows/format-rust.yml
    • actions/checkout v3
    • actions-rs/toolchain v1
    • actions-rs/cargo v1
    .github/workflows/lint-javascript.yml
    • actions/checkout v3
    • actions/cache v3
    • actions/setup-node v3
    • pnpm/action-setup v2.2.4
    .github/workflows/lint-rust.yml
    • actions/checkout v3
    • actions-rs/toolchain v1
    • Swatinem/rust-cache v1
    • actions-rs/clippy-check v1
    .github/workflows/test.yml
    • actions/checkout v3
    • actions-rs/toolchain v1
    • Swatinem/rust-cache v1
    • actions-rs/cargo v1
    npm
    package.json
    • @tauri-apps/api ^1.0.0
    • covector 0.7.3
    • tsup 6.5.0
    • typescript 4.9.4
    • tslib 2.4.1
    • pnpm 7.18.2

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Releases(tauri-plugin-positioner-v1.0.4)
    Owner
    Jonas Kruckenberg
    Data science student, dweb contributor. Founding member at Mintter | Tauri developer
    Jonas Kruckenberg
    Web-wrapped Supabase desktop app for macOS, Windows & Linux powered by Tauri

    Supabase Desktop App What is it? It's a cross-platform web-wrapped Supabase desktop app powered by Tauri. You can install it on your macOS, Windows (u

    Abiel Zulio M 12 Jan 25, 2023
    Tagref helps you maintain cross-references in your code.

    Tagref helps you maintain cross-references in your code. You can use it to help keep things in sync, document assumptions, manage invariants, etc. Airbnb uses it for their front-end monorepo. You should use it too!

    Stephan Boyer 119 Dec 28, 2022
    Rust port of the official Windows Driver Samples on Github. Leverages windows-drivers-rs

    Rust Driver Samples This is a Rust port of the driver samples from the original Windows Driver Samples on Github. The repository provides examples and

    Microsoft 80 Oct 10, 2023
    A tool that generates a Sublime Text project file that helps you get started using Scoggle.

    README A tool that generates a Sublime Text project file that helps you get started using Scoggle. While Scoggle-Gen may not find every single source

    Sanjiv Sahayam 0 Jan 10, 2022
    Cross-platform Window library in Rust for Tauri. [WIP]

    Cross-platform application window creation library in Rust that supports all major platforms like Windows, macOS, Linux, iOS and Android. Built for you, maintained for Tauri.

    Tauri 899 Jan 1, 2023
    Hydrogen is the desktop application for Geplauder, built with tauri studio.

    Hydrogen Hydrogen is the desktop application for Geplauder, built with tauri studio. For more information on Geplauder, click here. Usage To configure

    null 4 Nov 21, 2021
    A custom invoke system for Tauri that leverages a localhost server

    Tauri Invoke HTTP This is a crate that provides a custom invoke system for Tauri using a localhost server. Each message is delivered through a XMLHttp

    Tauri 17 Dec 17, 2022
    This is a small demo to accompany the Tauri + Yew tutorial

    Tauri + Yew Demo This is a small demo to accompany the Tauri + Yew tutorial

    Steve Pryde 94 Jan 2, 2023
    📦 Port of tauri-bundler

    ?? Port of tauri-bundler You can now easily create installers for your Deno apps, thanks to the amazing work of Tauri ??

    Marc Espín 28 Dec 7, 2022
    Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps.

    rust-yew-axum-tauri-desktop template Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps. Crates frontend: Yew frontend app for de

    Jet Li 54 Dec 23, 2022
    Type-safe IPC for Tauri using GraphQL

    Tauri Plugin graphql A plugin for Tauri that enables type-safe IPC through GraphQL. Install Rust [dependencies] tauri-plugin-graphql = "0.2" JavaScrip

    Jonas Kruckenberg 40 Dec 29, 2022
    🦀 Small Tauri SolidJS Example feat. Vite

    Tauri Solid Example (2022) Simple Solid(vite) starter running with Tauri. Should hopefully save some time trying to setup Tauri and Solid. Currently c

    Luke Secomb 14 Oct 25, 2022
    A Raycast/Spotlight like app shell using tauri

    Tauri Shell This repo can be used as reference for building alfred/raycast/spotlight apps using Tauri. Usage This reference repository is using Svelte

    Shivaprasad Bhat 6 Oct 27, 2022
    Bindings to the Tauri API for projects using wasm-bindgen

    tauri-sys Raw bindings to the Tauri API for projects using wasm-bindgen Installation This crate is not yet published to crates.io, so you need to use

    Jonas Kruckenberg 25 Jan 9, 2023
    Tauri and Leptos example.

    tauri-leptos-example Tauri Leptos Requires Rust Nightly. See Leptos nightly Note. # Install Tauri CLI cargo install tauri-cli # Build and develop for

    Michal Vavra 5 Dec 6, 2022
    A cross-platform tauri gui where Oblique Strategies meets Pomodoro

    Obliqoro Oblique Strategies meets Pomodoro Built in Rust, Vue3, and Typescript, using Tauri, and SQLite Screenshots About Obliqoro is an open source,

    Jack Wills 8 Dec 19, 2022
    SimpleX Chat GUI built with Rust, Tauri and Yew

    simplex-desktop A desktop application for simplex-chat. WIP, contributions are welcome. Architecture For the back end we rust with tauri and frontend

    Simon Shine 5 Feb 28, 2023
    A lightweight new Bing (AI chat) desktop application which based on Tauri.

    Bing Lite A lightweight new Bing (AI chat) desktop application which based on Tauri. No more Microsoft Edge, no more Chromium/Electron! Download The l

    a.e. 6 Apr 5, 2023
    🥃 A plugin for swizzling Tauri’s NSWindow to NSPanel

    Swizzle Tauri's NSWindow to NSPanel Install There are three general methods of installation that we can recommend. Use crates.io and npm (easiest, and

    Victor Aremu 11 Mar 24, 2023