npm blitz 0.40.0-canary.0
v0.40.0-canary.0

latest releases: 2.0.8, 2.0.7, 0.0.0-turbopack-20240403083540...
2 years ago

💥 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
    

Don't miss a new blitz release

NewReleases is sending notifications on new releases.