-
Notifications
You must be signed in to change notification settings - Fork 735
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
Version Packages #4245
Version Packages #4245
Conversation
1859af3
to
5374829
Compare
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6656897005/npm-package-wrangler-4245 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6656897005/npm-package-wrangler-4245 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6656897005/npm-package-wrangler-4245 dev path/to/script.js Additional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6656897005/npm-package-cloudflare-pages-shared-4245 Note that these links will no longer work once the GitHub Actions artifact expires.
| Please ensure constraints are pinned, and |
7ac5840
to
85f78b5
Compare
Codecov Report
@@ Coverage Diff @@
## main #4245 +/- ##
==========================================
+ Coverage 75.39% 75.44% +0.04%
==========================================
Files 223 223
Lines 12330 12330
Branches 3186 3186
==========================================
+ Hits 9296 9302 +6
+ Misses 3034 3028 -6 |
55da3a9
to
75c40dc
Compare
75c40dc
to
bdfbf36
Compare
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.
lgmt. we'll look into the c3 failures which seem benine separately.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
wrangler@3.15.0
Minor Changes
#4201
0cac2c46
Thanks @penalosa! - Callout--minify
when script size is too large#4209
24d1c5cf
Thanks @mrbbot! - fix: suppress compatibility date fallback warnings if nowrangler
update is availableIf a compatibility date greater than the installed version of
workerd
wasconfigured, a warning would be logged. This warning was only actionable if a new
version of
wrangler
was available. The intent here was to warn if a user seta new compatibility date, but forgot to update
wrangler
meaning changesenabled by the new date wouldn't take effect. This change hides the warning if
no update is available.
It also changes the default compatibility date for
wrangler dev
sessionswithout a configured compatibility date to the installed version of
workerd
.This previously defaulted to the current date, which may have been unsupported
by the installed runtime.
#4135
53218261
Thanks @Cherry! - feat: resolve npm exports for file importsPreviously, when using wasm (or other static files) from an npm package, you would have to import the file like so:
This update now allows you to import the file like so, assuming it's exposed and available in the package's
exports
field:This will look at the package's
exports
field inpackage.json
and resolve the file usingresolve.exports
.#4232
69b43030
Thanks @romeupalos! - fix: usezone_name
to determine a zone when the pattern is a custom hostnameIn Cloudflare for SaaS, custom hostnames of third party domain owners can be used in Cloudflare.
Workers are allowed to intercept these requests based on the routes configuration.
Before this change, the same logic used by
wrangler dev
was used inwrangler deploy
, which caused wrangler to fail with:✘ [ERROR] Could not find zone for [partner-saas-domain.com]
#4198
b404ab70
Thanks @penalosa! - When uploading additional modules with your worker, Wrangler will now report the (uncompressed) size of each individual module, as well as the aggregate size of your WorkerPatch Changes
#4215
950bc401
Thanks @RamIdeas! - fix various logging of shell commands to correctly quote args when needed#4274
be0c6283
Thanks @jspspike! - chore: bumpminiflare
to3.20231025.0
This change enables Node-like
console.log()
ing in local mode. Objects withlots of properties, and instances of internal classes like
Request
,Headers
,ReadableStream
, etc will now be logged with much more detail.#4127
3d55f965
Thanks @mrbbot! - fix: store temporary files in.wrangler
As Wrangler builds your code, it writes intermediate files to a temporary
directory that gets cleaned up on exit. Previously, Wrangler used the OS's
default temporary directory. On Windows, this is usually on the
C:
drive.If your source code was on a different drive, our bundling tool would generate
invalid source maps, breaking breakpoint debugging. This change ensures
intermediate files are always written to the same drive as sources. It also
ensures unused build outputs are cleaned up when running
wrangler pages dev
.This change also means you no longer need to set
cwd
andresolveSourceMapLocations
in.vscode/launch.json
when creating anattach
configuration for breakpoint debugging. Your
.vscode/launch.json
should nowlook something like...
#4189
05798038
Thanks @gabivlj! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on it#4235
46cd2df5
Thanks @mrbbot! - fix: ensureconsole.log()
s during startup are displayedPreviously,
console.log()
calls before the Workers runtime was ready toreceive requests wouldn't be shown. This meant any logs in the global scope
likely weren't visible. This change ensures startup logs are shown. In particular,
this should fix Remix's HMR,
which relies on startup logs to know when the Worker is ready.
create-cloudflare@2.6.2
Patch Changes
#4243
bfb66aa0
Thanks @dependabot! - C3: Bumpedcreate-vue
from3.7.5
to3.8.0
#4244
5c81d34d
Thanks @dependabot! - C3: Bumpedcreate-qwik
from1.2.13
to1.2.14
#4246
67c4c2c0
Thanks @dependabot! - C3: Bumpedgatsby
from5.12.7
to5.12.8
#4259
b5e62b93
Thanks @dependabot! - C3: Bumpedcreate-hono
from0.3.1
to0.3.2
#4268
77820a22
Thanks @dependabot! - C3: Bumpedcreate-solid
from0.3.7
to0.3.8
#4215
950bc401
Thanks @RamIdeas! - fix various logging of shell commands to correctly quote args when needed#4189
05798038
Thanks @gabivlj! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on it#4200
773e2a8c
Thanks @dario-piotrowicz! - fix the generation of invalid/incorrect scripts for Next.js applications@cloudflare/cli@1.0.0
Major Changes
05798038
Thanks @gabivlj! - Move helper cli files of C3 into @cloudflare/cli and make Wrangler and C3 depend on itPatch Changes
70016b2b
Thanks @gabivlj! - change backgrounds of statuses from red to more appropriate ones