Releases: opennextjs/opennextjs-cloudflare
@opennextjs/[email protected]
Patch Changes
- 67fafeb: fix top level awaits not working in middlewares by bumping the
@opennextjs/aws
package
@opennextjs/[email protected]
Patch Changes
- 05ee8d4: fix: invalid paths in windows bundles.
@opennextjs/[email protected]
@opennextjs/[email protected]
Patch Changes
-
9ab86d4: fix: host not included in route handler urls
Next.js was unable to re-construct the correct URLs for the request in a route handler due to being unable to retrieve the hostname. This was due to the internal Next.js option
trustHostHeader
being disabled in OpenNext when there is external middleware - this option is needed for the Next.js server in our environment.
@opennextjs/[email protected]
@opennextjs/[email protected]
Patch Changes
-
d488d86: fix: exclude
.env.local
files fortest
modeAligns with the Next.js behavior of not extracting variables from the
.env.local
file in test environments. -
0ee77b2: fix the city header encoding
By pulling opennextjs/opennextjs-aws#688
-
4b6a50b: check and create a
wrangler.json
file for the user in case awrangler.(toml|json|jsonc)
file is not already presentalso introduce a new
--skipWranglerConfigCheck
cli flag and aSKIP_WRANGLER_CONFIG_CHECK
environment variable that allows users to opt out of the above check (since developers might
want to use custom locations for their config files) -
7654867: bump
"@opennextjs/aws
dependency tohttps://pkg.pr.new/@opennextjs/aws@686
@opennextjs/[email protected]
@opennextjs/[email protected]
Patch Changes
-
c0c1d04: fix: CustomRequest instantiation
In some cases some request properties would not be initialized (i.e. method, headers, ...)
The bug was caused by the processing the init in the CustomRequest class.
The bug was tigerred when using clerk.
@opennextjs/[email protected]
Patch Changes
- f60a326: fix: cleanup dependencies
@opennextjs/[email protected]
Minor Changes
-
ca2d452: feat: rename the binary from "cloudflare" to "opennextjs-cloudflare"
BREAKING CHANGE:
After this change the old way of running the tool (e.g.pnpm cloudflare
) no longer works.
Going forward use the new binary name (e.g.pnpm opennextjs-cloudflare
).See #161
-
Add support for middleware, loading
.env*
files, ...