v2.36.0
📢 Per-route logging and Sourcemaps for NextjsSite
NextjsSite now sends logs for individual routes to separate log groups. To continue using a single log group, set logging to combined.
new NextjsSite(stack, "Site", {
+ logging: "combined",
});
For Console users, make sure you enable Sourcemaps in your next.config
, and the errors will get correct line numbers with source context. Read more here — https://docs.sst.dev/constructs/NextjsSite#sourcemaps
Changes
131589451
- NextjsSite: enable per-route logging by default36eaf03c3
- NextjsSite: update to OpenNext 2.3.1
Update using:
$ npx sst update 2.36.0
$ yarn sst update 2.36.0