workers-sdk
workers-sdk copied to clipboard
Allow unsetting of Link headers using _headers
We're moving the logic of the auto-generated Link header above the _headers handling so that there is a way to forcibly unset these with
/*
! Link
Unfortunately, testing isn't easy as we aren't set up to properly emulate caches and waitUntil.
🦋 Changeset detected
Latest commit: 56ade93baba0a7fb7e36580cf202f8792132a79e
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| wrangler | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
A wrangler prerelease is available for testing. You can install this latest build in your project with:
npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/3107406326/npm-package-wrangler-1903
You can reference the automatically updated head of this PR with:
npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/1903/npm-package-wrangler-1903
Or you can use npx with this latest build directly:
npx https://prerelease-registry.developers.workers.dev/runs/3107406326/npm-package-wrangler-1903 dev path/to/script.js
Codecov Report
Merging #1903 (56ade93) into main (3eb738e) will increase coverage by
0.01%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #1903 +/- ##
==========================================
+ Coverage 77.49% 77.51% +0.01%
==========================================
Files 105 105
Lines 7479 7479
Branches 1977 1977
==========================================
+ Hits 5796 5797 +1
+ Misses 1683 1682 -1
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/wrangler/src/environment-variables.ts | 71.42% <0.00%> (ø) |
|
| ...ackages/wrangler/src/__tests__/helpers/mock-bin.ts | 100.00% <0.00%> (+5.26%) |
:arrow_up: |