mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-17 23:51:43 +03:00
1f98853573
Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com> Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: david <david@lemarier.ca> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: chip <chip@chip.sh>
20 KiB
20 KiB
Changelog
[1.0.0-beta.8]
- Revert target back to ES5.
- 657c7dac fix(api): revert ES2021 target on 2021-08-23
[1.0.0-beta.7]
- Fix missing asset protocol path.Now the protocol is
https://asset.localhost/path/to/file
on Windows. Lunix and macOS is stillasset://path/to/file
.
[1.0.0-beta.6]
bundle
now exportsclipboard
module so you canimport { clipboard } from "@tauri-apps/api"
.- Fix double window creation
- Add
os
module which exportsEOL
,platform()
,version()
,type()
,arch()
,tempdir()
-
- Add new nodejs-inspired functions which are
join
,resolve
,normalize
,dirname
,basename
andextname
.
- Add new nodejs-inspired functions which are
- Add
sep
anddelimiter
constants. - Removed
resolvePath
API, useresolve
instead. - 05b9d81e feat(api.js): add nodejs-inspired functions in
path
module (#2310) on 2021-08-02 - Change target to ES2021.
- Add
toggleMaximize()
function to theWebviewWindow
class. - Fix
@ts-expect
error usage - Fixes file drop events being swapped (
file-drop-hover
on drop andfile-drop
on 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
EventName
type usingtype-fest
'sLiteralUnion
. - Update protocol url path with wry 0.12.1 on Windows.
[1.0.0-beta.5]
- Adds
convertFileSrc
helper to thetauri
module, simplifying the process of using file paths as webview source (img
,video
, etc). - You can now use
emit
,listen
andonce
using theappWindow
exported 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
Response
andResponseType
as value instead of type.
[1.0.0-beta.2]
- Export
BaseDirectory
inpath
module - Use
export type
to export TS types, enums and interfaces. - Adds
focus?: boolean
to the WindowOptions interface. - Adds
isDecorated
getter on the window API.- f58a2114 feat(core): add
is_decorated
Window getter on 2021-05-30
- f58a2114 feat(core): add
- Adds
isResizable
getter on the window API.- 1e8af280 feat(core): add
is_resizable
Window getter on 2021-05-30
- 1e8af280 feat(core): add
- Adds
isVisible
getter on the window API.- 36506c96 feat(core): add
is_visible
API on 2021-05-30
- 36506c96 feat(core): add
- Adds
requestUserAttention
API to thewindow
module. - Adds
setFocus
to the window API. - Adds
setSkipTaskbar
to the window API.- e06aa277 feat(core): add
set_skip_taskbar
API on 2021-05-30
- e06aa277 feat(core): add
- Adds
skipTaskbar?: boolean
to the WindowOptions interface.- 5525b03a feat(core): add
skip_taskbar
API to the WindowBuilder/WindowOptions on 2021-05-30
- 5525b03a feat(core): add
- Adds
center?: boolean
toWindowOptions
andcenter()
API to theappWindow
. - Adds
clipboard
APIs (write and read text). - The
http
APIs 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
WebviewWindow
constructor as public. - Validate arguments on the window
setLocation
,setSize
,setMinSize
andsetMaxSize
API.
[1.0.0-beta.1]
- Adds
package.json
to theexports
object.
[1.0.0-beta.0]
- CommonJS chunks are now properly exported with
.cjs
extension - Adds
transparent?: boolean
to theWindowOptions
interface. - Adds
options
argument to the shell command API (env
andcwd
configuration). - Adds
startDragging
API on the window module. - Move
exit
andrelaunch
APIs fromapp
toprocess
module. - The window management API was refactored: removed
setX
,setY
,setWidth
,setHeight
APIs, renamedresize
tosetSize
and 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/api
package 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
files
property in the package.json which mean that thedist
directory 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.