Whats the roadmap for Next.js 12 support? And do y...
# sst
m
Whats the roadmap for Next.js 12 support? And do you plan to allow "Vercel way" to do deployments. Meaning that all page/api endpoints run on normal lambda and middleware on lambda@edge? SST uses @sls-next/lambda-at-edge library and developer who continues to maintain that repo is also developing pure lambda deployment library. So by using that SST can probably adopt next.js lambda deployment. Although schedule is little bit worrisome as there is only one busy developer of that library and "help wanted" ticket has been open since march.
f
Hey @Mikko Mannonen, yeah we are going to start working with their core maintainer, and will start contributing to the project.
Yeah like you mentioned, deploying to Lambda + API Gateway is a work in progress. And Middleware support will follow that.
I don’t have a firm date for full Next.js 12 support. But we are contributing back to the project, as well as helping them attract more contributors.
Btw, is there a specific Next.js 12 feature you are looking for?
m
Middleware mainly and actually there does not seem to be any (???) ready-made solution for server side authentication on lambda@edge if you do not want to use Amplify. NextAuth f.ex. does not work on edge ? hmm.. or does it, I got impression that it does not work when read github comments, have to test is.