specta-rs / rspc

A framework for building typesafe web backends in Rust
https://rspc.dev
MIT License
1.19k stars 54 forks source link

0.3.0 - Do over #278

Open oscartbeaumont opened 6 months ago

oscartbeaumont commented 6 months ago

A complete rewrite of rspc to eliminate all cringe.

AlexandreCassagne commented 5 months ago

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

oscartbeaumont commented 5 months ago

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

The main difference boil down to:

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

Sounds good! Excited for the updates