#2651a9adfbe7 Thanks @penalosa! - Previously, wrangler dev would not work if the root of your zone wasn't behind Cloudflare. This behaviour has changed so that now only the route which your Worker is exposed on has to be behind Cloudflare.
#2708b3346cfb Thanks @Skye-31! - Feat: Pages now supports Proxying (200 status) redirects in it's _redirects file
This will look something like the following, where a request to /users/123 will appear as that in the browser, but will internally go to /users/[id].html.
/users/:id /users/[id] 200
Patch Changes
#27667912e63a Thanks @mrbbot! - fix: correctly detect service-worker format when using typeof module
Wrangler automatically detects whether your code is a modules or service-worker format Worker based on the presence of a defaultexport. This check currently works by building your entrypoint with esbuild and looking at the output metafile.
Previously, we were passing format: "esm" to esbuild when performing this check, which enables format conversion. This may introduce export default into the built code, even if it wasn't there to start with, resulting in incorrect format detections.
This change removes format: "esm" which disables format conversion when bundling is disabled. See https://esbuild.github.io/api/#format for more details.
#278080f1187a Thanks @GregBrimble! - fix: Ensure we don't mangle internal constructor names in the wrangler bundle when building with esbuild
Undici changed how they referenced FormData, which meant that when used in our bundle process, we were failing to upload multipart/form-data bodies. This affected wrangler pages publish and wrangler publish.
#2720de0cb57a Thanks @JacobMGEvans! - Fix: Upgraded to ES2022 for improved compatibility
Upgraded worker code target version from ES2020 to ES2022 for better compatibility and unblocking of a workaround related to [issue #2029](cloudflare/workers-sdk#2029). The worker runtime now uses the same V8 version as recent Chrome and is 99% ES2016+ compliant. The only thing we don't support on the Workers runtime, the remaining 1%, is the ES2022 RegEx feature as seen in the compat table for the latest Chrome version.
#2651a9adfbe7 Thanks @penalosa! - Previously, wrangler dev would not work if the root of your zone wasn't behind Cloudflare. This behaviour has changed so that now only the route which your Worker is exposed on has to be behind Cloudflare.
#2708b3346cfb Thanks @Skye-31! - Feat: Pages now supports Proxying (200 status) redirects in it's _redirects file
This will look something like the following, where a request to /users/123 will appear as that in the browser, but will internally go to /users/[id].html.
/users/:id /users/[id] 200
Patch Changes
#27667912e63a Thanks @mrbbot! - fix: correctly detect service-worker format when using typeof module
Wrangler automatically detects whether your code is a modules or service-worker format Worker based on the presence of a defaultexport. This check currently works by building your entrypoint with esbuild and looking at the output metafile.
Previously, we were passing format: "esm" to esbuild when performing this check, which enables format conversion. This may introduce export default into the built code, even if it wasn't there to start with, resulting in incorrect format detections.
This change removes format: "esm" which disables format conversion when bundling is disabled. See https://esbuild.github.io/api/#format for more details.
#278080f1187a Thanks @GregBrimble! - fix: Ensure we don't mangle internal constructor names in the wrangler bundle when building with esbuild
Undici changed how they referenced FormData, which meant that when used in our bundle process, we were failing to upload multipart/form-data bodies. This affected wrangler pages publish and wrangler publish.
#2720de0cb57a Thanks @JacobMGEvans! - Fix: Upgraded to ES2022 for improved compatibility
Upgraded worker code target version from ES2020 to ES2022 for better compatibility and unblocking of a workaround related to [issue #2029](cloudflare/workers-sdk#2029). The worker runtime now uses the same V8 version as recent Chrome and is 99% ES2016+ compliant. The only thing we don't support on the Workers runtime, the remaining 1%, is the ES2022 RegEx feature as seen in the compat table for the latest Chrome version.
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 commands and options
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 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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/TampaDevs/api.jobs.tampa.dev/network/alerts).
Bumps undici to 5.20.0 and updates ancestor dependency wrangler. These dependencies need to be updated together.
Updates
undici
from 5.11.0 to 5.20.0Release notes
Sourced from undici's releases.
... (truncated)
Commits
28b9dea
Bumped v5.20.030dafe3
feat: change headersTimeout and bodyTimeout to 300s (#1937)eaf4dc9
test: more logs in wpt runner (#1933)8b8bfa7
fix: copy cookies when cloning haders (#1936)eae6807
feat: Support autoSelectFamily when connecting. (#1914)c2387e8
fix: Allow “undefined“ as value in headers (#1929)f73ec63
fix: disable websocket wpts in ci :( (#1932)2971280
perf: improve cookie parsing performance (#1931)984d53b
Bumped v5.19.16c32c0f
lint fixesUpdates
wrangler
from 2.10.0 to 2.11.0Release notes
Sourced from wrangler's releases.
Changelog
Sourced from wrangler's changelog.
Commits
0511644
Version Packages (#2739)8e335b3
Switch to new Devtools (#2601)80f1187
Don't mangle constructor names with esbuild bundle (#2780)4ede044
chore: upgrade tominiflare@2.12.1
&@miniflare/tre@3.0.0-next.10
(#2771)7912e63
Disable format conversion when detecting format (#2766)fa8e523
Mistakenly committed a .only on tests (#2757)a9adfbe
Use correct host in exchange (#2651)de0cb57
[Wrangler] Build target ES2022 (#2720)0e10605
Allow Sources reload (#2732)a7912fd
[fixtures] Increase Jest timeout (#2710)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 commands and options
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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/TampaDevs/api.jobs.tampa.dev/network/alerts).