Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.0 - Do over #278

Open
oscartbeaumont opened this issue Apr 19, 2024 · 5 comments
Open

0.3.0 - Do over #278

oscartbeaumont opened this issue Apr 19, 2024 · 5 comments

Comments

@oscartbeaumont
Copy link
Owner

oscartbeaumont commented Apr 19, 2024

A complete rewrite of rspc to eliminate all cringe.

@AlexandreCassagne
Copy link

Hey! Do you already have a vision for how this might look?

@oscartbeaumont
Copy link
Owner Author

Yeah. I'm already working on it on the main branch.

The main difference boil down to:

  • tRPC v10-inspired syntax (where the old rspc syntax was tRPC v9 inspired)
  • A complete rearchitecture to support non-JSON formats
  • Spliting functionality out of the core into separate crates to help with versioning

For now i'm focusing on the core Rust stuff and once i'm happy with it I will start reimplement the Axum and Tauri adapters along with bringing back the Typescript.

@marcusbuffett
Copy link

Are you planning any updates to the request/response layer? Like if I have older clients hanging around (mobile apps), and update the server to 0.3.0, do you expect the older clients can keep requesting with the same format and expecting the same response, or will there be breakage there?

This has been a game-changer to my rust web dev, thank you for this project and specta!

@oscartbeaumont
Copy link
Owner Author

I am planning to change it but the plan is for all the HTTP format to move outside of the rspc core so it would be entirely possible for a backwards-compatible mode to be implemented.

@marcusbuffett
Copy link

Sounds good! Excited for the updates

@oscartbeaumont oscartbeaumont pinned this issue Jul 15, 2024
@oscartbeaumont oscartbeaumont unpinned this issue Jul 15, 2024
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

No branches or pull requests

3 participants