You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/bright-bulldogs-laugh.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,4 @@
4
4
5
5
Add aws-lambda-compressed wrapper
6
6
7
-
Introduces a new wrapper called `aws-lambda-compressed`. Will compress the response body by default. Compression will be applied in the following priority order: br (Brotli) → gzip → deflate. If none of these is found, we just return the body as is.
8
-
9
-
The compression quality for brotli can be configured using the `BROTLI_QUALITY` environment variable. If not set, it defaults to 6.
7
+
New wrapper called `aws-lambda-compressed`. The compression quality for brotli can be configured using the `BROTLI_QUALITY` environment variable. If not set, it defaults to 6.
//TODO: create a simple reproduction and open an issue in the node repo
52
-
//This is a workaround, there is an issue in node that causes node to crash silently if the OpenNextNodeResponse stream is not consumed
53
-
//This does not happen everytime, it's probably caused by suspended component in ssr (either via <Suspense> or loading.tsx)
54
-
//Everyone that wish to create their own wrapper without a StreamCreator should implement this workaround
55
-
//This is not necessary if the underlying handler does not use OpenNextNodeResponse (At the moment, OpenNextNodeResponse is used by the node runtime servers and the image server)
23
+
// This is a workaround, you can read more about it in the aws-lambda wrapper
0 commit comments