-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Version Packages #4291
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 #4291
Conversation
3cc9296 to
f68f32f
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4291 +/- ##
==========================================
+ Coverage 75.46% 75.50% +0.03%
==========================================
Files 225 225
Lines 12478 12478
Branches 3239 3239
==========================================
+ Hits 9417 9421 +4
+ Misses 3061 3057 -4 |
|
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/6896356992/npm-package-wrangler-4291You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6896356992/npm-package-wrangler-4291Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6896356992/npm-package-wrangler-4291 dev path/to/script.jsAdditional artifacts:npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6896356992/npm-package-miniflare-4291npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/6896356992/npm-package-cloudflare-pages-shared-4291Note that these links will no longer work once the GitHub Actions artifact expires.
| Please ensure constraints are pinned, and |
fad5c83 to
5e9e3d7
Compare
55d1e80 to
391791b
Compare
b90b688 to
62a95e5
Compare
77c6ec3 to
47423e8
Compare
bd2eb01 to
f884b56
Compare
f884b56 to
03c3880
Compare
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
create-cloudflare@2.7.0
Minor Changes
a6cd9affThanks @alan-agius4! - Update Angular template to use version 17Patch Changes
#4399
789491bdThanks @petebacondarwin! - ci: move the Angular framework out of the C3 e2e test quarantine.#4242
a1c9f43fThanks @dependabot! - C3: Bumpednuxifrom3.9.0to3.9.1#4275
e4aff81aThanks @dependabot! - C3: Bumpedcreate-astrofrom4.3.0to4.4.1#4288
b7d91bb5Thanks @dependabot! - C3: Bumpedcreate-qwikfrom1.2.14to1.2.15#4313
18612851Thanks @dependabot! - C3: Bumpedgatsbyfrom5.12.8to5.12.9#4316
3caa7860Thanks @dependabot! - C3: Bumpedcreate-remixfrom2.1.0to2.2.0#4317
db8b5fe5Thanks @dependabot! - C3: Bumpedcreate-docusaurusfrom2.4.3to3.0.0#4334
bde0a1bdThanks @dependabot! - C3: Bumpedcreate-qwikfrom1.2.15to1.2.16#4335
c1223c53Thanks @dependabot! - C3: Bumpedcreate-solidfrom0.3.8to0.3.9#4346
71eff285Thanks @dependabot! - C3: Bumpedcreate-qwikfrom1.2.16to1.2.17#4431
c0d70bf5Thanks @dependabot! - C3: Bumpedcreate-astrofrom4.4.1to4.5.1#4311
35be4594Thanks @jculvey! - Changes c3 to usenpxfor running framework creation tools when it is invoked withyarn. This isneeded since yarn can't
yarn create some-package@some-particular-version.#4226
5810f815Thanks @jculvey! - Relax empty directory check. Directories containing certain common config files and/or files created by an ide will be exempt from the pre-flight check#4249
b18a2c0fThanks @dario-piotrowicz! - correct error message for unrecognized application type#4403
cb8ec90eThanks @petebacondarwin! - test: fix C3 e2e tests for Angular#4249
b18a2c0fThanks @dario-piotrowicz! - improve help message by adding more detailed descriptions about the various CLI optionsalso let the user know that more information is available in the Cloudflare docs
#4339
33bd75dcThanks @alan-agius4! - Remove redundant polyfills from the Angular template#4279
2526794fThanks @dnasdw! - fix: use a valid compatibility date for the scheduled worker ts templateminiflare@3.20231030.0
Minor Changes
#4324
16cc2e92Thanks @penalosa! - Update to latestworkerd@1.20231030.0#4322
8a25b7fbThanks @dario-piotrowicz! - addunsafeEvalBindingoptionAdd option to leverage the newly introduced
UnsafeEvalworkerd binding API,such API is used to evaluate javascript code at runtime via the provided
evalandnewFunctionmethods.The API, for security reasons (as per the workers docs), is not to be use in production but it is intended for local purposes only such as local testing.
To use the binding you need to specify a string value for the
unsafeEvalBinding, such will be the name of theUnsafeEvalbindings that will be made available in the workerd runtime.For example the following code shows how to set the binding with the
UNSAFE_EVALname and evaluate the1+1string:Patch Changes
#4397
4f8b3420Thanks @mrbbot! - fix: rejectMiniflare#readypromise ifMiniflare#dispose()called while waiting#4428
3637d97aThanks @mrbbot! - fix: addminiflarebinentryMiniflare 3 doesn't include a CLI anymore, but should log a useful error stating this when running
npx miniflare. We had a script for this, but it wasn't correctly hooked up. 🤦 This change makes sure the requiredbinentry exists.#4321
29a59d4eThanks @mrbbot! - fix: ensureMutexdoesn't report itself as drained if lockedPreviously, Miniflare's
Muteximplementation would report itself as drainedif there were no waiters, regardless of the locked state. This bug meant that
if you called but didn't
awaitMiniflare#setOptions(), future calls toMiniflare#dispatchFetch()(or any other asynchronousMiniflaremethod)wouldn't wait for the options update to apply and the runtime to restart before
sending requests. This change ensures we wait until the mutex is unlocked before
reporting it as drained.
#4307
7fbe1937Thanks @jspspike! - Only output ipv4 addresses when starting#4400
76787861Thanks @mrbbot! - fix: cleanup temporary directory after shutting downworkerdPreviously on exit, Miniflare would attempt to remove its temporary directory
before shutting down
workerd. This could lead toEBUSYerrors on Windows.This change ensures we shutdown
workerdbefore removing the directory.Since we can only clean up on a best effort basis when exiting, it also catches
any errors thrown when removing the directory, in case the runtime doesn't
shutdown fast enough.
@cloudflare/pages-shared@0.11.0
Minor Changes
#4051
4578d647Thanks @taoky! - fix: remove extension name check when generating responseCurrent regex logic to check whether a pathname is a file (has file extension) is causing trouble for some websites, and now \${pathname}/index.html is always checked before returning notFound().
Patch Changes
4f8b3420,16cc2e92,3637d97a,29a59d4e,7fbe1937,76787861,8a25b7fb]:wrangler@3.16.0
Minor Changes
#4347
102e15f9Thanks @Skye-31! - Feat(unstable_dev): Provide an option for unstable_dev to perform the check that prompts users to update wrangler, defaulting to false. This will prevent unstable_dev from sending a request to NPM on startup to determine whether it needs to be updated.#4179
dd270d00Thanks @matthewdavidrodgers! - Simplify secret:bulk api via script settingsFiring PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially.
Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don't need any parallelization. However this api doesn't work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don't use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won't update anything else. Instead, we use script settings api again to fetch the current state of your bindings.
This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around "${x} secrets were updated" or "${x} secrets failed" is kept, even if it doesn't make much sense anymore.
Patch Changes
#4402
baa76e77Thanks @rozenmd! - This PR adds a fetch handler that usespage, assumingresult_infoprovided by the endpoint containspage,per_page, andtotalThis is needed as the existing
fetchListResulthandler for fetching potentially paginated results doesn't work for endpoints that don't implementcursor.Fixes 🐛 BUG: wrangler login only lists the first 20 accounts #4349
#4337
6c8f41f8Thanks @Skye-31! - Improve the error message when a script isn't exported a Durable Object classPreviously, wrangler would error with a message like
Uncaught TypeError: Class extends value undefined is not a constructor or null. This improves that messaging to be more understandable to users.#4307
7fbe1937Thanks @jspspike! - Change local dev server default ip to*instead of0.0.0.0. This will cause the dev server to listen on both ipv4 and ipv6 interfaces#4222
f867e01cThanks @tmthecoder! - Support for hyperdrive bindings in local wrangler dev#4149
7e05f38eThanks @jspspike! - Fixed issue withtailnot using proxy#4219
0453b447Thanks @maxwellpeterson! - Allows uploads with both cron triggers and smart placement enabled#4437
05b1bbd2Thanks @jspspike! - Change dev registry and inspector server to listen on 127.0.0.1 instead of all interfacesUpdated dependencies [
4f8b3420,16cc2e92,3637d97a,29a59d4e,7fbe1937,76787861,8a25b7fb]: