Skip to content

Revert "fix(deps): update specta in lockfile" - #15305

Merged
Legend-Master merged 3 commits into
devfrom
revert-15303-update-specta-to-fix-docs
Apr 30, 2026
Merged

Revert "fix(deps): update specta in lockfile"#15305
Legend-Master merged 3 commits into
devfrom
revert-15303-update-specta-to-fix-docs

Conversation

@Legend-Master

@Legend-Master Legend-Master commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Reverts #15303

Looking at https://docs.rs/crate/tauri/latest/builds/2963776, it seems to be pulling in specta-2.0.0-rc.23 which is not in the lockfile 🤷‍♂️

@github-actions

github-actions Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Package Changes Through f181925

There are 11 changes which include tauri with minor, @tauri-apps/api with minor, tauri-build with minor, tauri-macos-sign with patch, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, tauri-plugin 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
@tauri-apps/api 2.10.1 2.11.0
tauri-utils 2.8.3 2.9.0
tauri-macos-sign 2.3.3 2.3.4
tauri-bundler 2.8.1 2.9.0
tauri-runtime 2.10.1 2.11.0
tauri-runtime-wry 2.10.1 2.11.0
tauri-codegen 2.5.5 2.5.6
tauri-macros 2.5.5 2.5.6
tauri-plugin 2.5.4 2.6.0
tauri-build 2.5.6 2.6.0
tauri 2.10.3 2.11.0
@tauri-apps/cli 2.10.1 2.11.0
tauri-cli 2.10.1 2.11.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
Legend-Master marked this pull request as ready for review April 30, 2026 11:30
@Legend-Master
Legend-Master requested a review from a team as a code owner April 30, 2026 11:30

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't really get why we're reverting, so we can test the minimum version?

@Legend-Master

Legend-Master commented Apr 30, 2026

Copy link
Copy Markdown
Contributor Author

Basically just for the tests to run, the new specta requires some updates on the tests for clippy and requires edition 2024 which we can't use because of MSRV. I don't exactly know why #15177 tried to bumped it at the first place if the docs.rs build failure was not caused by the locked version, I just assumed it was a mistake the change was reverted in be7aabd. (also didn't notice the CI didn't run)

@Legend-Master
Legend-Master merged commit 04f7048 into dev Apr 30, 2026
28 checks passed
@Legend-Master
Legend-Master deleted the revert-15303-update-specta-to-fix-docs branch April 30, 2026 12:09
ryok90 added a commit to ZephyrCloudIO/tauri that referenced this pull request Aug 12, 2026
Follow-up to the MSRV bump. With the toolchain raised, compilation gets
further and uncovers more pre-existing breakage on this branch.

Pin `specta` to 2.0.0-rc.20 in the lockfile, matching `dev`. rc.25 uses the
unstable `debug_closure_helpers` feature and cannot build on stable, which
broke `test tauri` on all three platforms. `dev` pins the same version for
this reason (tauri-apps#15305).

Fix two genuine breakages under `--all-features`:

- `manager/webview.rs` called `tauri_utils::html2::parse`, which does not
  exist. The `html2` migration renamed it to `parse_doc` and made the
  document render via `Document::html()`; the merge in 69732d8 kept the
  old call. Restored to match `dev`.
- the `check_get_url_cef` test omitted the macOS/iOS-gated
  `on_web_content_process_terminate` argument, so `with_handlers` was called
  with a shifted argument list on Apple targets. Matches `check_get_url_wry`
  now.

The remaining changes are clippy lints reported by current stable, all of
them mechanical and behaviour-preserving: `manual_filter`,
`useless_borrows_in_formatting`, `let_and_return`, `redundant_closure`,
`while_let_on_iterator` and `too_many_arguments`.

Two lint fixes are in code CI does not lint (the clippy job runs on Linux
only) but which fail `cargo clippy` locally on macOS: the dmg bundler and
`cef/macos_dev.rs`. The `examples/api` CEF DevTools block is additionally
gated on `not(test)`, since under `cfg(test)` the runtime is `MockRuntime`,
which does not expose those methods.

Verified in an ubuntu:24.04 container on rustc/clippy 1.97.1, matching the
CI job: `cargo clippy --all-targets --all-features -- -D warnings` passes.
`cargo +1.90 test --all-features --manifest-path crates/tauri/Cargo.toml`
passes (67 lib + 123 doc tests).
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.

2 participants