Skip to content

v2.36.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Nov 19:10
d1b9851

📢 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

error-stack-trace-e333abfc80d6dbb8e8642b61ce4ed9f1

Changes

  • 131589451 - NextjsSite: enable per-route logging by default
  • 36eaf03c3 - NextjsSite: update to OpenNext 2.3.1

Update using:

$ npx sst update 2.36.0
$ yarn sst update 2.36.0