Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/eleven-parents-send.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/fuzzy-areas-clap.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/stupid-ways-rush.md

This file was deleted.

36 changes: 36 additions & 0 deletions packages/cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @opennextjs/cloudflare

## 1.19.6

### Patch Changes

- [#1246](https://github.com/opennextjs/opennextjs-cloudflare/pull/1246) [`5d2014f`](https://github.com/opennextjs/opennextjs-cloudflare/commit/5d2014f09afa24eed983d2ddcd568ac118a728fd) Thanks [@vicb](https://github.com/vicb)! - fix: do not log expected expected D1 errors

The `populateCache` command adds columns to the D1 tag cache for SWR support.
This is required for older deployments made before those column were added.
SQLite errors when the columns exist and we should not log those errors.

- [#1244](https://github.com/opennextjs/opennextjs-cloudflare/pull/1244) [`01babce`](https://github.com/opennextjs/opennextjs-cloudflare/commit/01babce15c28d7a81797d6fbaebe281e930b92f5) Thanks [@tahmid-23](https://github.com/tahmid-23)! - fix: drop streaming wasm calls in Turbopack runtime

Turbopack replaces wasm imports using `WebAssembly.compileStreaming` and
`WebAssembly.instantiateStreaming`. These functions are not available in
the workerd runtime.

We add a helper `loadWasmChunkFn`. This is a generated switch statement
that contains an import for each wasm chunk. We use static strings for
all imports to ensure that all necessary wasm chunks will be detected
and bundled for the final build.

The Turbopack patcher replaces the invocations in `loadWebAssembly` and
`loadWebAssemblyModule`, using the synchronous `WebAssembly.instantiate`
and redirecting to `loadWasmChunkFn`.

- [#1243](https://github.com/opennextjs/opennextjs-cloudflare/pull/1243) [`1c815de`](https://github.com/opennextjs/opennextjs-cloudflare/commit/1c815de96abbabbd4e5ff81ab299f2b4f3aa77db) Thanks [@tahmid-23](https://github.com/tahmid-23)! - fix: detect object-valued conditions

The pre-existing build condition transform logic had subtle errors:

- failed to recognize object conditions
(e.g. "workerd": { "import": ..., "require": ... })
- sibling pruning only applied to strings, not objects

Now, we fully support object conditions. Furthermore, we prune siblings,
unless its subtree also contains the build condition.

## 1.19.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opennextjs/cloudflare",
"description": "Cloudflare builder for next apps",
"version": "1.19.5",
"version": "1.19.6",
"type": "module",
"scripts": {
"clean": "rimraf dist",
Expand Down
Loading