-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(http, cloudflare): use unenv/
imports inside node:http
#363
Conversation
This allow hybrid polyfills to rewrite the import path. i.e to import from "node:streaml".
Updated to disable the test, should be ready to go! |
unenv/
imports inside node:http
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as hotfix while changes in this PR directly breaks unenv itself and nitro usage (yet another blocker for adopting unenv v2 for nitro itself!). I kindly ask @unjs/cloudflare to collaborate finding solution avoiding this issue.
Thanks! |
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 3.92.0 to 3.93.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/releases">wrangler's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> <li><code>unjs/unenv#367</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7426">#7426</a> <a href="https://github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81"><code>b40d0ab</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7454">#7454</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code> rather than just <code>Unstable</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7461">#7461</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: relax validation of unsafe configuration to allow an empty object</p> <p>The types, the default and the code in general support an empty object for this config setting.</p> <p>So it makes sense to avoid erroring when validating the config.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7446">#7446</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9435af0b927a84adecf8d4f48093bf8df07561e9"><code>9435af0</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: make sure Wrangler doesn't create a <code>.wrangler</code> tmp dir in the <code>functions/</code> folder of a Pages project</p> <p>This regression was introduced in <a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7415">cloudflare/workers-sdk#7415</a> and this change fixes it by reverting that change.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7385">#7385</a> <a href="https://github.com/cloudflare/workers-sdk/commit/14a7bc659d70fbe11ed895ebe031ad3f46f8e995"><code>14a7bc6</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - The <code>x-provision</code> experimental flag now support inherit bindings in deploys</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7463">#7463</a> <a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Thanks <a href="https://github.com/penalosa"><code>@penalosa</code></a>! - Clarify messaging around <code>wrangler versions</code> commands to reflect that they're stable (and have been since GA during birthday week)</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7436">#7436</a> <a href="https://github.com/cloudflare/workers-sdk/commit/5e6979914a255d06830798c5167332b5165b048e"><code>5e69799</code></a> Thanks <a href="https://github.com/Ankcorn"><code>@Ankcorn</code></a>! - Relax type on observability.enabled to remove linting error for nested configurations</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7450">#7450</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: ensure that version secrets commands do not write wrangler config warnings</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md">wrangler's changelog</a>.</em></p> <blockquote> <h2>3.93.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> <li><code>unjs/unenv#367</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7426">#7426</a> <a href="https://github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81"><code>b40d0ab</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7454">#7454</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code> rather than just <code>Unstable</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7461">#7461</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: relax validation of unsafe configuration to allow an empty object</p> <p>The types, the default and the code in general support an empty object for this config setting.</p> <p>So it makes sense to avoid erroring when validating the config.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7446">#7446</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9435af0b927a84adecf8d4f48093bf8df07561e9"><code>9435af0</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: make sure Wrangler doesn't create a <code>.wrangler</code> tmp dir in the <code>functions/</code> folder of a Pages project</p> <p>This regression was introduced in <a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7415">cloudflare/workers-sdk#7415</a> and this change fixes it by reverting that change.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7385">#7385</a> <a href="https://github.com/cloudflare/workers-sdk/commit/14a7bc659d70fbe11ed895ebe031ad3f46f8e995"><code>14a7bc6</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - The <code>x-provision</code> experimental flag now support inherit bindings in deploys</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7463">#7463</a> <a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Thanks <a href="https://github.com/penalosa"><code>@penalosa</code></a>! - Clarify messaging around <code>wrangler versions</code> commands to reflect that they're stable (and have been since GA during birthday week)</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7436">#7436</a> <a href="https://github.com/cloudflare/workers-sdk/commit/5e6979914a255d06830798c5167332b5165b048e"><code>5e69799</code></a> Thanks <a href="https://github.com/Ankcorn"><code>@Ankcorn</code></a>! - Relax type on observability.enabled to remove linting error for nested configurations</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7450">#7450</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: ensure that version secrets commands do not write wrangler config warnings</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cloudflare/workers-sdk/commit/3d8a6522a0701b0e40c1d3349553e8b953854dac"><code>3d8a652</code></a> Version Packages (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7439">#7439</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/b9d4d5adb0ea0eb24576260549c077f577fe1eb8"><code>b9d4d5a</code></a> ci: extend the timeout on BundleController.test.ts "custom build" test to red...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> WfP Assets support (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7448">#7448</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/21a9e24bc7cea1e7bf54a77568de98df9b7c8d03"><code>21a9e24</code></a> chore(deps): bump the workerd-and-workers-types group across 1 directory with...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Mark <code>wrangler versions</code> as stable (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7463">#7463</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/5ea9d8e9f70a4fa1efea9c3bd8cd2f22884bde7e"><code>5ea9d8e</code></a> remove stray await (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7453">#7453</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> fix: relax validation of unsafe configuration to allow an empty object (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7461">#7461</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code>...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Wranger dev support with experimental_serve_directly (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7445">#7445</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> fix: ensure that version secrets commands do not write wrangler config warnin...</li> <li>Additional commits viewable in <a href="https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wrangler&package-manager=npm_and_yarn&previous-version=3.92.0&new-version=3.93.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 3.91.0 to 3.93.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/releases">wrangler's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> <li><code>unjs/unenv#367</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7426">#7426</a> <a href="https://github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81"><code>b40d0ab</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7454">#7454</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code> rather than just <code>Unstable</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7461">#7461</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: relax validation of unsafe configuration to allow an empty object</p> <p>The types, the default and the code in general support an empty object for this config setting.</p> <p>So it makes sense to avoid erroring when validating the config.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7446">#7446</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9435af0b927a84adecf8d4f48093bf8df07561e9"><code>9435af0</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: make sure Wrangler doesn't create a <code>.wrangler</code> tmp dir in the <code>functions/</code> folder of a Pages project</p> <p>This regression was introduced in <a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7415">cloudflare/workers-sdk#7415</a> and this change fixes it by reverting that change.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7385">#7385</a> <a href="https://github.com/cloudflare/workers-sdk/commit/14a7bc659d70fbe11ed895ebe031ad3f46f8e995"><code>14a7bc6</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - The <code>x-provision</code> experimental flag now support inherit bindings in deploys</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7463">#7463</a> <a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Thanks <a href="https://github.com/penalosa"><code>@penalosa</code></a>! - Clarify messaging around <code>wrangler versions</code> commands to reflect that they're stable (and have been since GA during birthday week)</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7436">#7436</a> <a href="https://github.com/cloudflare/workers-sdk/commit/5e6979914a255d06830798c5167332b5165b048e"><code>5e69799</code></a> Thanks <a href="https://github.com/Ankcorn"><code>@Ankcorn</code></a>! - Relax type on observability.enabled to remove linting error for nested configurations</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7450">#7450</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: ensure that version secrets commands do not write wrangler config warnings</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md">wrangler's changelog</a>.</em></p> <blockquote> <h2>3.93.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> <li><code>unjs/unenv#367</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7426">#7426</a> <a href="https://github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81"><code>b40d0ab</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7454">#7454</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code> rather than just <code>Unstable</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7461">#7461</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: relax validation of unsafe configuration to allow an empty object</p> <p>The types, the default and the code in general support an empty object for this config setting.</p> <p>So it makes sense to avoid erroring when validating the config.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7446">#7446</a> <a href="https://github.com/cloudflare/workers-sdk/commit/9435af0b927a84adecf8d4f48093bf8df07561e9"><code>9435af0</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: make sure Wrangler doesn't create a <code>.wrangler</code> tmp dir in the <code>functions/</code> folder of a Pages project</p> <p>This regression was introduced in <a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7415">cloudflare/workers-sdk#7415</a> and this change fixes it by reverting that change.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7385">#7385</a> <a href="https://github.com/cloudflare/workers-sdk/commit/14a7bc659d70fbe11ed895ebe031ad3f46f8e995"><code>14a7bc6</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - The <code>x-provision</code> experimental flag now support inherit bindings in deploys</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7463">#7463</a> <a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Thanks <a href="https://github.com/penalosa"><code>@penalosa</code></a>! - Clarify messaging around <code>wrangler versions</code> commands to reflect that they're stable (and have been since GA during birthday week)</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7436">#7436</a> <a href="https://github.com/cloudflare/workers-sdk/commit/5e6979914a255d06830798c5167332b5165b048e"><code>5e69799</code></a> Thanks <a href="https://github.com/Ankcorn"><code>@Ankcorn</code></a>! - Relax type on observability.enabled to remove linting error for nested configurations</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7450">#7450</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: ensure that version secrets commands do not write wrangler config warnings</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cloudflare/workers-sdk/commit/3d8a6522a0701b0e40c1d3349553e8b953854dac"><code>3d8a652</code></a> Version Packages (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7439">#7439</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/b9d4d5adb0ea0eb24576260549c077f577fe1eb8"><code>b9d4d5a</code></a> ci: extend the timeout on BundleController.test.ts "custom build" test to red...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> WfP Assets support (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7448">#7448</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/21a9e24bc7cea1e7bf54a77568de98df9b7c8d03"><code>21a9e24</code></a> chore(deps): bump the workerd-and-workers-types group across 1 directory with...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74"><code>073293f</code></a> Mark <code>wrangler versions</code> as stable (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7463">#7463</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/5ea9d8e9f70a4fa1efea9c3bd8cd2f22884bde7e"><code>5ea9d8e</code></a> remove stray await (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7453">#7453</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a"><code>9ede45b</code></a> fix: relax validation of unsafe configuration to allow an empty object (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7461">#7461</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9"><code>f2045be</code></a> refactor: Ensure that unstable type exports are all prefixed with <code>Unstable_</code>...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Wranger dev support with experimental_serve_directly (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7445">#7445</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615"><code>8c873ed</code></a> fix: ensure that version secrets commands do not write wrangler config warnin...</li> <li>Additional commits viewable in <a href="https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wrangler&package-manager=npm_and_yarn&previous-version=3.91.0&new-version=3.93.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@cloudflare/workers-types](https://redirect.github.com/cloudflare/workerd) | [`4.20241202.0` -> `4.20241205.0`](https://renovatebot.com/diffs/npm/@cloudflare%2fworkers-types/4.20241202.0/4.20241205.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@cloudflare%2fworkers-types/4.20241205.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cloudflare%2fworkers-types/4.20241205.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cloudflare%2fworkers-types/4.20241202.0/4.20241205.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cloudflare%2fworkers-types/4.20241202.0/4.20241205.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.17.9` -> `20.17.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.9/20.17.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.9/20.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.9/20.17.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) | [`9.14.2` -> `9.15.0`](https://renovatebot.com/diffs/npm/pnpm/9.14.2/9.15.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/9.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/9.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/9.14.2/9.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/9.14.2/9.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://redirect.github.com/prettier/prettier)) | [`3.4.0` -> `3.4.2`](https://renovatebot.com/diffs/npm/prettier/3.4.0/3.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.4.0/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.4.0/3.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [tldts](https://redirect.github.com/remusao/tldts) | [`6.1.65` -> `6.1.67`](https://renovatebot.com/diffs/npm/tldts/6.1.65/6.1.67) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tldts/6.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tldts/6.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tldts/6.1.65/6.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tldts/6.1.65/6.1.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [wrangler](https://redirect.github.com/cloudflare/workers-sdk) ([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.91.0` -> `3.95.0`](https://renovatebot.com/diffs/npm/wrangler/3.91.0/3.95.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/wrangler/3.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/wrangler/3.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/wrangler/3.91.0/3.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/wrangler/3.91.0/3.95.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>cloudflare/workerd (@​cloudflare/workers-types)</summary> ### [`v4.20241205.0`](https://redirect.github.com/cloudflare/workerd/compare/b879eb9e87be1d315b9a107730d506dd5c1f9090...55e0408a3762cd1b1e86ffd80579fd20b7c1c5ba) [Compare Source](https://redirect.github.com/cloudflare/workerd/compare/b879eb9e87be1d315b9a107730d506dd5c1f9090...55e0408a3762cd1b1e86ffd80579fd20b7c1c5ba) </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v9.15.0`](https://redirect.github.com/pnpm/pnpm/compare/v9.14.4...v9.15.0) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v9.14.4...v9.15.0) ### [`v9.14.4`](https://redirect.github.com/pnpm/pnpm/compare/v9.14.3...v9.14.4) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v9.14.3...v9.14.4) ### [`v9.14.3`](https://redirect.github.com/pnpm/pnpm/compare/v9.14.2...v9.14.3) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v9.14.2...v9.14.3) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.4.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#342) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2) [diff](https://redirect.github.com/prettier/prettier/compare/3.4.1...3.4.2) ##### Treat U+30A0 & U+30FB in Katakana Block as CJK ([#​16796](https://redirect.github.com/prettier/prettier/pull/16796) by [@​tats-u](https://redirect.github.com/tats-u)) Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese. <!-- prettier-ignore --> ```md <!-- Input (--prose-wrap=never) --> C言 語 ・ C++ ・ Go ・ Rust <!-- Prettier 3.4.1 --> C言語・ C++ ・ Go ・ Rust <!-- Prettier 3.4.2 --> C言語・C++・Go・Rust ``` U+30A0 can be used as the replacement of the `-` in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”). ##### Fix comments print on class methods with decorators ([#​16891](https://redirect.github.com/prettier/prettier/pull/16891) by [@​fisker](https://redirect.github.com/fisker)) <!-- prettier-ignore --> ```jsx // Input class A { @​decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.1 class A { @​decorator async /** * The method description * */ method(foo: Foo, bar: Bar) { console.log(foo); } } // Prettier 3.4.2 class A { @​decorator /** * The method description * */ async method(foo: Foo, bar: Bar) { console.log(foo); } } ``` ##### Fix non-idempotent formatting ([#​16899](https://redirect.github.com/prettier/prettier/pull/16899) by [@​seiyab](https://redirect.github.com/seiyab)) This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3. <!-- prettier-ignore --> ```jsx // Input <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.1 (first) <div> foo <span> longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo </span>, abc </div>; // Prettier 3.4.1 (second) <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; // Prettier 3.4.2 <div> foo <span>longlonglonglonglonglonglonglonglonglonglonglonglonglonglongl foo</span> , abc </div>; ``` ### [`v3.4.1`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://redirect.github.com/prettier/prettier/compare/3.4.0...3.4.1) [diff](https://redirect.github.com/prettier/prettier/compare/3.4.0...3.4.1) ##### Remove unnecessary parentheses around assignment in `v-on` ([#​16887](https://redirect.github.com/prettier/prettier/pull/16887) by [@​fisker](https://redirect.github.com/fisker)) <!-- prettier-ignore --> ```vue <!-- Input --> <template> <button @​click="foo += 2">Click</button> </template> <!-- Prettier 3.4.0 --> <template> <button @​click="(foo += 2)">Click</button> </template> <!-- Prettier 3.4.1 --> <template> <button @​click="foo += 2">Click</button> </template> ``` </details> <details> <summary>remusao/tldts (tldts)</summary> ### [`v6.1.67`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6167-Wed-Dec-11-2024) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.66...v6.1.67) ##### 📜 Update Public Suffix List - `tldts-experimental`, `tldts-icann`, `tldts` - Update upstream public suffix list [#​2231](https://redirect.github.com/remusao/tldts/pull/2231) ([@​remusao](https://redirect.github.com/remusao)) ##### Authors: 1 - Rémi ([@​remusao](https://redirect.github.com/remusao)) *** ### [`v6.1.66`](https://redirect.github.com/remusao/tldts/blob/HEAD/CHANGELOG.md#v6166-Sat-Dec-07-2024) [Compare Source](https://redirect.github.com/remusao/tldts/compare/v6.1.65...v6.1.66) ##### 📜 Update Public Suffix List - `tldts-experimental`, `tldts-icann`, `tldts` - Update upstream public suffix list [#​2228](https://redirect.github.com/remusao/tldts/pull/2228) ([@​remusao](https://redirect.github.com/remusao)) ##### 🔩 Dependencies - Bump rollup from 4.27.4 to 4.28.0 [#​2227](https://redirect.github.com/remusao/tldts/pull/2227) ([@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot])) ##### Authors: 2 - [@​dependabot\[bot\]](https://redirect.github.com/dependabot\[bot]) - Rémi ([@​remusao](https://redirect.github.com/remusao)) *** </details> <details> <summary>cloudflare/workers-sdk (wrangler)</summary> ### [`v3.95.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3950) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/[email protected]@3.95.0) ##### Minor Changes - [#​7382](https://redirect.github.com/cloudflare/workers-sdk/pull/7382) [`e0b98fd`](https://redirect.github.com/cloudflare/workers-sdk/commit/e0b98fdb6eefffff16fc0624517cd9e5fce93c98) Thanks [@​jonesphillip](https://redirect.github.com/jonesphillip)! - Added r2 bucket cors command to Wrangler including list, set, delete ### [`v3.94.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3940) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/[email protected]@3.94.0) ##### Minor Changes - [#​7229](https://redirect.github.com/cloudflare/workers-sdk/pull/7229) [`669d7ad`](https://redirect.github.com/cloudflare/workers-sdk/commit/669d7ad1e44c07cf74202c4d0fc244a9c50dec81) Thanks [@​gabivlj](https://redirect.github.com/gabivlj)! - Introduce a new cloudchamber command `wrangler cloudchamber apply`, which will be used by customers to deploy container-apps ##### Patch Changes - [#​7002](https://redirect.github.com/cloudflare/workers-sdk/pull/7002) [`d2447c6`](https://redirect.github.com/cloudflare/workers-sdk/commit/d2447c6c1ebcdebf0829519c3bc52bc2d30a4294) Thanks [@​GregBrimble](https://redirect.github.com/GregBrimble)! - fix: More helpful error messages when validating compatibility date - [#​7493](https://redirect.github.com/cloudflare/workers-sdk/pull/7493) [`4c140bc`](https://redirect.github.com/cloudflare/workers-sdk/commit/4c140bcb2b75a3dcf12240d66c22619af10503df) Thanks [@​emily-shen](https://redirect.github.com/emily-shen)! - fix: remove non-json output in json mode commands Fixes regressions in 3.93.0 where unwanted text (wrangler banner, telemetry notice) was printing in commands that should only output valid json. - Updated dependencies \[[`5449fe5`](https://redirect.github.com/cloudflare/workers-sdk/commit/5449fe54b15cf7c6dd12c385b0c8d2883c641b80)]: - [@​cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared)[@​0](https://redirect.github.com/0).11.0 - [email protected] ### [`v3.93.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3930) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/[email protected]@3.93.0) ##### Minor Changes - [#​7291](https://redirect.github.com/cloudflare/workers-sdk/pull/7291) [`f5b9cd5`](https://redirect.github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd) Thanks [@​edmundhung](https://redirect.github.com/edmundhung)! - Add anonymous telemetry to Wrangler commands For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected. See our [data policy](https://redirect.github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md) for more details on what we collect and how to opt out if you wish. - [#​7448](https://redirect.github.com/cloudflare/workers-sdk/pull/7448) [`20a0f17`](https://redirect.github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a) Thanks [@​GregBrimble](https://redirect.github.com/GregBrimble)! - feat: Allow Workers for Platforms scripts (scripts deployed with `--dispatch-namespace`) to bring along `assets` - [#​7445](https://redirect.github.com/cloudflare/workers-sdk/pull/7445) [`f4ae6ee`](https://redirect.github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d) Thanks [@​WillTaylorDev](https://redirect.github.com/WillTaylorDev)! - Support for `assets.experimental_serve_directly` with `wrangler dev` ##### Patch Changes - [#​7256](https://redirect.github.com/cloudflare/workers-sdk/pull/7256) [`415e5b5`](https://redirect.github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404) Thanks [@​jamesopstad](https://redirect.github.com/jamesopstad)! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded. - [#​7431](https://redirect.github.com/cloudflare/workers-sdk/pull/7431) [`8f25ebe`](https://redirect.github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48) Thanks [@​vicb](https://redirect.github.com/vicb)! - chore(wrangler): update unenv dependency version Pull in: - refactor(cloudflare): reimplement module:createRequire for latest workerd ([unjs/unenv#351](https://redirect.github.com/unjs/unenv/issues/351)) - refactor: use node:events instead of relative path ([unjs/unenv#354](https://redirect.github.com/unjs/unenv/issues/354)) - refactor(http, cloudflare): use unenv/ imports inside node:http ([unjs/unenv#363](https://redirect.github.com/unjs/unenv/issues/363)) - refactor(node:process): set process.domain to undefined ([unjs/unenv#367](https://redirect.github.com/unjs/unenv/issues/367)) - [#​7426](https://redirect.github.com/cloudflare/workers-sdk/pull/7426) [`b40d0ab`](https://redirect.github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it - [#​7454](https://redirect.github.com/cloudflare/workers-sdk/pull/7454) [`f2045be`](https://redirect.github.com/cloudflare/workers-sdk/commit/f2045be9e689c2a919086904f3bd24f9e32baac9) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - refactor: Ensure that unstable type exports are all prefixed with `Unstable_` rather than just `Unstable` - [#​7461](https://redirect.github.com/cloudflare/workers-sdk/pull/7461) [`9ede45b`](https://redirect.github.com/cloudflare/workers-sdk/commit/9ede45b02b43284180c7b9bce2839543fcc3229a) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - fix: relax validation of unsafe configuration to allow an empty object The types, the default and the code in general support an empty object for this config setting. So it makes sense to avoid erroring when validating the config. - [#​7446](https://redirect.github.com/cloudflare/workers-sdk/pull/7446) [`9435af0`](https://redirect.github.com/cloudflare/workers-sdk/commit/9435af0b927a84adecf8d4f48093bf8df07561e9) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - fix: make sure Wrangler doesn't create a `.wrangler` tmp dir in the `functions/` folder of a Pages project This regression was introduced in [https://github.com/cloudflare/workers-sdk/pull/7415](https://redirect.github.com/cloudflare/workers-sdk/pull/7415) and this change fixes it by reverting that change. - [#​7385](https://redirect.github.com/cloudflare/workers-sdk/pull/7385) [`14a7bc6`](https://redirect.github.com/cloudflare/workers-sdk/commit/14a7bc659d70fbe11ed895ebe031ad3f46f8e995) Thanks [@​edmundhung](https://redirect.github.com/edmundhung)! - The `x-provision` experimental flag now support inherit bindings in deploys - [#​7463](https://redirect.github.com/cloudflare/workers-sdk/pull/7463) [`073293f`](https://redirect.github.com/cloudflare/workers-sdk/commit/073293faad82f7dd0d95ece9727f13d1195f7b74) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Clarify messaging around `wrangler versions` commands to reflect that they're stable (and have been since GA during birthday week) - [#​7436](https://redirect.github.com/cloudflare/workers-sdk/pull/7436) [`5e69799`](https://redirect.github.com/cloudflare/workers-sdk/commit/5e6979914a255d06830798c5167332b5165b048e) Thanks [@​Ankcorn](https://redirect.github.com/Ankcorn)! - Relax type on observability.enabled to remove linting error for nested configurations - [#​7450](https://redirect.github.com/cloudflare/workers-sdk/pull/7450) [`8c873ed`](https://redirect.github.com/cloudflare/workers-sdk/commit/8c873edd9434e998f94ce54d56c2bc7494da5615) Thanks [@​petebacondarwin](https://redirect.github.com/petebacondarwin)! - fix: ensure that version secrets commands do not write wrangler config warnings - Updated dependencies \[[`21a9e24`](https://redirect.github.com/cloudflare/workers-sdk/commit/21a9e24bc7cea1e7bf54a77568de98df9b7c8d03), [`f4ae6ee`](https://redirect.github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d)]: - [email protected] - [@​cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared)[@​0](https://redirect.github.com/0).10.0 ### [`v3.92.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#3920) [Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/[email protected]@3.92.0) ##### Minor Changes - [#​7251](https://redirect.github.com/cloudflare/workers-sdk/pull/7251) [`80a83bb`](https://redirect.github.com/cloudflare/workers-sdk/commit/80a83bb4708ea2e3d4b514d3ebc97aa40c14439c) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Improve Wrangler's multiworker support to allow running multiple workers at once with one command. To try it out, pass multiple `-c` flags to Wrangler: i.e. `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first config will be treated as the *primary* worker and will be exposed over HTTP as usual (localhost:8787) while the rest will be treated as *secondary* and will only be accessible via a service binding from the primary worker. Notably, these workers all run in the same runtime instance, which should improve reliability of multiworker dev and fix some bugs (RPC to cross worker Durable Objects, for instance). - [#​7130](https://redirect.github.com/cloudflare/workers-sdk/pull/7130) [`11338d0`](https://redirect.github.com/cloudflare/workers-sdk/commit/11338d08bba1a6d4bff04ecd8f6693940211064f) Thanks [@​nickbabcock](https://redirect.github.com/nickbabcock)! - Update import resolution for files and package exports In an npm workspace environment, wrangler will now be able to successfully resolve package exports. Previously, wrangler would only be able to resolve modules in a relative `node_modules` directory and not the workspace root `node_modules` directory. - [#​7355](https://redirect.github.com/cloudflare/workers-sdk/pull/7355) [`5928e8c`](https://redirect.github.com/cloudflare/workers-sdk/commit/5928e8c0f2f31364208b8ec496307799ca93a7b3) Thanks [@​emily-shen](https://redirect.github.com/emily-shen)! - feat: add `experimental_serve_directly` option to Workers with Assets Users can now specify whether their assets are served directly against HTTP requests or whether these requests always go to the Worker, which can then respond with asset retrieved by its assets binding. ##### Patch Changes - [#​7326](https://redirect.github.com/cloudflare/workers-sdk/pull/7326) [`24c752e`](https://redirect.github.com/cloudflare/workers-sdk/commit/24c752ee482aac06e91fc9e60bcf1d9924d67390) Thanks [@​OilyLime](https://redirect.github.com/OilyLime)! - Print wrangler.toml snippet when creating new Hyperdrive Config - [#​7272](https://redirect.github.com/cloudflare/workers-sdk/pull/7272) [`a3f56d1`](https://redirect.github.com/cloudflare/workers-sdk/commit/a3f56d1ed6aad7261cbbe29e907092158e8b0bc4) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Make debug log for `.env` not found less scary - [#​7377](https://redirect.github.com/cloudflare/workers-sdk/pull/7377) [`6ecc74e`](https://redirect.github.com/cloudflare/workers-sdk/commit/6ecc74edf27bb1c6477a700fadebcf20e1b6cd68) Thanks [@​edmundhung](https://redirect.github.com/edmundhung)! - The `x-provision` experimental flag now skips validation of KV, R2, and D1 IDs in the configuration file. - [#​7348](https://redirect.github.com/cloudflare/workers-sdk/pull/7348) [`4cd8b46`](https://redirect.github.com/cloudflare/workers-sdk/commit/4cd8b4613fa6f51cf07de845866d0a86091afde1) Thanks [@​edmundhung](https://redirect.github.com/edmundhung)! - Added `x-provision` global option This experimental flag currently has no effect. More details will be shared as we roll out its functionality. - [#​7381](https://redirect.github.com/cloudflare/workers-sdk/pull/7381) [`22a4055`](https://redirect.github.com/cloudflare/workers-sdk/commit/22a4055585bc8271e2183392148ad72dabb448a1) Thanks [@​penalosa](https://redirect.github.com/penalosa)! - Turn on `--x-registry` for Pages by default - [#​7360](https://redirect.github.com/cloudflare/workers-sdk/pull/7360) [`98d2725`](https://redirect.github.com/cloudflare/workers-sdk/commit/98d27250d2b37451e808b4aee623c3b4c4de5a20) Thanks [@​emily-shen](https://redirect.github.com/emily-shen)! - fix: allow running `wrangler types` when expected entrypoint doesn't exist - Updated dependencies \[[`ac87395`](https://redirect.github.com/cloudflare/workers-sdk/commit/ac873952cfca41c67ce7855a73c6d3a8b131be06), [`6b21919`](https://redirect.github.com/cloudflare/workers-sdk/commit/6b21919a3d8042afa0270c825bc119e9b58c0455), [`b3d2e7d`](https://redirect.github.com/cloudflare/workers-sdk/commit/b3d2e7dcee4358322f751b54a7b77d47f7b5ca78)]: - [email protected] - [@​cloudflare/workers-shared](https://redirect.github.com/cloudflare/workers-shared)[@​0](https://redirect.github.com/0).9.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/affine-workers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Bumps the dev-deps group with 2 updates in the / directory: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler). Updates `@cloudflare/workers-types` from 4.20241205.0 to 4.20241216.0 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/cloudflare/workerd/commits">compare view</a></li> </ul> </details> <br /> Updates `wrangler` from 3.92.0 to 3.95.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/releases">wrangler's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7382">#7382</a> <a href="https://github.com/cloudflare/workers-sdk/commit/e0b98fdb6eefffff16fc0624517cd9e5fce93c98"><code>e0b98fd</code></a> Thanks <a href="https://github.com/jonesphillip"><code>@jonesphillip</code></a>! - Added r2 bucket cors command to Wrangler including list, set, delete</li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7229">#7229</a> <a href="https://github.com/cloudflare/workers-sdk/commit/669d7ad1e44c07cf74202c4d0fc244a9c50dec81"><code>669d7ad</code></a> Thanks <a href="https://github.com/gabivlj"><code>@gabivlj</code></a>! - Introduce a new cloudchamber command <code>wrangler cloudchamber apply</code>, which will be used by customers to deploy container-apps</li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7002">#7002</a> <a href="https://github.com/cloudflare/workers-sdk/commit/d2447c6c1ebcdebf0829519c3bc52bc2d30a4294"><code>d2447c6</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - fix: More helpful error messages when validating compatibility date</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7493">#7493</a> <a href="https://github.com/cloudflare/workers-sdk/commit/4c140bcb2b75a3dcf12240d66c22619af10503df"><code>4c140bc</code></a> Thanks <a href="https://github.com/emily-shen"><code>@emily-shen</code></a>! - fix: remove non-json output in json mode commands</p> <p>Fixes regressions in 3.93.0 where unwanted text (wrangler banner, telemetry notice) was printing in commands that should only output valid json.</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/cloudflare/workers-sdk/commit/5449fe54b15cf7c6dd12c385b0c8d2883c641b80"><code>5449fe5</code></a>]:</p> <ul> <li><code>@cloudflare/workers-shared</code><a href="https://github.com/0"><code>@0</code></a>.11.0</li> <li>[email protected]</li> </ul> </li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> <li><code>unjs/unenv#367</code></li> </ul> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7426">#7426</a> <a href="https://github.com/cloudflare/workers-sdk/commit/b40d0ab4fdd3a03c06ebb7682e4eea0e561afe81"><code>b40d0ab</code></a> Thanks <a href="https://github.com/petebacondarwin"><code>@petebacondarwin</code></a>! - fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md">wrangler's changelog</a>.</em></p> <blockquote> <h2>3.95.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7382">#7382</a> <a href="https://github.com/cloudflare/workers-sdk/commit/e0b98fdb6eefffff16fc0624517cd9e5fce93c98"><code>e0b98fd</code></a> Thanks <a href="https://github.com/jonesphillip"><code>@jonesphillip</code></a>! - Added r2 bucket cors command to Wrangler including list, set, delete</li> </ul> <h2>3.94.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7229">#7229</a> <a href="https://github.com/cloudflare/workers-sdk/commit/669d7ad1e44c07cf74202c4d0fc244a9c50dec81"><code>669d7ad</code></a> Thanks <a href="https://github.com/gabivlj"><code>@gabivlj</code></a>! - Introduce a new cloudchamber command <code>wrangler cloudchamber apply</code>, which will be used by customers to deploy container-apps</li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7002">#7002</a> <a href="https://github.com/cloudflare/workers-sdk/commit/d2447c6c1ebcdebf0829519c3bc52bc2d30a4294"><code>d2447c6</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - fix: More helpful error messages when validating compatibility date</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7493">#7493</a> <a href="https://github.com/cloudflare/workers-sdk/commit/4c140bcb2b75a3dcf12240d66c22619af10503df"><code>4c140bc</code></a> Thanks <a href="https://github.com/emily-shen"><code>@emily-shen</code></a>! - fix: remove non-json output in json mode commands</p> <p>Fixes regressions in 3.93.0 where unwanted text (wrangler banner, telemetry notice) was printing in commands that should only output valid json.</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/cloudflare/workers-sdk/commit/5449fe54b15cf7c6dd12c385b0c8d2883c641b80"><code>5449fe5</code></a>]:</p> <ul> <li><code>@cloudflare/workers-shared</code><a href="https://github.com/0"><code>@0</code></a>.11.0</li> <li>[email protected]</li> </ul> </li> </ul> <h2>3.93.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7291">#7291</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f5b9cd52bc2ec42e17435c5ea0cd79b766ff76dd"><code>f5b9cd5</code></a> Thanks <a href="https://github.com/edmundhung"><code>@edmundhung</code></a>! - Add anonymous telemetry to Wrangler commands</p> <p>For new users, Cloudflare will collect anonymous usage telemetry to guide and improve Wrangler's development. If you have already opted out of Wrangler's existing telemetry, this setting will still be respected.</p> <p>See our <a href="https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md">data policy</a> for more details on what we collect and how to opt out if you wish.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7448">#7448</a> <a href="https://github.com/cloudflare/workers-sdk/commit/20a0f17609f8f71997c14de9284dae217109e02a"><code>20a0f17</code></a> Thanks <a href="https://github.com/GregBrimble"><code>@GregBrimble</code></a>! - feat: Allow Workers for Platforms scripts (scripts deployed with <code>--dispatch-namespace</code>) to bring along <code>assets</code></p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7445">#7445</a> <a href="https://github.com/cloudflare/workers-sdk/commit/f4ae6ee17a0bd487aa0680a0a7c0757256dee36d"><code>f4ae6ee</code></a> Thanks <a href="https://github.com/WillTaylorDev"><code>@WillTaylorDev</code></a>! - Support for <code>assets.experimental_serve_directly</code> with <code>wrangler dev</code></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7256">#7256</a> <a href="https://github.com/cloudflare/workers-sdk/commit/415e5b58c752c75f9cfcea4a5acf189cb1861404"><code>415e5b5</code></a> Thanks <a href="https://github.com/jamesopstad"><code>@jamesopstad</code></a>! - Export unstable_readConfig function and Unstable_Config, Unstable_RawConfig, Unstable_RawEnvironment and Unstable_MiniflareWorkerOptions types from Wrangler. Overload unstable_getMiniflareWorkerOptions function to accept a config that has already been loaded.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/workers-sdk/pull/7431">#7431</a> <a href="https://github.com/cloudflare/workers-sdk/commit/8f25ebe74d19237e85b6dada1eb34236add11d48"><code>8f25ebe</code></a> Thanks <a href="https://github.com/vicb"><code>@vicb</code></a>! - chore(wrangler): update unenv dependency version</p> <p>Pull in:</p> <ul> <li><code>unjs/unenv#351</code></li> <li><code>unjs/unenv#354</code></li> <li><code>unjs/unenv#363</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cloudflare/workers-sdk/commit/5886ce720dd7a64a03d24457318ecd6251103094"><code>5886ce7</code></a> Version Packages (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7500">#7500</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/e0b98fdb6eefffff16fc0624517cd9e5fce93c98"><code>e0b98fd</code></a> Add r2 bucket cors command (list, set, delete) (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7382">#7382</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/88db1f6f3b006e7dcde418161fd0f91d0a32a720"><code>88db1f6</code></a> Version Packages (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7483">#7483</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/4c140bcb2b75a3dcf12240d66c22619af10503df"><code>4c140bc</code></a> fix: fix banner regressions in 3.93.0 (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7493">#7493</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/669d7ad1e44c07cf74202c4d0fc244a9c50dec81"><code>669d7ad</code></a> cloudchamber: Start <code>cloudchamber apply</code>, the new command to deploy (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7229">#7229</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/d2447c6c1ebcdebf0829519c3bc52bc2d30a4294"><code>d2447c6</code></a> fix(wrangler): Add more helpful error messages when validating compatibility ...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/a29a41ca68f91094cca921aa763aaf0da77f73a1"><code>a29a41c</code></a> chore: remove getConfig helper function, centralising logic surrounding how t...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/119819f972cfd6b04885915f1951fc74a0fc7b6e"><code>119819f</code></a> chore: split readConfig and readPages config to simplify and lower number of ...</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/3d8a6522a0701b0e40c1d3349553e8b953854dac"><code>3d8a652</code></a> Version Packages (<a href="https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler/issues/7439">#7439</a>)</li> <li><a href="https://github.com/cloudflare/workers-sdk/commit/b9d4d5adb0ea0eb24576260549c077f577fe1eb8"><code>b9d4d5a</code></a> ci: extend the timeout on BundleController.test.ts "custom build" test to red...</li> <li>Additional commits viewable in <a href="https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
wrangler 3.93.0 has an updated unenv using the native workerd stream implementation. It fixes an issue with server actions. Ref: - #147 - unjs/unenv#363
(ref: #352, #353, #355)
This allow hybrid polyfills to rewrite the import path.
i.e to import from "node:streaml".
fixes #353
introduces #364