Skip to content

Conversation

Legend-Master
Copy link
Contributor

Closes #2416
Closes #2417

Also aligned check's return to match the js side's structure

@Legend-Master Legend-Master requested a review from a team as a code owner March 28, 2025 11:24
@Legend-Master Legend-Master marked this pull request as draft March 28, 2025 11:24
Copy link
Contributor

github-actions bot commented Mar 28, 2025

Package Changes Through 20e5d33

There are 10 changes which include autostart with minor, autostart-js with minor, http with patch, http-js with patch, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, updater with minor, updater-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.23 2.0.24
api-example-js 2.0.19 2.0.20
deep-link-example-js 2.2.0 2.2.1
autostart 2.2.0 2.3.0
autostart-js 2.2.0 2.3.0
deep-link 2.2.0 2.2.1
deep-link-js 2.2.0 2.2.1
fs 2.2.0 2.2.1
fs-js 2.2.0 2.2.1
dialog 2.2.0 2.2.1
dialog-js 2.2.0 2.2.1
http 2.4.2 2.4.3
http-js 2.4.2 2.4.3
persisted-scope 2.2.0 2.2.1
single-instance 2.2.2 2.2.3
updater 2.6.1 2.7.0
updater-js 2.6.1 2.7.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Legend-Master
Copy link
Contributor Author

Legend-Master commented Mar 28, 2025

Didn't test it locally yet, will mark as ready then

Tested, seems to work

@Legend-Master Legend-Master marked this pull request as ready for review March 28, 2025 13:46
@Legend-Master Legend-Master merged commit 2d731f8 into tauri-apps:v2 Mar 29, 2025
22 checks passed
@Legend-Master Legend-Master deleted the updater-date-format-and-align-option branch March 29, 2025 00:36
gezihuzi pushed a commit to Hypobenthos/plugins-workspace that referenced this pull request Jun 22, 2025
* fix(updater): format `Update.date` to RFC 3339

* Messed up on argument in tauri-apps#2572

* Format

* Update example

* Avoid extra to_string

* Deprecate `Update.available`
lucasfernog added a commit to tauri-apps/tauri that referenced this pull request Aug 12, 2025
check core plugin versions for incompatibilities between Cargo and NPM releases

a plugin NPM/cargo version is considered "incompatible" if their major or minor versions are not equal

on dev we show an warning
on build we error out (with a `--ignore-incompatible-plugins` flag to prevent that)

this is an idea from @oscartbeaumont
we've seen several plugin changes that require updates for both the cargo and the NPM releases of a plugin, and if they are not in sync, the functionality does not work
e.g. tauri-apps/plugins-workspace#2573 where the change actually breaks the app updater if you miss the NPM update
lucasfernog added a commit to tauri-apps/tauri that referenced this pull request Aug 17, 2025
* feat(cli): check plugin versions for incompatibilities

check core plugin versions for incompatibilities between Cargo and NPM releases

a plugin NPM/cargo version is considered "incompatible" if their major or minor versions are not equal

on dev we show an warning
on build we error out (with a `--ignore-incompatible-plugins` flag to prevent that)

this is an idea from @oscartbeaumont
we've seen several plugin changes that require updates for both the cargo and the NPM releases of a plugin, and if they are not in sync, the functionality does not work
e.g. tauri-apps/plugins-workspace#2573 where the change actually breaks the app updater if you miss the NPM update

* Use list to get multiple package versions at once

* Fix for older rust versions

* Clippy

* Support yarn classic

* Support yarn berry

* Use `.cmd` only for `npm`, `yarn`, `pnpm`

* Use yarn list without --pattern

* rename

* Extract function `check_incompatible_packages`

* Check `tauri` <-> `@tauri-apps/api`

* incompatible -> mismatched

* run build check in parallel

* rename struct

* Switch back to use sync check and add todo

* Extract to function `cargo_manifest_and_lock`

---------

Co-authored-by: Tony <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid RFC 3339 date string returned from plugin-updater.check()
2 participants