github tauri-apps/tauri api-v1.2.0
api v1.2.0

latest releases: tauri-driver-v2.0.1, tauri-cli-v2.0.1, @tauri-apps/cli-v2.0.1...
23 months ago

Yarn Audit

yarn audit v1.22.19
info No lockfile found.
0 vulnerabilities found - Packages audited: 148
Done in 3.73s.

[1.2.0]

  • Added the acceptFirstMouse window option.
    • 95f467ad feat(core): add window accept_first_mouse option, closes #5347 (#5374) on 2022-10-17
  • Fix incorrect return type on fs/exists
    • ca3cd8b3 fix(api): fs/exists return type previously set to void when it should be boolean (#5252) on 2022-09-29
  • Initialize Monitor instances with the correct classes for position and size fields instead of plain object.
  • Breaking change: Node.js v12 is no longer supported.
    • 1129f4f5 refactor: simplify api.js bundling (#4277) on 2022-10-04
  • Add new app-specific BaseDirectory enum variants AppConfig, AppData, AppLocalData, AppCache and AppLog along with equivalent functions in path module and deprecated ambiguous variants Log and App along with their equivalent functions in path module.
  • Fix dialog.save return type
  • Added support to FormData on the Body.form function.
    • aa119f28 feat(api): add FormData support on Body.form, closes #5545 (#5546) on 2022-11-04
  • Added show and hide methods on the app module.
    • 39bf895b feat(macOS): Add application show and hide methods (#3689) on 2022-10-03
  • Added tabbingIdentifier window option for macOS.
  • Added tabbing_identifier to the window builder on macOS.
  • Added the user_agent option when creating a window.
    • a6c94119 feat(core): expose user_agent to window config (#5317) on 2022-10-02

Yarn Publish

yarn run v1.22.19
$ yarn build && cd ./dist && yarn publish --access public --loglevel silly
$ yarn tsup && node ./scripts/after-build.cjs
$ /home/runner/work/tauri/tauri/tooling/api/node_modules/.bin/tsup
CLI Building entry: {"bundle":"src/index.ts"}
CLI Using tsconfig: tsconfig.json
CLI tsup v6.3.0
CLI Using tsup config: /home/runner/work/tauri/tauri/tooling/api/tsup.config.ts
CLI Target: node14
CLI Building entry: src/app.ts, src/cli.ts, src/clipboard.ts, src/dialog.ts, src/event.ts, src/fs.ts, src/globalShortcut.ts, src/http.ts, src/index.ts, src/mocks.ts, src/notification.ts, src/os.ts, src/path.ts, src/process.ts, src/shell.ts, src/tauri.ts, src/updater.ts, src/window.ts
CLI Using tsconfig: tsconfig.json
CLI tsup v6.3.0
CLI Using tsup config: /home/runner/work/tauri/tauri/tooling/api/tsup.config.ts
CLI Target: node14
IIFE Build start
CLI Cleaning output folder
ESM Build start
CJS Build start
IIFE ../../core/tauri/scripts/bundle.global.js 28.21 KB
IIFE ⚡️ Build success in 87ms
ESM dist/updater.js        216.00 B
ESM dist/window.js         479.00 B
ESM dist/index.js          940.00 B
ESM dist/chunk-42O4WJTY.js 969.00 B
ESM dist/chunk-QSWLDHGO.js 10.39 KB
ESM dist/mocks.js          409.00 B
ESM dist/notification.js   202.00 B
ESM dist/chunk-VOSOL2C7.js 578.00 B
ESM dist/os.js             235.00 B
ESM dist/chunk-J5WVX3SY.js 656.00 B
ESM dist/path.js           960.00 B
ESM dist/chunk-R7A3PDYO.js 3.91 KB
ESM dist/chunk-V5J25SYE.js 73.00 B
ESM dist/process.js        154.00 B
ESM dist/chunk-PGWTMLF7.js 322.00 B
ESM dist/shell.js          186.00 B
ESM dist/chunk-ATGUPOGX.js 2.47 KB
ESM dist/tauri.js          131.00 B
ESM dist/app.js            206.00 B
ESM dist/chunk-QD7IZWSV.js 608.00 B
ESM dist/cli.js            144.00 B
ESM dist/chunk-7P2O4Y2W.js 209.00 B
ESM dist/clipboard.js      159.00 B
ESM dist/chunk-KJJ7PFLW.js 335.00 B
ESM dist/dialog.js         191.00 B
ESM dist/chunk-ZXBJS677.js 1.15 KB
ESM dist/event.js          202.00 B
ESM dist/chunk-3WDDWFXT.js 1.52 KB
ESM dist/fs.js             372.00 B
ESM dist/chunk-SINVUGUJ.js 2.75 KB
ESM dist/globalShortcut.js 220.00 B
ESM dist/chunk-HIKF4RX7.js 804.00 B
ESM dist/http.js           218.00 B
ESM dist/chunk-YIDC66OP.js 2.35 KB
ESM dist/chunk-HNLFKTAJ.js 91.00 B
ESM dist/chunk-RCPA6UVN.js 780.00 B
ESM dist/chunk-FEIY7W7S.js 106.00 B
ESM ⚡️ Build success in 117ms
CJS dist/app.cjs            1.41 KB
CJS dist/cli.cjs            1.05 KB
CJS dist/clipboard.cjs      1.16 KB
CJS dist/dialog.cjs         1.96 KB
CJS dist/event.cjs          2.29 KB
CJS dist/fs.cjs             3.52 KB
CJS dist/globalShortcut.cjs 1.56 KB
CJS dist/http.cjs           3.15 KB
CJS dist/index.cjs          28.16 KB
CJS dist/mocks.cjs          837.00 B
CJS dist/notification.cjs   1.39 KB
CJS dist/os.cjs             1.46 KB
CJS dist/path.cjs           5.14 KB
CJS dist/process.cjs        1.15 KB
CJS dist/shell.cjs          3.25 KB
CJS dist/tauri.cjs          1.12 KB
CJS dist/updater.cjs        2.30 KB
CJS dist/window.cjs         11.50 KB
CJS ⚡️ Build success in 160ms
DTS Build start
DTS ⚡️ Build success in 2884ms
DTS dist/index.d.ts                   1.21 KB
DTS dist/mocks.d.ts                   3.45 KB
DTS dist/app.d.ts                     111.00 B
DTS dist/cli.d.ts                     107.00 B
DTS dist/clipboard.d.ts               73.00 B
DTS dist/dialog.d.ts                  193.00 B
DTS dist/window.d.ts                  494.00 B
DTS dist/event.d.ts                   155.00 B
DTS dist/fs.d.ts                      395.00 B
DTS dist/globalShortcut.d.ts          158.00 B
DTS dist/http.d.ts                    257.00 B
DTS dist/notification.d.ts            149.00 B
DTS dist/path.d.ts                    640.00 B
DTS dist/process.d.ts                 66.00 B
DTS dist/shell.d.ts                   132.00 B
DTS dist/tauri.d.ts                   113.00 B
DTS dist/updater.d.ts                 213.00 B
DTS dist/os.d.ts                      149.00 B
DTS dist/app-373d24a3.d.ts            1.66 KB
DTS dist/cli-3e179c0b.d.ts            1.63 KB
DTS dist/clipboard-2fa91cee.d.ts      941.00 B
DTS dist/dialog-15855a2f.d.ts         7.00 KB
DTS dist/event-2a9960e7.d.ts          44.22 KB
DTS dist/fs-4bb77382.d.ts             9.56 KB
DTS dist/globalShortcut-ff939597.d.ts 3.05 KB
DTS dist/http-81ecb07f.d.ts           9.66 KB
DTS dist/notification-8cf004af.d.ts   2.49 KB
DTS dist/path-e12e0e34.d.ts           17.85 KB
DTS dist/process-e0ea4541.d.ts        925.00 B
DTS dist/shell-cbf4da8b.d.ts          9.34 KB
DTS dist/tauri-44146e48.d.ts          3.27 KB
DTS dist/updater-842b75dd.d.ts        2.85 KB
DTS dist/os-1507a225.d.ts             2.78 KB
[1/4] Bumping version...
info Current version: 1.2.0
[2/4] Logging in...
[3/4] Publishing...
success Published.
[4/4] Revoking token...
info Not revoking login token, specified via config file.
Done in 6.00s.

Don't miss a new tauri release

NewReleases is sending notifications on new releases.