diff --git a/.changes/pre.json b/.changes/pre.json index c053d9f5c..cf57e0999 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -8,6 +8,7 @@ ".changes/cta-remove-tauri-from-vanilla.md", ".changes/cta-tauri-script.md", ".changes/event-once.md", + ".changes/fix-js-api-import.md", ".changes/nested-events.md", ".changes/sync-metadata.md" ] diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 413b0a9f3..23d099ea6 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[1.0.0-beta-rc.2] + +- TS was wrongly re-exporting the module. + - [fcb3b48](https://www.github.com/tauri-apps/tauri/commit/fcb3b4857efa17d2a3717f32457e88b24520cc9b) fix: [#1512](https://www.github.com/tauri-apps/tauri/pull/1512) ([#1517](https://www.github.com/tauri-apps/tauri/pull/1517)) on 2021-04-19 + - [ae14a3f](https://www.github.com/tauri-apps/tauri/commit/ae14a3ff51a742b6ab6f76bbfc21f385310f1dc6) fix: [#1517](https://www.github.com/tauri-apps/tauri/pull/1517) had the wrong package reference in the changefile ([#1538](https://www.github.com/tauri-apps/tauri/pull/1538)) on 2021-04-19 + ## \[1.0.0-beta-rc.1] - Missing the `files` property in the package.json which mean that the `dist` directory was not published and used. diff --git a/tooling/api/package.json b/tooling/api/package.json index bcb3087a7..00377fc13 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "1.0.0-beta-rc.1", + "version": "1.0.0-beta-rc.2", "description": "Tauri API definitions", "main": "./index.js", "typings": "./index.d.ts", diff --git a/tooling/cli.js/CHANGELOG.md b/tooling/cli.js/CHANGELOG.md index 251b56cf7..2101ba845 100644 --- a/tooling/cli.js/CHANGELOG.md +++ b/tooling/cli.js/CHANGELOG.md @@ -5,17 +5,11 @@ - Add missing camelcase rename for config - Bumped due to a bump in cli.rs. - [bdf7072](https://www.github.com/tauri-apps/tauri/commit/bdf707285e3d307ab083009c274ccb56d5053ff2) fix(cli.rs/info): add missing camelCase rename ([#1505](https://www.github.com/tauri-apps/tauri/pull/1505)) on 2021-04-14 - - Fix `tauri info` - - Properly detect `yarn` and `npm` versions on windows. - - Fix a panic caused by a wrong field name in `metadata.json` - - Bumped due to a bump in cli.rs. - - [71666e9](https://www.github.com/tauri-apps/tauri/commit/71666e9f9cfb5499a727b3f95182e89073f67d7b) fix(cli.rs): fix panic & use `cmd` to run `yarn`&`npm` on windows ([#1511](https://www.github.com/tauri-apps/tauri/pull/1511)) on 2021-04-17 - - Sync `metadata.json` via script to update version reference to cli.js, tauri (core) and tauri-build. - Bumped due to a bump in cli.rs. - [1f64927](https://www.github.com/tauri-apps/tauri/commit/1f64927362ef20761d7cd3591281519eb292aa33) chore: sync cli.rs metadata.json file versions ([#1534](https://www.github.com/tauri-apps/tauri/pull/1534)) on 2021-04-19 @@ -194,6 +188,6 @@ ## \[0.8.0] - Create UMD, ESM and CJS artifacts for the JavaScript API entry point from TS source using rollup. -- Renaming window.tauri to window.\__TAURI\_\_, closing #435. - The **Tauri** object now follows the TypeScript API structure (e.g. window.tauri.readTextFile is now window.\__TAURI\_\_.fs.readTextFile). +- Renaming `window.tauri` to `window.__TAURI__`, closing #435. + The **Tauri** object now follows the TypeScript API structure (e.g. `window.tauri.readTextFile` is now `window.__TAURI__.fs.readTextFile`). If you want to keep the `window.tauri` object for a while, you can add a [mapping object](https://gist.github.com/lucasfernog/8f7b29cadd91d92ee2cf816a20c2ef01) to your code. diff --git a/tooling/cli.rs/CHANGELOG.md b/tooling/cli.rs/CHANGELOG.md index 9ed82e1b6..0b68b5a91 100644 --- a/tooling/cli.rs/CHANGELOG.md +++ b/tooling/cli.rs/CHANGELOG.md @@ -4,15 +4,10 @@ - Add missing camelcase rename for config - [bdf7072](https://www.github.com/tauri-apps/tauri/commit/bdf707285e3d307ab083009c274ccb56d5053ff2) fix(cli.rs/info): add missing camelCase rename ([#1505](https://www.github.com/tauri-apps/tauri/pull/1505)) on 2021-04-14 - - Fix `tauri info` - - Properly detect `yarn` and `npm` versions on windows. - - Fix a panic caused by a wrong field name in `metadata.json` - - [71666e9](https://www.github.com/tauri-apps/tauri/commit/71666e9f9cfb5499a727b3f95182e89073f67d7b) fix(cli.rs): fix panic & use `cmd` to run `yarn`&`npm` on windows ([#1511](https://www.github.com/tauri-apps/tauri/pull/1511)) on 2021-04-17 - - Sync `metadata.json` via script to update version reference to cli.js, tauri (core) and tauri-build. - [1f64927](https://www.github.com/tauri-apps/tauri/commit/1f64927362ef20761d7cd3591281519eb292aa33) chore: sync cli.rs metadata.json file versions ([#1534](https://www.github.com/tauri-apps/tauri/pull/1534)) on 2021-04-19