mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
19 KiB
19 KiB
Changelog
[1.0.0-beta.6]
bundlenow exportsclipboardmodule so you canimport { clipboard } from "@tauri-apps/api".- Fix double window creation
- Add
osmodule which exportsEOL,platform(),version(),type(),arch(),tempdir() -
- Add new nodejs-inspired functions which are
join,resolve,normalize,dirname,basenameandextname.
- Add new nodejs-inspired functions which are
- Add
sepanddelimiterconstants. - Removed
resolvePathAPI, useresolveinstead. - 05b9d81e feat(api.js): add nodejs-inspired functions in
pathmodule (#2310) on 2021-08-02 - Change target to ES2021.
- Add
toggleMaximize()function to theWebviewWindowclass. - Fix
@ts-expecterror usage - Fixes file drop events being swapped (
file-drop-hoveron drop andfile-dropon hover). - Fixes the global bundle UMD code.
-
- Fixes monitor api not working.
- Fixes window.print() not working on macOS.
- 0f63f5e7 fix(api): Fix monitor functions, closes #2294 (#2301) on 2021-07-29
- Improve
EventNametype usingtype-fest'sLiteralUnion. - Update protocol url path with wry 0.12.1 on Windows.
[1.0.0-beta.5]
- Adds
convertFileSrchelper to thetaurimodule, simplifying the process of using file paths as webview source (img,video, etc). - You can now use
emit,listenandonceusing theappWindowexported by the window module. - Allow manipulating a spawned window directly using
WebviewWindow, which now extendsWindowManager.
[1.0.0-beta.4]
- Add asset custom protocol to access local file system.
[1.0.0-beta.3]
- Export
ResponseandResponseTypeas value instead of type.
[1.0.0-beta.2]
- Export
BaseDirectoryinpathmodule - Use
export typeto export TS types, enums and interfaces. - Adds
focus?: booleanto the WindowOptions interface. - Adds
isDecoratedgetter on the window API.- f58a2114 feat(core): add
is_decoratedWindow getter on 2021-05-30
- f58a2114 feat(core): add
- Adds
isResizablegetter on the window API.- 1e8af280 feat(core): add
is_resizableWindow getter on 2021-05-30
- 1e8af280 feat(core): add
- Adds
isVisiblegetter on the window API.- 36506c96 feat(core): add
is_visibleAPI on 2021-05-30
- 36506c96 feat(core): add
- Adds
requestUserAttentionAPI to thewindowmodule. - Adds
setFocusto the window API. - Adds
setSkipTaskbarto the window API.- e06aa277 feat(core): add
set_skip_taskbarAPI on 2021-05-30
- e06aa277 feat(core): add
- Adds
skipTaskbar?: booleanto the WindowOptions interface.- 5525b03a feat(core): add
skip_taskbarAPI to the WindowBuilder/WindowOptions on 2021-05-30
- 5525b03a feat(core): add
- Adds
center?: booleantoWindowOptionsandcenter()API to theappWindow. - Adds
clipboardAPIs (write and read text). - The
httpAPIs now resolve the returned promise when the API call finishes with an error status code. - Improve RPC security by requiring a numeric code to invoke commands. The codes are generated by the Rust side and injected into the app's code using a closure, so external scripts can't access the backend. This change doesn't protect
withGlobalTauri(window.__TAURI__) usage. - Mark the
WebviewWindowconstructor as public. - Validate arguments on the window
setLocation,setSize,setMinSizeandsetMaxSizeAPI.
[1.0.0-beta.1]
- Adds
package.jsonto theexportsobject.
[1.0.0-beta.0]
- CommonJS chunks are now properly exported with
.cjsextension - Adds
transparent?: booleanto theWindowOptionsinterface. - Adds
optionsargument to the shell command API (envandcwdconfiguration). - Adds
startDraggingAPI on the window module. - Move
exitandrelaunchAPIs fromapptoprocessmodule. - The window management API was refactored: removed
setX,setY,setWidth,setHeightAPIs, renamedresizetosetSizeand the size and position APIs now allow defining both logical and physical values. - Adds window getters.
[1.0.0-beta-rc.3]
- Fixes distribution of the
@tauri-apps/apipackage for older bundlers. - Update minimum Node.js version to v12.13.0
[1.0.0-beta-rc.2]
- TS was wrongly re-exporting the module.
[1.0.0-beta-rc.1]
- Missing the
filesproperty in the package.json which mean that thedistdirectory was not published and used.
[1.0.0-beta-rc.0]
- Add current working directory to the path api module.
- The shell process spawning API was rewritten and now includes stream access.
- The file dialog API now uses rfd. The filter option is now an array of
{ name: string, extensions: string[] }. - The HTTP API was improved with client caching and better payload and response types.
- Update all code files to have our license header.
- Use secure RNG on callback function names.
- The invoke function can now be called with the cmd as the first parameter and the args as the second.
- Adds a global shortcut API.
- Added window management and window creation APIs.