Skip to content

Upgrade Specta 2.0.0-rc.23#58

Closed
oscartbeaumont wants to merge 20 commits into
MatsDK:mainfrom
oscartbeaumont:upgrade-specta
Closed

Upgrade Specta 2.0.0-rc.23#58
oscartbeaumont wants to merge 20 commits into
MatsDK:mainfrom
oscartbeaumont:upgrade-specta

Conversation

@oscartbeaumont
Copy link
Copy Markdown

This is a wip for upgrading TauRPC for the next Specta version (which is still a work in progress).

For now this is mostly for my personal reference as I want to ensure a lot of the upstream breaking changes don't cause issues.

Most of the PR comments are for later me so feel free to ignore this until it's no longer a draft!

Copy link
Copy Markdown
Author

@oscartbeaumont oscartbeaumont left a comment

Choose a reason for hiding this comment

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

Need work from me.

Comment thread example/src-tauri/Cargo.toml Outdated
Comment thread taurpc/src/export.rs Outdated
Comment thread taurpc/src/export.rs Outdated
Comment thread taurpc/src/export.rs Outdated
Comment thread taurpc/src/export.rs Outdated
export_config.format(path).context(
"Failed to format exported bindings, make sure you have the correct formatter installed",
)?;
// export_config.format(path).context(
Copy link
Copy Markdown
Author

@oscartbeaumont oscartbeaumont Dec 8, 2025

Choose a reason for hiding this comment

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

I have removed the Specta formatter from main.

I would concider bring it back but the main reason behind removing it is that it's extra API surface for what can easily be written as a Command that is run after the export process. It can also be very environment dependant for monorepo's so the default setup wouldn't always suffice.

This could possibly be brought into TauRPC/Tauri Specta/rspc without being in Specta's core. Happy for you to straight up copy the old code.

Copy link
Copy Markdown
Author

@oscartbeaumont oscartbeaumont left a comment

Choose a reason for hiding this comment

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

Okay this is ready for review. I am happy to hold of merging until the Specta release is ready! I am hoping to take it within the next 2 weeks max so it won't be long.

Comment thread example/src/lib/bindings.ts
Comment thread taurpc/Cargo.toml Outdated
Comment thread taurpc/Cargo.toml
@oscartbeaumont oscartbeaumont marked this pull request as ready for review February 26, 2026 05:52
@oscartbeaumont oscartbeaumont changed the title Upgrade Specta Upgrade Specta 2.0.0-rc.23 Mar 30, 2026
@oscartbeaumont
Copy link
Copy Markdown
Author

I am closing this in favor of #64

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