mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 19:44:39 +03:00
3806b88ee1
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
14 KiB
14 KiB
Changelog
[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.