tauri/core/tauri-build/CHANGELOG.md

7.4 KiB

Changelog

[1.0.0-rc.4]

  • Parse window icons at compile time.
    • Bumped due to a bump in tauri-codegen.
    • 8c935872 refactor(core): move png and ico behind Cargo features (#3588) on 2022-03-05

[1.0.0-rc.3]

  • Automatically emit cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET with the value set on tauri.conf.json > tauri > bundle > macos > minimumSystemVersion.
    • 4bacea5b feat(core): set MACOSX_DEPLOYMENT_TARGET environment variable, closes #2732 (#3496) on 2022-02-17

[1.0.0-rc.2]

  • Rerun if sidecar or resource change.
    • afcc3ec5 fix(build): rerun if resource or sidecar change (#3460) on 2022-02-14

[1.0.0-rc.1]

  • Remove cargo:rerun-if-changed check for non-existent file that caused projects to always rebuild.
    • 65287cd6 remove non-existent cargo rerun check (#3412) on 2022-02-11

[1.0.0-rc.0]

  • Allow user to specify windows sdk path in build.rs.
    • 59b6ee87 fix(tauri-build): allow user to specify win sdk path (fix: #2871) (#2893) on 2021-11-16
  • 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
  • Move the copying of resources and sidecars from cli.rs to tauri-build so using the Cargo CLI directly processes the files for the application execution in development.
    • 5eb72c24 refactor: copy resources and sidecars on the Cargo build script (#3357) on 2022-02-08
  • 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
  • Validate tauri dependency features under Cargo.toml matching tauri.conf.json's allowlist.
    • 4de285c3 feat(core): validate Cargo features matching allowlist [TRI-023] on 2022-01-09

[1.0.0-beta.4]

  • Implement Debug on public API structs and enums.
    • fa9341ba feat(core): implement Debug on public API structs/enums, closes #2292 (#2387) on 2021-08-11

[1.0.0-beta.3]

  • Improve ESM detection with regexes.
    • Bumped due to a bump in tauri-codegen.
    • 4b0ec018 fix(core): improve JS ESM detection (#2139) on 2021-07-02
  • Inject invoke key on script tags with type="module".
    • Bumped due to a bump in tauri-codegen.
    • 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.
    • Bumped due to a bump in tauri-codegen.
    • 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.
    • Bumped due to a bump in tauri-codegen.
    • 7765c7fa fix(core): invoke key injection on ES module, improve performance (#2094) on 2021-06-27

[1.0.0-beta.1]

  • Pull Windows resource information (FileVersion, ProductVersion, ProductName and FileDescription) from tauri.conf.json > package configuration.
    • dc6b0d85 feat(core): set .rc values from tauri.conf.json, closes #1849 (#1951) on 2021-06-05

[1.0.0-beta.0]

  • The try_build method now has a Attributes argument to allow specifying the window icon path used on Windows.
    • c91105f refactor(build): allow setting window icon path on try_build (#1686) on 2021-05-03

[1.0.0-beta-rc.1]

  • The package info APIs now checks the package object on tauri.conf.json.
    • Bumped due to a bump in tauri-codegen.
    • 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