mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-15 21:53:59 +03:00
df5fd52a4c
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
165 lines
13 KiB
Markdown
165 lines
13 KiB
Markdown
# Changelog
|
|
|
|
## \[1.0.1]
|
|
|
|
- Set the bundle name and app metadata in the Info.plist file in development mode.
|
|
- [38f5db6e](https://www.github.com/tauri-apps/tauri/commit/38f5db6e6a8b496b50d486db6fd8204266de3a69) feat(codegen): fill app metadata in development Info.plist on 2022-06-21
|
|
- Set the application icon in development mode on macOS.
|
|
- [307c2ebf](https://www.github.com/tauri-apps/tauri/commit/307c2ebfb68238dacab6088f9c6ba310c727c68c) feat(core): set macOS app icon in development ([#4385](https://www.github.com/tauri-apps/tauri/pull/4385)) on 2022-06-19
|
|
|
|
## \[1.0.0]
|
|
|
|
- Upgrade to `stable`!
|
|
- [f4bb30cc](https://www.github.com/tauri-apps/tauri/commit/f4bb30cc73d6ba9b9ef19ef004dc5e8e6bb901d3) feat(covector): prepare for v1 ([#4351](https://www.github.com/tauri-apps/tauri/pull/4351)) on 2022-06-15
|
|
|
|
## \[1.0.0-rc.11]
|
|
|
|
- Read the tray icon path relatively to the config directory.
|
|
- [562e8ca2](https://www.github.com/tauri-apps/tauri/commit/562e8ca23facf1a8e5fa6c8cdf872357d3523a78) fix(codegen): tray icon path is relative to the config directory on 2022-06-15
|
|
|
|
## \[1.0.0-rc.10]
|
|
|
|
- **Breaking change:** The `TrayIcon` enum has been removed and now `Icon` is used instead.
|
|
This allows you to use more image formats and use embedded icons on Linux.
|
|
- [4ce8e228](https://www.github.com/tauri-apps/tauri/commit/4ce8e228134cd3f22973b74ef26ca0d165fbbbd9) refactor(core): use `Icon` for tray icons ([#4342](https://www.github.com/tauri-apps/tauri/pull/4342)) on 2022-06-14
|
|
|
|
## \[1.0.0-rc.9]
|
|
|
|
- Added a config flag to bundle the media framework used by webkit2gtk `tauri.conf.json > tauri > bundle > appimage > bundleMediaFramework`.
|
|
- Bumped due to a bump in tauri-utils.
|
|
- [d335fae9](https://www.github.com/tauri-apps/tauri/commit/d335fae92cdcbb0ee18aad4e54558914afa3e778) feat(bundler): bundle additional gstreamer files, closes [#4092](https://www.github.com/tauri-apps/tauri/pull/4092) ([#4271](https://www.github.com/tauri-apps/tauri/pull/4271)) on 2022-06-10
|
|
|
|
## \[1.0.0-rc.8]
|
|
|
|
- **Breaking change:** `PackageInfo::version` is now a `semver::Version` instead of a `String`.
|
|
- [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25
|
|
- [a7388e23](https://www.github.com/tauri-apps/tauri/commit/a7388e23c3b9019d48b078cae00a75c74d74d11b) fix(ci): adjust change file to include tauri-utils and tauri-codegen on 2022-05-27
|
|
|
|
## \[1.0.0-rc.7]
|
|
|
|
- Allow configuring the display options for the MSI execution allowing quieter updates.
|
|
- Bumped due to a bump in tauri-utils.
|
|
- [9f2c3413](https://www.github.com/tauri-apps/tauri/commit/9f2c34131952ea83c3f8e383bc3cec7e1450429f) feat(core): configure msiexec display options, closes [#3951](https://www.github.com/tauri-apps/tauri/pull/3951) ([#4061](https://www.github.com/tauri-apps/tauri/pull/4061)) on 2022-05-15
|
|
|
|
## \[1.0.0-rc.6]
|
|
|
|
- The `dangerous_allow_asset_csp_modification` configuration value has been changed to allow a list of CSP directives to disable.
|
|
- [164078c0](https://www.github.com/tauri-apps/tauri/commit/164078c0b719ccbc12e956fecf8a7d4a3c5044e1) feat: allow limiting dangerousDisableAssetCspModification, closes [#3831](https://www.github.com/tauri-apps/tauri/pull/3831) ([#4021](https://www.github.com/tauri-apps/tauri/pull/4021)) on 2022-05-02
|
|
|
|
## \[1.0.0-rc.5]
|
|
|
|
- Read platform-specific configuration files when generating code without the `TAURI_CONFIG` env var.
|
|
- [edf85bc1](https://www.github.com/tauri-apps/tauri/commit/edf85bc1d18450c92aee17f7f99c163abe432ebd) fix(codegen): read platform-specific config file ([#3966](https://www.github.com/tauri-apps/tauri/pull/3966)) on 2022-04-25
|
|
|
|
## \[1.0.0-rc.4]
|
|
|
|
- Added an option to disable the CSP injection of distributable assets nonces and hashes.
|
|
- [f6e32ee1](https://www.github.com/tauri-apps/tauri/commit/f6e32ee1880eb364ed76beb937c9d12e14d54910) feat(core): add dangerous option to disable compile time CSP injection ([#3775](https://www.github.com/tauri-apps/tauri/pull/3775)) on 2022-03-28
|
|
|
|
- Replace multiple dependencies who's C code compiled concurrently and caused
|
|
the other ones to bloat compile time significantly.
|
|
|
|
- `zstd` -> `brotli`
|
|
|
|
- `blake3` -> a vendored version of the blake3 reference
|
|
|
|
- `ring` -> `getrandom`
|
|
|
|
See https://github.com/tauri-apps/tauri/pull/3773 for more information about
|
|
these specific choices.
|
|
|
|
- [8661e3e2](https://www.github.com/tauri-apps/tauri/commit/8661e3e24d96c399bfbcdee5d8e9d6beba2265a7) replace dependencies with long build times when used together (closes [#3571](https://www.github.com/tauri-apps/tauri/pull/3571)) ([#3773](https://www.github.com/tauri-apps/tauri/pull/3773)) on 2022-03-27
|
|
|
|
## \[1.0.0-rc.3]
|
|
|
|
- Parse window icons at compile time.
|
|
- [8c935872](https://www.github.com/tauri-apps/tauri/commit/8c9358725a17dcc2acaf4d10c3f654afdff586b0) refactor(core): move `png` and `ico` behind Cargo features ([#3588](https://www.github.com/tauri-apps/tauri/pull/3588)) on 2022-03-05
|
|
|
|
## \[1.0.0-rc.2]
|
|
|
|
- Changed the default value for `tauri > bundle > macOS > minimumSystemVersion` to `10.13`.
|
|
- Bumped due to a bump in tauri-utils.
|
|
- [fce344b9](https://www.github.com/tauri-apps/tauri/commit/fce344b90b7227f8f5514853c2f885fb24d3648e) feat(core): set default value for `minimum_system_version` to 10.13 ([#3497](https://www.github.com/tauri-apps/tauri/pull/3497)) on 2022-02-17
|
|
|
|
## \[1.0.0-rc.1]
|
|
|
|
- Change default value for the `freezePrototype` configuration to `false`.
|
|
- Bumped due to a bump in tauri-utils.
|
|
- [3a4c0160](https://www.github.com/tauri-apps/tauri/commit/3a4c01606184be762adee055ddac803de0d28527) fix(core): change default `freezePrototype` to false, closes [#3416](https://www.github.com/tauri-apps/tauri/pull/3416) [#3406](https://www.github.com/tauri-apps/tauri/pull/3406) ([#3423](https://www.github.com/tauri-apps/tauri/pull/3423)) on 2022-02-12
|
|
|
|
## \[1.0.0-rc.0]
|
|
|
|
- Apply `nonce` to `script` and `style` tags and set them on the `CSP` (`script-src` and `style-src` fetch directives).
|
|
- [cf54dcf9](https://www.github.com/tauri-apps/tauri/commit/cf54dcf9c81730e42c9171daa9c8aa474c95b522) feat: improve `CSP` security with nonces and hashes, add `devCsp` \[TRI-004] ([#8](https://www.github.com/tauri-apps/tauri/pull/8)) on 2022-01-09
|
|
- Added the `isolation` pattern.
|
|
- [d5d6d2ab](https://www.github.com/tauri-apps/tauri/commit/d5d6d2abc17cd89c3a079d2ce01581193469dbc0) Isolation Pattern ([#43](https://www.github.com/tauri-apps/tauri/pull/43)) Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com> Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> on 2022-01-17
|
|
- Adds support for using JSON5 format for the `tauri.conf.json` file, along with also supporting the `.json5` extension.
|
|
|
|
Here is the logic flow that determines if JSON or JSON5 will be used to parse the config:
|
|
|
|
1. Check if `tauri.conf.json` exists
|
|
a. Parse it with `serde_json`
|
|
b. Parse it with `json5` if `serde_json` fails
|
|
c. Return original `serde_json` error if all above steps failed
|
|
2. Check if `tauri.conf.json5` exists
|
|
a. Parse it with `json5`
|
|
b. Return error if all above steps failed
|
|
3. Return error if all above steps failed
|
|
|
|
- [995de57a](https://www.github.com/tauri-apps/tauri/commit/995de57a76cf51215277673e526d7ec32b86b564) Add seamless support for using JSON5 in the config file ([#47](https://www.github.com/tauri-apps/tauri/pull/47)) on 2022-02-03
|
|
- The minimum Rust version is now `1.56`.
|
|
- [a9dfc015](https://www.github.com/tauri-apps/tauri/commit/a9dfc015505afe91281c2027954ffcc588b1a59c) feat: update to edition 2021 and set minimum rust to 1.56 ([#2789](https://www.github.com/tauri-apps/tauri/pull/2789)) on 2021-10-22
|
|
|
|
## \[1.0.0-beta.4]
|
|
|
|
- Embed Info.plist file contents on binary on dev.
|
|
- [537ab1b6](https://www.github.com/tauri-apps/tauri/commit/537ab1b6d5a792c550a535619965c9e4126292e6) feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes [#1570](https://www.github.com/tauri-apps/tauri/pull/1570) [#2338](https://www.github.com/tauri-apps/tauri/pull/2338) ([#2444](https://www.github.com/tauri-apps/tauri/pull/2444)) on 2021-08-15
|
|
- Fix ES Module detection for default imports with relative paths or scoped packages and exporting of async functions.
|
|
- [b2b36cfe](https://www.github.com/tauri-apps/tauri/commit/b2b36cfe8dfcccb341638a4cb6dc23a514c54148) fix(core): fixes ES Module detection for default imports with relative paths or scoped packages ([#2380](https://www.github.com/tauri-apps/tauri/pull/2380)) on 2021-08-10
|
|
- [fbf8caf5](https://www.github.com/tauri-apps/tauri/commit/fbf8caf5c419cb4fc3d123be910e094a8e8c4bef) fix(core): ESM detection when using `export async function` ([#2425](https://www.github.com/tauri-apps/tauri/pull/2425)) on 2021-08-14
|
|
|
|
## \[1.0.0-beta.3]
|
|
|
|
- Improve ESM detection with regexes.
|
|
- [4b0ec018](https://www.github.com/tauri-apps/tauri/commit/4b0ec0188078a8fefd4119fe5e19ebc30191f802) fix(core): improve JS ESM detection ([#2139](https://www.github.com/tauri-apps/tauri/pull/2139)) on 2021-07-02
|
|
- Inject invoke key on `script` tags with `type="module"`.
|
|
- [f03eea9c](https://www.github.com/tauri-apps/tauri/commit/f03eea9c9b964709532afbc4d1dd343b3fd96081) feat(core): inject invoke key on `<script type="module">` ([#2120](https://www.github.com/tauri-apps/tauri/pull/2120)) on 2021-06-29
|
|
|
|
## \[1.0.0-beta.2]
|
|
|
|
- Detect ESM scripts and inject the invoke key directly instead of using an IIFE.
|
|
- [7765c7fa](https://www.github.com/tauri-apps/tauri/commit/7765c7fa281853ddfb26b6b17534df95eaede804) fix(core): invoke key injection on ES module, improve performance ([#2094](https://www.github.com/tauri-apps/tauri/pull/2094)) on 2021-06-27
|
|
- Improve invoke key code injection performance time rewriting code at compile time.
|
|
- [7765c7fa](https://www.github.com/tauri-apps/tauri/commit/7765c7fa281853ddfb26b6b17534df95eaede804) fix(core): invoke key injection on ES module, improve performance ([#2094](https://www.github.com/tauri-apps/tauri/pull/2094)) on 2021-06-27
|
|
|
|
## \[1.0.0-beta.1]
|
|
|
|
- Allow `dev_path` and `dist_dir` to be an array of root files and directories to embed.
|
|
- [6ec54c53](https://www.github.com/tauri-apps/tauri/commit/6ec54c53b504eec3873d326b1a45e450227d46ed) feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes [#1897](https://www.github.com/tauri-apps/tauri/pull/1897) ([#1926](https://www.github.com/tauri-apps/tauri/pull/1926)) on 2021-05-31
|
|
- Validate `tauri.conf.json > build > devPath` and `tauri.conf.json > build > distDir` values.
|
|
- [e97846aa](https://www.github.com/tauri-apps/tauri/commit/e97846aae933cad5cba284a2a133ae7aaee1107c) feat(core): validate `devPath` and `distDir` values ([#1848](https://www.github.com/tauri-apps/tauri/pull/1848)) on 2021-05-17
|
|
- Read `tauri.conf.json > tauri > bundle > icons` and use the first `.png` icon as window icon on Linux. Defaults to `icon/icon.png` if a PNG icon is not configured.
|
|
- [40b717ed](https://www.github.com/tauri-apps/tauri/commit/40b717edc57288a1393fad0529390e101ab903c1) feat(core): set window icon on Linux, closes [#1922](https://www.github.com/tauri-apps/tauri/pull/1922) ([#1937](https://www.github.com/tauri-apps/tauri/pull/1937)) on 2021-06-01
|
|
|
|
## \[1.0.0-beta.0]
|
|
|
|
- **Breaking:** The `assets` field on the `tauri::Context` struct is now a `Arc<impl Assets>`.
|
|
- [5110c70](https://www.github.com/tauri-apps/tauri/commit/5110c704be67e51d49fb83f3710afb593973dcf9) feat(core): allow users to access the Assets instance ([#1691](https://www.github.com/tauri-apps/tauri/pull/1691)) on 2021-05-03
|
|
- Reintroduce `csp` injection, configured on `tauri.conf.json > tauri > security > csp`.
|
|
- [6132f3f](https://www.github.com/tauri-apps/tauri/commit/6132f3f4feb64488ef618f690a4f06adce864d91) feat(core): reintroduce CSP injection ([#1704](https://www.github.com/tauri-apps/tauri/pull/1704)) on 2021-05-04
|
|
- Added the \`#\[non_exhaustive] attribute where appropriate.
|
|
- [e087f0f](https://www.github.com/tauri-apps/tauri/commit/e087f0f9374355ac4b4a48f94727ef8b26b1c4cf) feat: add `#[non_exhaustive]` attribute ([#1725](https://www.github.com/tauri-apps/tauri/pull/1725)) on 2021-05-05
|
|
|
|
## \[1.0.0-beta-rc.1]
|
|
|
|
- The package info APIs now checks the `package` object on `tauri.conf.json`.
|
|
- [8fd1baf](https://www.github.com/tauri-apps/tauri/commit/8fd1baf69b14bb81d7be9d31605ed7f02058b392) fix(core): pull package info from tauri.conf.json if set ([#1581](https://www.github.com/tauri-apps/tauri/pull/1581)) on 2021-04-22
|
|
- [f575aaa](https://www.github.com/tauri-apps/tauri/commit/f575aaad71f23d44b2f89cf9ee5d84817dc3bb7a) fix: change files not referencing core packages ([#1619](https://www.github.com/tauri-apps/tauri/pull/1619)) on 2021-04-25
|
|
|
|
## \[1.0.0-beta-rc.0]
|
|
|
|
- Update all code files to have our license header.
|
|
- [bf82136](https://www.github.com/tauri-apps/tauri/commit/bf8213646689175f8a158b956911f3a43e360690) feat(license): SPDX Headers ([#1449](https://www.github.com/tauri-apps/tauri/pull/1449)) on 2021-04-11
|
|
- [a6def70](https://www.github.com/tauri-apps/tauri/commit/a6def7066eec19c889b0f14cc1e475bf209a332e) Refactor(tauri): move tauri-api and tauri-updater to tauri ([#1455](https://www.github.com/tauri-apps/tauri/pull/1455)) on 2021-04-11
|
|
- [aea6145](https://www.github.com/tauri-apps/tauri/commit/aea614587bddab930d552512b54e18624fbf573e) refactor(repo): add /tooling folder ([#1457](https://www.github.com/tauri-apps/tauri/pull/1457)) on 2021-04-12
|