Skip to content

v0.40.0-canary.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@flybayer flybayer released this 16 Aug 23:05

💥 Breaking Changes

  • Auto generated RPC endpoints now use a flat path with shared namespace instead of using the full file path. #2516
    • This is only a breaking change if you are manually invoking the autogenerated endpoints, like from a mobile app.
    • This change is according to this RFC.
    • See the docs
    -/api/auth/mutations/login
    +/api/rpc/login
    -/api/modules/users/queries/getUsers
    +/api/rpc/getUsers

🚀 New Features

  • Ability to version queries & mutations. This is mainly useful when you have mobile apps. #2516
    FILE:    app/users/mutations/createUser.ts
    API URL: /api/rpc/createUser
    
    FILE:    app/users/mutations/v2/createUser.ts
    API URL: /api/rpc/v2/createUser