tauri/core/tauri-codegen/CHANGELOG.md
github-actions[bot] b1d53426d1
Apply Version Updates From Current Changes (#4650)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-14 18:36:35 -03:00

14 KiB

Changelog

[1.0.4]

  • Validate __TAURI_ISOLATION_HOOK__ being set by a file in the isolation application.
    • 3b4ed970 feat(codegen): validate __TAURI_ISOLATION_HOOK__ is referenced (#4631) on 2022-07-11

[1.0.3]

  • The TAURI_CONFIG environment variable now represents the configuration to be merged instead of the entire JSON.
    • fa028ebf refactor: do not pass entire config from CLI to core, send patch instead (#4598) on 2022-07-06

[1.0.2]

  • Expose platform::windows_version function.
    • Bumped due to a bump in tauri-utils.
    • bf764e83 feat(utils): expose windows_version function (#4534) on 2022-06-30

[1.0.1]

  • Set the bundle name and app metadata in the Info.plist file in development mode.
    • 38f5db6e feat(codegen): fill app metadata in development Info.plist on 2022-06-21
  • Set the application icon in development mode on macOS.
    • 307c2ebf feat(core): set macOS app icon in development (#4385) on 2022-06-19

[1.0.0]

  • Upgrade to stable!

[1.0.0-rc.11]

  • Read the tray icon path relatively to the config directory.
    • 562e8ca2 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 refactor(core): use Icon for tray icons (#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 feat(bundler): bundle additional gstreamer files, closes #4092 (#4271) on 2022-06-10

[1.0.0-rc.8]

  • Breaking change: PackageInfo::version is now a semver::Version instead of a String.
    • 2badbd2d refactor: force semver versions, change updater should_install sig (#4215) on 2022-05-25
    • a7388e23 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 feat(core): configure msiexec display options, closes #3951 (#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 feat: allow limiting dangerousDisableAssetCspModification, closes #3831 (#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 fix(codegen): read platform-specific config file (#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 feat(core): add dangerous option to disable compile time CSP injection (#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 replace dependencies with long build times when used together (closes #3571) (#3773) on 2022-03-27

[1.0.0-rc.3]

  • Parse window icons at compile time.
    • 8c935872 refactor(core): move png and ico behind Cargo features (#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 feat(core): set default value for minimum_system_version to 10.13 (#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 fix(core): change default freezePrototype to false, closes #3416 #3406 (#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 feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) on 2022-01-09
  • Added the isolation pattern.
  • 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 Add seamless support for using JSON5 in the config file (#47) on 2022-02-03
  • The minimum Rust version is now 1.56.
    • a9dfc015 feat: update to edition 2021 and set minimum rust to 1.56 (#2789) on 2021-10-22

[1.0.0-beta.4]

  • Embed Info.plist file contents on binary on dev.
    • 537ab1b6 feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) on 2021-08-15
  • Fix ES Module detection for default imports with relative paths or scoped packages and exporting of async functions.
    • b2b36cfe fix(core): fixes ES Module detection for default imports with relative paths or scoped packages (#2380) on 2021-08-10
    • fbf8caf5 fix(core): ESM detection when using export async function (#2425) on 2021-08-14

[1.0.0-beta.3]

  • Improve ESM detection with regexes.
    • 4b0ec018 fix(core): improve JS ESM detection (#2139) on 2021-07-02
  • Inject invoke key on script tags with type="module".
    • f03eea9c feat(core): inject invoke key on <script type="module"> (#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 fix(core): invoke key injection on ES module, improve performance (#2094) on 2021-06-27
  • Improve invoke key code injection performance time rewriting code at compile time.
    • 7765c7fa fix(core): invoke key injection on ES module, improve performance (#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 feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 (#1926) on 2021-05-31
  • Validate tauri.conf.json > build > devPath and tauri.conf.json > build > distDir values.
    • e97846aa feat(core): validate devPath and distDir values (#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.

[1.0.0-beta.0]

  • Breaking: The assets field on the tauri::Context struct is now a Arc<impl Assets>.
    • 5110c70 feat(core): allow users to access the Assets instance (#1691) on 2021-05-03
  • Reintroduce csp injection, configured on tauri.conf.json > tauri > security > csp.
    • 6132f3f feat(core): reintroduce CSP injection (#1704) on 2021-05-04
  • Added the `#[non_exhaustive] attribute where appropriate.
    • e087f0f feat: add #[non_exhaustive] attribute (#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 fix(core): pull package info from tauri.conf.json if set (#1581) on 2021-04-22
    • f575aaa fix: change files not referencing core packages (#1619) on 2021-04-25

[1.0.0-beta-rc.0]

  • Update all code files to have our license header.
    • bf82136 feat(license): SPDX Headers (#1449) on 2021-04-11
    • a6def70 Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455) on 2021-04-11
    • aea6145 refactor(repo): add /tooling folder (#1457) on 2021-04-12