diff --git a/.changes/clipboard-api.md b/.changes/clipboard-api.md index 4c799d622b9..681ddf14fe3 100644 --- a/.changes/clipboard-api.md +++ b/.changes/clipboard-api.md @@ -1,8 +1,8 @@ --- "api": patch "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `clipboard` APIs (write and read text). diff --git a/.changes/focus.md b/.changes/focus.md index a1c7ecec0a8..25359b18a32 100644 --- a/.changes/focus.md +++ b/.changes/focus.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `focus` API to the WindowBuilder. diff --git a/.changes/is-decorated.md b/.changes/is-decorated.md index 0cfb498166e..7e4b2e406c7 100644 --- a/.changes/is-decorated.md +++ b/.changes/is-decorated.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `is_decorated` getter on Window. diff --git a/.changes/is-resizable.md b/.changes/is-resizable.md index 45a084327f4..e4b096eef75 100644 --- a/.changes/is-resizable.md +++ b/.changes/is-resizable.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `is_resizable` getter on Window. diff --git a/.changes/is-visible.md b/.changes/is-visible.md index 75a8b4b5be9..a3931eca32e 100644 --- a/.changes/is-visible.md +++ b/.changes/is-visible.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `is_visible` getter on Window. diff --git a/.changes/private-context.md b/.changes/private-context.md index dbad3b8ccd3..315cd291622 100644 --- a/.changes/private-context.md +++ b/.changes/private-context.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- **Breaking:** `Context` fields are now private, and is expected to be created through `Context::new(...)`. diff --git a/.changes/runtime-global-shortcut.md b/.changes/runtime-global-shortcut.md index eaca6f23f90..c6e29b688d5 100644 --- a/.changes/runtime-global-shortcut.md +++ b/.changes/runtime-global-shortcut.md @@ -1,6 +1,6 @@ --- -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds global shortcut interfaces. diff --git a/.changes/runtime-request-user-attention.md b/.changes/runtime-request-user-attention.md index 65b4ed8886e..9476e6d3c69 100644 --- a/.changes/runtime-request-user-attention.md +++ b/.changes/runtime-request-user-attention.md @@ -1,6 +1,6 @@ --- -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `request_user_attention` API to the `Dispatcher` trait. diff --git a/.changes/runtime-show-hide-menu.md b/.changes/runtime-show-hide-menu.md index 07bd251306f..b9835f01d23 100644 --- a/.changes/runtime-show-hide-menu.md +++ b/.changes/runtime-show-hide-menu.md @@ -1,6 +1,6 @@ --- -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `show_menu`, `hide_menu` and `is_menu_visible` APIs to the `Dispatcher` trait. diff --git a/.changes/set-focus.md b/.changes/set-focus.md index 838b032085d..322690c1dff 100644 --- a/.changes/set-focus.md +++ b/.changes/set-focus.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `set_focus` API on Window. diff --git a/.changes/set-skip-taskbar.md b/.changes/set-skip-taskbar.md index f250e246d6d..9cd73be1a48 100644 --- a/.changes/set-skip-taskbar.md +++ b/.changes/set-skip-taskbar.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `set_skip_taskbar` API on Window. diff --git a/.changes/simplify-handle-event-loop.md b/.changes/simplify-handle-event-loop.md index afaf16340fb..114789dc19b 100644 --- a/.changes/simplify-handle-event-loop.md +++ b/.changes/simplify-handle-event-loop.md @@ -1,5 +1,5 @@ --- -"tauri-runtime-wry": patch +"tauri-runtime-wry": minor --- Update `wry` to v0.10.0 and replace the removed `dispatch_script` and `evaluate_script` methods with the new `evaluate_script` method in `handle_event_loop`. diff --git a/.changes/skip-taskbar.md b/.changes/skip-taskbar.md index 64e849af25e..b5cc84e6b9d 100644 --- a/.changes/skip-taskbar.md +++ b/.changes/skip-taskbar.md @@ -1,7 +1,7 @@ --- "tauri": patch -"tauri-runtime": patch -"tauri-runtime-wry": patch +"tauri-runtime": minor +"tauri-runtime-wry": minor --- Adds `skip_taskbar` API to the WindowBuilder. diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 48a7d539940..2efc071f6c5 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -109,11 +109,11 @@ jobs: - name: meilisearch indexation uses: tauri-apps/docusaurus-meilisearch-indexer@v1 with: - - version: ${{ github.event.release.tag_name }} - - docusaurusPath: ./tauri-docs - - host: https://search.tauri.studio - - apiKey: ${{ secrets.MEILISEARCH_APIKEY }} - - docs: "Getting started,Usage,API" + version: ${{ github.event.release.tag_name }} + docusaurusPath: ./tauri-docs + host: https://search.tauri.studio + apiKey: ${{ secrets.MEILISEARCH_APIKEY }} + docs: "Getting started,Usage,API" # Applying Version - name: set docs' Tauri version @@ -121,10 +121,14 @@ jobs: run: echo ${{ github.event.release.tag_name }} > version.txt - name: set bot's Tauri version working-directory: ./tauri-search-bot - uses: iamsauravsharma/create-dotenv@v1.1.0 + run: echo ${{ github.event.release.tag_name }} > version.txt + + - uses: iamsauravsharma/create-dotenv@v1.1.0 + with: + directory: './tauri-search-bot' env: ENV_KEY_DISCORD_BOT_SECRET: ${{ secrets.DISCORD_BOT_SECRET }} - ENV_KEY_PREFIX: ! + ENV_KEY_PREFIX: \! ENV_KEY_SITE: tauri.studio ENV_KEY_ICON: https://i.imgur.com/UzDERvw.png ENV_KEY_LIMIT: 5 @@ -133,13 +137,12 @@ jobs: # Bot Deployment - name: scp bot - working-directory: ./tauri-search-bot uses: appleboy/scp-action@master with: host: ${{ secrets.DISCORD_BOT_HOST }} username: ${{ secrets.DISCORD_BOT_SSH_USER }} key: ${{ secrets.DISCORD_BOT_SSH_KEY }} - source: "." + source: "./tauri-search-bot" target: "~/tauri-search-bot" - name: restart the bot uses: appleboy/ssh-action@master diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index f825c968623..0b68d616bcc 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -91,17 +91,19 @@ jobs: working-directory: ./tauri-docs run: echo ${{ github.event.inputs.version || github.event.release.tag_name }} > version.txt - name: set bot's Tauri version - uses: iamsauravsharma/create-dotenv@v1.1.0 + working-directory: ./tauri-search-bot + run: echo ${{ github.event.inputs.version || github.event.release.tag_name }} > version.txt + + - uses: iamsauravsharma/create-dotenv@v1.1.0 with: - env-prefix: "ENV_KEY_" - directory: "${{ github.workspace }}/tauri-search-bot" + directory: './tauri-search-bot' env: ENV_KEY_DISCORD_BOT_SECRET: ${{ secrets.DISCORD_BOT_SECRET }} - ENV_KEY_PREFIX: "!" + ENV_KEY_PREFIX: \! ENV_KEY_SITE: tauri.studio ENV_KEY_ICON: https://i.imgur.com/UzDERvw.png - ENV_KEY_LIMIT: 8 - ENV_KEY_SEARCH_INDEX: ${{ github.event.inputs.version || github.event.release.tag_name }} + ENV_KEY_LIMIT: 5 + ENV_KEY_SEARCH_INDEX: ${{ github.event.release.tag_name }} ENV_KEY_MEILISEARCH_PUBLIC_KEY: ea0105f56bb5a2111ed28c7a0c637fc0bed07273f571dc7cb1f73900e44f8e7f # Bot Deployment @@ -111,7 +113,7 @@ jobs: host: ${{ secrets.DISCORD_BOT_HOST }} username: ${{ secrets.DISCORD_BOT_SSH_USER }} key: ${{ secrets.DISCORD_BOT_SSH_KEY }} - source: "${{ github.workspace }}/tauri-search-bot" + source: "./tauri-search-bot" target: "~/tauri-search-bot" - name: restart the bot uses: appleboy/ssh-action@master @@ -119,7 +121,7 @@ jobs: host: ${{ secrets.DISCORD_BOT_HOST }} username: ${{ secrets.DISCORD_BOT_SSH_USER }} key: ${{ secrets.DISCORD_BOT_SSH_KEY }} - script: cd ~/tauri-search-bot/github/workspace/tauri-search-bot && yarn && forever stopall && forever start ./src/index.js + script: cd ~/tauri-search-bot && yarn && forever stopall && forever start ./src/index.js # tauri-docs PR - name: git config