Skip to content

Commit

Permalink
Apply Version Updates From Current Changes (#2522)
Browse files Browse the repository at this point in the history
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
3 people committed Feb 10, 2022
1 parent 18b7ffb commit 0876bbb
Show file tree
Hide file tree
Showing 44 changed files with 2,535 additions and 1,436 deletions.
168 changes: 167 additions & 1 deletion .changes/pre.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,172 @@
{
"tag": "rc",
"changes": [
".changes/going-rc.md"
".changes/allowlist-clipboard.md",
".changes/allowlist-dialog.md",
".changes/allowlist-process.md",
".changes/allowlist-window.md",
".changes/api-WebviewWindow-fileDropEnabled.md",
".changes/api-add-log-dir.md",
".changes/api-change-events.md",
".changes/api-dialog-ask-message-confirm.md",
".changes/api-emit-payload-type.md",
".changes/api-features.md",
".changes/api-fetch-empty-reponse.md",
".changes/api-file-dialog-title.md",
".changes/api-fix-os-platform-return.md",
".changes/api-format-callback.md",
".changes/api-raw-headers.md",
".changes/api-remove-current-dir.md",
".changes/api-remove-ts-files.md",
".changes/api-use-uint8array.md",
".changes/api-window-type-for-size-and-position.md",
".changes/app-any-thread.md",
".changes/app-folder-structure.md",
".changes/asset-allowlist.md",
".changes/asset-cors.md",
".changes/asset-protocol-feature-flag.md",
".changes/asset-resolver.md",
".changes/async-runtime-refactor.md",
".changes/async-runtime-set.md",
".changes/async-runtime-spawn-blocking.md",
".changes/before-script-envs.md",
".changes/build-specify-win-sdk.md",
".changes/bundler-add-provider-short-name.md",
".changes/bundler-appimage-fuse.md",
".changes/bundler-fix-appimage.md",
".changes/bundler-msi-init-installdir.md",
".changes/bundler-print-cfg.md",
".changes/callback-validation.md",
".changes/clap-beta.4-core.md",
".changes/clap-beta.4.md",
".changes/cli-config-path.md",
".changes/cli.js-cjs-output.md",
".changes/cli.js-fix-ico.md",
".changes/cli.rs-active-toolchain.md",
".changes/cli.rs-build-tools-info.md",
".changes/cli.rs-default-svelte-port.md",
".changes/cli.rs-detect-git.md",
".changes/cli.rs-dialoguer.md",
".changes/cli.rs-fix-windows-x86.md",
".changes/cli.rs-refactor-signer.md",
".changes/cli.rs-use-tauri-utils.md",
".changes/cli.rs-validate-dist-dir.md",
".changes/cli.rs-wix-license.md",
".changes/command-feature-flag.md",
".changes/consistent-event-name-usage.md",
".changes/core-add-log-dir.md",
".changes/core-center-window.md",
".changes/core-env.md",
".changes/core-path-endpoint-path-doesnt-exist-error.md",
".changes/create-window-return-window.md",
".changes/csp-nonces.md",
".changes/cta-add-empty-description-for-rust-dominator.md",
".changes/cta-ci-compatible.md",
".changes/cta-react-disable-open-browser.md",
".changes/cta-solid-recipe.md",
".changes/current-binary-caching.md",
".changes/custom-invoke-system.md",
".changes/data-url-csp.md",
".changes/dev-csp.md",
".changes/dev-server-exit.md",
".changes/emit-and-trigger-tauri-events.md",
".changes/emit-window-created-backend.md",
".changes/enable-linux-cookie-persistence.md",
".changes/expose-escape-json-string.md",
".changes/fix-asset-protocol-panicking.md",
".changes/fix-block-on-runtime.md",
".changes/fix-close-requested-js-event.md",
".changes/fix-deadlock-create-window-from-menu.md",
".changes/fix-deadlock-path-iter.md",
".changes/fix-dialog-default-path.md",
".changes/fix-focus-blur-events-wry.md",
".changes/fix-focus-blur-events.md",
".changes/fix-inner-size.md",
".changes/fix-linux-resource-path.md",
".changes/fix-menu-ids.md",
".changes/fix-once-fnonce.md",
".changes/fix-out-dir-detection.md",
".changes/fix-ready-check.md",
".changes/fix-tray-command.md",
".changes/fix-tray-remove-windows.md",
".changes/fix-window-created-listen.md",
".changes/fix-window-label-api.md",
".changes/fix-window-specific-event-system.md",
".changes/fix-yarn-pnp.md",
".changes/fixed-webview2-runtime.md",
".changes/force-updater-public-key.md",
".changes/get-menu.md",
".changes/going-rc.md",
".changes/http-refactor.md",
".changes/isolation-pattern.md",
".changes/join-handle-abort.md",
".changes/json5.md",
".changes/link-stop-propagation.md",
".changes/linux-cors.md",
".changes/linux-run-return.md",
".changes/main-thread-api-calls.md",
".changes/menu-with-items-constructor.md",
".changes/misign-update.md",
".changes/mutable-callbacks.md",
".changes/notification-regression.md",
".changes/open-devtools.md",
".changes/package-json-configure-app-path.md",
".changes/plugin-builder.md",
".changes/plugin-command.md",
".changes/plugin-on_event.md",
".changes/prevent-path-traversal.md",
".changes/private-api.md",
".changes/raw-headers.md",
".changes/raw-window-handle.md",
".changes/refactor-create-tao-window.md",
".changes/refactor-dialog-apis.md",
".changes/refactor-notification-permission-check.md",
".changes/refactor-resources-sidecar-copying.md",
".changes/refactor-window-event-close-requested.md",
".changes/refactor-window-metadata.md",
".changes/remove-current-base-directory.md",
".changes/remove-tauricon.md",
".changes/remove-window-default.md",
".changes/rpc-mod-refactor.md",
".changes/run-on-main-thread.md",
".changes/runtime-any-thread.md",
".changes/runtime-handle-run-on-main-thread.md",
".changes/runtime-ipc.md",
".changes/runtime-open-devtools.md",
".changes/rust-1.56.0.md",
".changes/rust-1.57.md",
".changes/scope-config.md",
".changes/scopes.md",
".changes/setup-fn-once.md",
".changes/shell-open-with-refactor.md",
".changes/sidecar-allowlist.md",
".changes/sidecar-runtime-rename.md",
".changes/simplify-window-label-types.md",
".changes/streaming-small-file-fix.md",
".changes/strip.md",
".changes/tooling-fix-pnpm-info-error.md",
".changes/tray-set-menu.md",
".changes/universal-apple-target-sidecar.md",
".changes/universal-apple-target.md",
".changes/unlisten.md",
".changes/updater-endpoint-url-https.md",
".changes/validate-allowlist.md",
".changes/validate-appimage.md",
".changes/validate-event-name.md",
".changes/validate-window-label.md",
".changes/version-package-json.md",
".changes/wait-dev-server-url.md",
".changes/webdriver-args.md",
".changes/webview-attributes-clipboard.md",
".changes/webview2-com.md",
".changes/window-confirm.md",
".changes/windows-0.25.0.md",
".changes/windows-modify-cmd-string-behaviour.md",
".changes/windows-null.md",
".changes/wix-localization.md",
".changes/wix-registry-keys.md",
".changes/wix-run-app.md",
".changes/wix-signing.md",
".changes/wry-13.md"
]
}
2 changes: 1 addition & 1 deletion .scripts/update-lockfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT

declare -a examples=("api" "sidecar" "updater" "resources")
declare -a examples=("api" "sidecar" "updater" "resources", "isolation")
declare -a tooling=("bench" "cli" "webdriver")

for example in "${examples[@]}"
Expand Down
25 changes: 25 additions & 0 deletions core/tauri-build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## \[1.0.0-rc.0]

- Allow user to specify windows sdk path in build.rs.
- [59b6ee87](https://www.github.com/tauri-apps/tauri/commit/59b6ee87932d341433032befe3babd897ed8f7d0) fix(tauri-build): allow user to specify win sdk path (fix: [#2871](https://www.github.com/tauri-apps/tauri/pull/2871)) ([#2893](https://www.github.com/tauri-apps/tauri/pull/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](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
- 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](https://www.github.com/tauri-apps/tauri/commit/5eb72c24deddf5a01093bea96b90c0d8806afc3f) refactor: copy resources and sidecars on the Cargo build script ([#3357](https://www.github.com/tauri-apps/tauri/pull/3357)) on 2022-02-08
- 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
- Validate `tauri` dependency `features` under `Cargo.toml` matching `tauri.conf.json`'s `allowlist`.
- [4de285c3](https://www.github.com/tauri-apps/tauri/commit/4de285c3967d32250d73acdd5d171a6fd332d2b3) 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.
Expand Down
8 changes: 4 additions & 4 deletions core/tauri-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-build"
version = "1.0.0-beta.4"
version = "1.0.0-rc.0"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
Expand All @@ -19,8 +19,8 @@ rustdoc-args = [ "--cfg", "doc_cfg" ]
[dependencies]
anyhow = "1"
quote = { version = "1", optional = true }
tauri-codegen = { version = "1.0.0-beta.4", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils", features = [ "build", "resources" ] }
tauri-codegen = { version = "1.0.0-rc.0", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "1.0.0-rc.0", path = "../tauri-utils", features = [ "build", "resources" ] }
cargo_toml = "0.11"
serde_json = "1"

Expand All @@ -29,5 +29,5 @@ winres = "0.1"

[features]
codegen = [ "tauri-codegen", "quote" ]
isolation = ["tauri-codegen/isolation", "tauri-utils/isolation"]
isolation = [ "tauri-codegen/isolation", "tauri-utils/isolation" ]
config-json5 = [ "tauri-utils/config-json5" ]
23 changes: 23 additions & 0 deletions core/tauri-codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## \[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.studio> 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.
Expand Down
8 changes: 4 additions & 4 deletions core/tauri-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-codegen"
version = "1.0.0-beta.4"
version = "1.0.0-rc.0"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
Expand All @@ -20,7 +20,7 @@ proc-macro2 = "1"
quote = "1"
serde = { version = "1", features = [ "derive" ] }
serde_json = "1"
tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils", features = [ "build" ] }
tauri-utils = { version = "1.0.0-rc.0", path = "../tauri-utils", features = [ "build" ] }
thiserror = "1"
walkdir = "2"
zstd = { version = "0.10", optional = true }
Expand All @@ -30,6 +30,6 @@ uuid = { version = "0.8", features = [ "v4" ] }
[features]
default = [ "compression" ]
compression = [ "zstd", "tauri-utils/compression" ]
isolation = ["tauri-utils/isolation"]
shell-scope = ["regex"]
isolation = [ "tauri-utils/isolation" ]
shell-scope = [ "regex" ]
config-json5 = [ "tauri-utils/config-json5" ]
19 changes: 19 additions & 0 deletions core/tauri-macros/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## \[1.0.0-rc.0]

- 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.5]

- Embed Info.plist file contents on binary on dev.
Expand Down
10 changes: 5 additions & 5 deletions core/tauri-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tauri-macros"
version = "1.0.0-beta.5"
version = "1.0.0-rc.0"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "os", "filesystem", "web-programming" ]
license = "Apache-2.0 OR MIT"
Expand All @@ -20,12 +20,12 @@ proc-macro2 = "1"
quote = "1"
syn = { version = "1", features = [ "full" ] }
heck = "0.4"
tauri-codegen = { version = "1.0.0-beta.4", default-features = false, path = "../tauri-codegen" }
tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils" }
tauri-codegen = { version = "1.0.0-rc.0", default-features = false, path = "../tauri-codegen" }
tauri-utils = { version = "1.0.0-rc.0", path = "../tauri-utils" }

[features]
custom-protocol = [ ]
compression = [ "tauri-codegen/compression" ]
isolation = ["tauri-codegen/isolation"]
shell-scope = ["tauri-codegen/shell-scope"]
isolation = [ "tauri-codegen/isolation" ]
shell-scope = [ "tauri-codegen/shell-scope" ]
config-json5 = [ "tauri-codegen/config-json5", "tauri-utils/config-json5" ]
Loading

0 comments on commit 0876bbb

Please sign in to comment.