Lucas Fernandes Nogueira
c43d5df158
feat(cli): associate newly created capability with the main window ( #11512 )
...
without this change the capability is not applied to any context and it might be hard for users to figure out why
2024-10-28 14:05:24 +03:00
Lucas Fernandes Nogueira
627e90c304
fix(ci): install librsvg2-dev on the publish cli workflow ( #11331 )
2024-10-12 17:57:18 -03:00
Lucas Fernandes Nogueira
4a2d51a73a
fix(ci): add missing librsvg2-dev dependency for e2e tests ( #11329 )
2024-10-12 11:27:33 -03:00
Hamir Mahal
e2a4da027c
fix: usage of node12 which is deprecated ( #11224 )
2024-10-05 13:22:18 -03:00
Lucas Fernandes Nogueira
0ab2b33064
fix: downgrade MSRV to 1.77.2 to support Windows 7 ( #11205 )
...
* fix: downgrade MSRV to 1.77.2 to support Windows 7
* add chang file
2024-10-03 08:07:50 -03:00
Lucas Fernandes Nogueira
be683e2ac3
fix: publish NPM packages with latest tag ( #11199 )
2024-10-02 10:37:42 -03:00
Lucas Fernandes Nogueira
c7b9a53525
chore: promote to v2 stable ( #11198 )
...
* chore: promote to v2 stable
- deletes all RC change files
- adds a new change file to promote all packages to v2 stable
- manually fix the tauri-driver, tauri-macos-sign, tauri-bundler versions so the next covector bump will move them to 2.0.0
- manually patch the metadata-v2.json file so the next covector update will mark all packages as 2.0.0
* ignore audit vuln without fixes
* bump msrv to 1.78
* run covector version
* fix sync lockfile covector
* #[allow(clippy::manual_inspect)]
2024-10-02 09:42:45 -03:00
Amr Bashir
62b52f60a2
fix(cli/add): use >= for npm and ~ for other package managers ( #11064 )
...
* fix(cli/add): use `>=` for npm and `~` for other package managers
closes #10906
* headers
* fix audit
* fix headers
2024-09-19 23:11:40 +03:00
Amr Bashir
5f694c3d4c
ci: use correct version for cloudflare/wrangler-action action ( #11033 )
2024-09-17 11:10:46 +02:00
Amr Bashir
a1cce04260
feat: add tauri-schema-worker ( #10871 )
2024-09-17 00:52:56 +03:00
Lucas Nogueira
e568956e48
fix(ci): pin artifact actions
2024-09-04 19:48:48 -03:00
dependabot[bot]
e885c17ab6
build(deps): bump actions/download-artifact in /.github/workflows ( #10883 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 17:08:39 -03:00
Hamir Mahal
11b3ab1468
ci: update setup-python action to v5 to fix deprecated node version ( #10881 )
2024-09-04 00:57:16 +03:00
Lucas Fernandes Nogueira
cc799b2cc8
fix(ci): publish CLI workflow wrong target path ( #10816 )
2024-08-28 17:02:15 -03:00
Amr Bashir
d14a2a55f0
ci: fix a few relative paths ( #10813 )
...
* ci: fix a few relative paths
* Update .changes/config.json
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-08-28 13:27:33 -03:00
Amr Bashir
431208207b
ci: fix building cli in integration test ( #10811 )
2024-08-28 11:54:35 -03:00
Lucas Fernandes Nogueira
f4bfd0722e
fix(ci): check change tags script ( #10803 )
2024-08-28 03:20:45 +03:00
Amr Bashir
36eee37220
Restructure the repository ( #10796 )
...
* Restructure the repository
* lock file
* fmt
* fix bench
* fix cli template test
* remove accidental file
* fix mv command
* clippy
* upgrade paths-filter github action
* fix cli migration tests
* lockfile
* license headers
* clippy
* scope test-core to tauri crate
* license header
* correct --manifest-path usage
* lockfile
* fix tauri-driver on macOS [skip ci]
* build target ios
* try downgrade env_logger
* downgrade 0.1.7
* try to fix bench
* bench overflow
* revert overflow fix, fix tauri_root_path
* revert env_logger downgrade
* fmt
* raise msrv to 1.71
* fmt
* delete .cargo/config.toml [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-27 18:42:30 -03:00
Amr Bashir
70306dc79b
ci: check toml formatting with taplo-cli ( #10787 )
...
* ci: check toml formatting with taplo-cli
* change name of job
* { workspace = true } -> .workspace = true
* add taplo.toml
2024-08-26 21:46:05 -03:00
Tony
12e477ac38
fix(ci): missing pnpm on check api action ( #10778 )
...
* ci: fix missing pnpm on check api action
* Add set up node action
2024-08-26 15:12:24 +03:00
Lucas Nogueira
086271b73e
fix(ci): install Linux dependencies on covector workflow
2024-08-19 23:37:43 -03:00
martin frances
6b63c75504
For linting and testing auto update the node version to "lts/*" ( #10323 )
2024-08-18 07:55:38 -03:00
Lucas Fernandes Nogueira
23a912bb84
fix(ci): @tauri-apps/cli publish workflow ( #10659 )
...
* fix(ci): pnpm install
* fix setup-node
* node16 setup fails somehow
* remove unnecessary install deps step
* run nodejs directly
* fix permissions
* fix metadata
2024-08-17 08:21:27 -03:00
Lucas Nogueira
167a0feb31
fix(ci): missing id-token write permission for provenance
2024-08-17 00:38:09 -03:00
Lucas Nogueira
85c2d6302e
fix(ci): set NPM_CONFIG_PROVENANCE to true
2024-08-17 00:15:00 -03:00
Lucas Nogueira
dd5b081eeb
fix(ci): install pnpm on integration tests
2024-08-16 23:13:35 -03:00
Amr Bashir
01f6aa3405
build: migrate repo to use pnpm as the package manager ( #10607 )
...
* build: migrate repo to use `pnpm` as the pacakge manager
* corepack enable
* update lock file
* format files
* format .github
* fix audit js
* wrap in quotes
* --frozen-lockfile
* simplify packageManager field
* lockfile
* remove cache from audit workflow
2024-08-16 23:04:08 -03:00
rwv
008b9f7481
chore: generate provenance statements for npm package ( #10477 )
...
* chore: generate provenance statements for npm package
See also https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
* also add --provenance for covector publishes
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-08-10 15:48:04 -03:00
Fabian-Lars
00e5a6ac74
fix(cli): allow actions: write for version-or-publish to fix cli publishing ( #10525 )
2024-08-08 07:25:59 -03:00
Lucas Nogueira
9ed8fe8c92
fix(cli): allow write on pull-requests for version-or-publish
2024-08-07 14:32:06 -03:00
Fabian-Lars
ab382f4ca9
ci: Use GITHUB_TOKEN for workflow_dispatch via gh cli ( #10493 )
2024-08-05 10:12:29 -03:00
Lucas Fernandes Nogueira
8b3e6eccf4
fix(ci): gh CLI expects the GH_TOKEN env var ( #10333 )
2024-07-20 09:42:40 -03:00
Jacob Bolda
cfc53074d0
(chore) covector comment on forks ( #10331 )
...
* (chore) covector comment on forks
* bump header year
* Update .github/workflows/covector-comment-on-fork.yml
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-07-20 09:17:06 -03:00
Fabian-Lars
202f15fc40
ci: Fix cli auto publishing ( #10223 )
2024-07-12 10:45:55 -03:00
Amr Bashir
2c076d63d0
ci: recognize contributors in releases ( #10003 )
2024-07-12 09:02:26 -03:00
Tillmann
4942d809ab
feat: Auto Generation of ACL Schema File for Documentation ( #9903 )
...
* Add auto generated acl schema files for docs
* update CI
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-05-29 09:32:58 -03:00
Jason Tsai
86250a476e
ci: fix typo in android test workflow ( #9800 )
2024-05-16 18:44:48 +02:00
Tillmann
67ea20999b
ci: Fix cargo vet command typo ( #9771 )
...
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
2024-05-14 12:39:12 +02:00
Tillmann
e78bfa722e
fix: Only provide cargo-vet suggestions for now ( #9714 )
...
As the workflow is failing because of a larger number of unvetted dependencies I transform this to suggestions only until we have a better vetting workflow and resources to audit available.
2024-05-09 09:04:35 -03:00
Amr Bashir
6f281b2e30
ci: pin cross to a commit before they bumped msrv ( #9712 )
...
* ci: pin `cross` to a commit before they bumped msrv
bump commit: 7129d5ab15
pre-bump commit: 1b8cf50d20
* Update test-core.yml
2024-05-09 08:58:45 -03:00
Fabian-Lars
5a213a4bdc
ci: Fix publishing of cli-macos-x64 ( #9584 )
2024-04-29 16:23:13 +03:00
Fabian-Lars
6d5a396ae9
ci: Remove nodejs14 test in cli.js publishing workflow ( #9568 )
2024-04-25 12:45:15 +02:00
Fabian-Lars
e64b8f1dce
chore: merge remote-tracking branch '1.x' into v2 ( #9479 )
...
* chore: port PR template from `dev` branch (#9004 )
* fix(runtime-wry): avoid panic during clipboard initialization on wayland (#9003 )
closes #8964
* ci: downgrade thread_local to 1.1.7 in msrv list (#9012 )
* Apply Version Updates From Current Changes (v1) (#9013 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
* fix(bundler): escape potentially problematic strings in an XML (#9040 )
* fix(bundler): escape potentially problematic strings in an XML (#9030 )
- replace characters invalid in XML with their escaped form to properly bundle resources with such characters in their pathnames.
* change file
* fix(cli): use `matched_path_or_any_parents` when checking if a file is ignored (#8903 )
* fix: taurignore ignoreing folders not working for watch
* docs: add to changes
* fix: panic: path is expected to be under the root
* Update taurignore-ignoring-folders-not-working-for-watch.md
* Update taurignore-ignoring-folders-not-working-for-watch.md
* fix(cli): migrate to stable features of `log` crate (#9119 )
* fix(cli): migrate to stable features of `log` crate
* to_cow_str
* Apply Version Updates From Current Changes (v1) (#9074 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
* fix(core/path): remove suffix in basename only once (#9166 )
* fix(core/path): remove suffix in basename only once
ref: #9064
* Update tooling/api/src/path.ts
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* fix(cli): Clone Options struct after mutating it. (#9188 )
* fix(bundler): Fix nsis resource paths on non-windows build systems. (#9281 )
* fix(bundler): Fix nsis resource paths on non-windows build systems.
* remove leftover from alternative
* fix(bundler/nsis): Don't use /R flag on installation dir (#9282 )
* fix(cli): upgrade heck to better support Chinese/Japanese prodcut name on Linux (#9298 )
* chore: fix clippy false positive (#9329 )
* fix(cli/info): fix crash when checking node version (#9411 )
closes #9396
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: bifs <127015052+bifs@users.noreply.github.com >
Co-authored-by: anatawa12 <anatawa12@icloud.com >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Jet Li <jing.i.qin@icloud.com >
2024-04-18 05:21:21 +02:00
Tillmann
edc9923c5b
Feat: Initial cargo-vet Support ( #9216 )
...
* add cargo-vet with reasonable trusted entities
* update paths
* license header
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-03-19 11:39:42 -03:00
Lucas Fernandes Nogueira
2ca9afb576
fix(ci): set token for repository-dispatch to publish CLIs ( #9048 )
2024-03-01 12:15:28 -03:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Amr Bashir
f5f3ed5f6f
fix(cli): CLI path issues on mobile project initialization ( #9009 )
...
* fix(cli): fix panic when `android init` using cargo or yarn
closes #8531
* clippy
* try with fullpath
* clippy
* move cli
* Update test-android.yml
* add to path instead
* clippy
* try moving
* use cargo subcommand
* delete unused logic [skip ci]
* truncate on init [skip ci]
* enhance binary/args check
* update change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-28 14:38:24 -03:00
Lucas Nogueira
7190935680
chore(ci): add covector workflow for 1.x branch
2024-02-27 21:29:53 -03:00
Amr Bashir
16e550ec15
refactor(core): add webview events ( #8844 )
...
* refactor(core): add webview events
* license header
* clippy
* fix doctests
* more doctests
* fix JS `listen` with `EventTarget::Any`
* typo
* update module import
* clippy
* remove console.log
* fix api example
* fix documentation for emiTo [skip ci]
* actually add RunEvent::WebviewEvent
* update migration
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-02-16 08:07:39 -03:00
Lucas Fernandes Nogueira
cb613beea6
fix(ci): test-android NDK error ( #8738 )
...
* fix(ci): test-android NDK error
* only on unix
2024-02-03 08:11:02 -03:00