mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-05 10:13:00 +02:00
7.9 KiB
7.9 KiB
Changelog
[1.0.0-rc.1]
- Change default value for the
freezePrototypeconfiguration tofalse.
[1.0.0-rc.0]
- Apply
noncetoscriptandstyletags and set them on theCSP(script-srcandstyle-srcfetch directives). - Added the
isolationpattern.- d5d6d2ab Isolation Pattern (#43) Co-authored-by: Ngo Iok Ui (Wu Yu Wei) wusyong9104@gmail.com Co-authored-by: Lucas Fernandes Nogueira lucas@tauri.studio on 2022-01-17
- Adds support for using JSON5 format for the
tauri.conf.jsonfile, along with also supporting the.json5extension.
Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:
- Check if
tauri.conf.jsonexists a. Parse it withserde_jsonb. Parse it withjson5ifserde_jsonfails c. Return originalserde_jsonerror if all above steps failed - Check if
tauri.conf.json5exists a. Parse it withjson5b. Return error if all above steps failed - Return error if all above steps failed
- 995de57a Add seamless support for using JSON5 in the config file (#47) on 2022-02-03
- The minimum Rust version is now
1.56.
[1.0.0-beta.4]
- Embed Info.plist file contents on binary on dev.
- Fix ES Module detection for default imports with relative paths or scoped packages and exporting of async functions.
[1.0.0-beta.3]
- Improve ESM detection with regexes.
- Inject invoke key on
scripttags withtype="module".
[1.0.0-beta.2]
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
- Improve invoke key code injection performance time rewriting code at compile time.
[1.0.0-beta.1]
- Allow
dev_pathanddist_dirto be an array of root files and directories to embed. - Validate
tauri.conf.json > build > devPathandtauri.conf.json > build > distDirvalues. - Read
tauri.conf.json > tauri > bundle > iconsand use the first.pngicon as window icon on Linux. Defaults toicon/icon.pngif a PNG icon is not configured.
[1.0.0-beta.0]
- Breaking: The
assetsfield on thetauri::Contextstruct is now aArc<impl Assets>. - Reintroduce
cspinjection, configured ontauri.conf.json > tauri > security > csp. - Added the `#[non_exhaustive] attribute where appropriate.
[1.0.0-beta-rc.1]
- The package info APIs now checks the
packageobject ontauri.conf.json.