Merged
Conversation
Contributor
|
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/12149340551/npm-package-wrangler-7358You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7358/npm-package-wrangler-7358Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-wrangler-7358 dev path/to/script.jsAdditional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-create-cloudflare-7358 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-kv-asset-handler-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-miniflare-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-pages-shared-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-vitest-pool-workers-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-workers-editor-shared-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-workers-shared-7358npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12149340551/npm-package-cloudflare-workflows-shared-7358Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
7c09817 to
29f87a3
Compare
3cf6a61 to
e9e5d02
Compare
penalosa
approved these changes
Dec 3, 2024
e9e5d02 to
aba31f6
Compare
aba31f6 to
cf4d65e
Compare
lrapoport-cf
approved these changes
Dec 3, 2024
emily-shen
added a commit
that referenced
this pull request
Dec 4, 2024
* add telemetry commands * changeset * fix and test dates * update changeset * add global/project status * default true * remove changeset * update wrangler telemetry status feat: add `wrangler metrics` as an alias for `wrangler telemetry` (#7284) * add metrics alias * tests * use each to test alias feat: send metrics for command start/complete/error (#7267) * stop collecting userId in telemetry Co-authored-by: emily-shen <emily-shen@users.noreply.github.com> * implement telemetry collection * infer errorType based on the constructor name * implement common event properties * log common event properties Co-authored-by: Edmund Hung <me@edmund.dev> * respect metric enabled/disabled * remove dispatcher.identify * include SPARROW_SOURCE_KEY in PR pre-release build * fix tests * ensure debug log covers the request failed message * replace SPARROW_SOURCE_KEY regardless whethe env exists --------- Co-authored-by: Edmund Hung <edmund@cloudflare.com> Co-authored-by: emily-shen <emily-shen@users.noreply.github.com> Co-authored-by: Edmund Hung <me@edmund.dev> fix nested properties (#7300) feat: add banner to indicate when telemetry is on (#7302) * add banner * abort if telemetry disable * basic sendNewEvent tests * banner tests * settle promises before exiting * remove unnecessary banner logic * just check if version is different feat: add some more properties to telemetry events (#7320) * isCI and isNonInteractive * add argsUsed and argsCombination * don't include args if value is false * redact arg values if string * lint * isNonInteractive -> isInteractive cleanup defineCommand test duration log metrics request failure add draft telemetry.md add node and os versions don't send wrangler metrics from c3 if disabled don't send c3 metrics from wrangler init add config type add more comments to send-event move types out of send-event.ts add comment about applyBeforeValidation normalize into camelcase refactor telemetry command update tests and some comments normalise all args pr feedback update telemetry.md use useragent to get package manager make sendEvent/sendNewEvent sync rename sendEvent and sendNewEvent fix lock file remove flushPromises changeset fail silently feat(wrangler): make resources identifier optional if x-provision flag is enabled (#7377) Fix wrangler module import under npm monorepos (#7130) * 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 workspace root `node_modules` directory. * Use esbuild plugin chore(wrangler): fix type errors with experimental flags (#7391) refactor(wrangler): Explicitely pick node compat plugins for each mode (#7387) * refactor: cleanup & simplify * refactor(wrangler): Explicitely pick node compat plugins for each mode * Update packages/wrangler/src/deployment-bundle/esbuild-plugins/hybrid-nodejs-compat.ts Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> * fixup! renamed vars (review feedback) * fixup! format --------- Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com> fix: error in angular c3 template (#7342) * fixed: related to issues-7341 AngularAppEngine class does not have .render, instead it should be .handle method * added: changeset * Tidy up changeset * fix Angular template - add a preview script so that it gets included in CI test - remove unnecessary --`experimnental-local` CLI arg - add missing `xhr2` dependency --------- Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com> [C3] Bump create-qwik from 1.10.0 to 1.11.0 in /packages/create-cloudflare/src/frameworks (#7359) * [C3] Bump create-qwik in /packages/create-cloudflare/src/frameworks Bumps [create-qwik](https://github.com/QwikDev/qwik/tree/HEAD/packages/create-qwik) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/QwikDev/qwik/releases) - [Changelog](https://github.com/QwikDev/qwik/blob/create-qwik@1.11.0/packages/create-qwik/CHANGELOG.md) - [Commits](https://github.com/QwikDev/qwik/commits/create-qwik@1.11.0/packages/create-qwik) --- updated-dependencies: - dependency-name: create-qwik dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update dependencies of "create-cloudflare" package The following dependency versions have been updated: | Dependency | From | To | | ----------- | ------ | ------ | | create-qwik | 1.10.0 | 1.11.0 | --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wrangler automated PR updater <wrangler@cloudflare.com> Remove await from user Worker fetch in router-worker (#7410) fix: update Angular experimental Workers + Assets template (#7409) * fix: update Angular experimental Workers + Assets template * ci: enable tests on experimental Workers + Assets C3 templates fix: update queues max_batch_timeout in miniflare (#7399) * update timeout limit * changeset * test * remove only Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com> --------- Co-authored-by: Carmen Popoviciu <cpopoviciu@cloudflare.com> refactor: move projectRoot computation to config validation (#7415) move telemetry.md out of src fixups tiody up readRawConfig Rename serve_directly to experimental_serve_directly (#7429) chore(deps): bump the workerd-and-workers-types group across 1 directory with 2 updates (#7418) Updates `workerd` from 1.20241106.1 to 1.20241202.2 Version Packages (#7358) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> ci: don't watch for changes on the workers-shared test:ci job (#7420) refactor: remove missed redundant computation of `projectRoot` (#7421) * refactor: remove missed redundant computation of `projectRoot` * test: do not watch test files in workflow fixture test jobs feat(wrangler): add inherit bindings support (#7385) * feat(wrangler): add inherit bindings support * add test * add changeset * rename file to bindings Relax type on `observability.enabled` (#7436) fix: C3 experimental template for Solid now uses correct preset (#7343) fix: allow the asset directory to be omitted in Wrangler config for commands that don't need it (#7426) fix: C3 experimental template for Nuxt now uses correct preset (#7332) * fix: C3 experimental template for Nuxt now uses correct preset * test: remove quarantine from Nuxt experimental template using the github browser merge is always a bad idea fix e2e
penalosa
pushed a commit
that referenced
this pull request
Jan 10, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.92.0
Minor Changes
#7251
80a83bbThanks @penalosa! - Improve Wrangler's multiworker support to allow running multiple workers at once with one command. To try it out, pass multiple-cflags 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
11338d0Thanks @nickbabcock! - Update import resolution for files and package exportsIn 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_modulesdirectory and not the workspace rootnode_modulesdirectory.#7355
5928e8cThanks @emily-shen! - feat: addexperimental_serve_directlyoption to Workers with AssetsUsers 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
24c752eThanks @OilyLime! - Print wrangler.toml snippet when creating new Hyperdrive Config#7272
a3f56d1Thanks @penalosa! - Make debug log for.envnot found less scary#7377
6ecc74eThanks @edmundhung! - Thex-provisionexperimental flag now skips validation of KV, R2, and D1 IDs in the configuration file.#7348
4cd8b46Thanks @edmundhung! - Addedx-provisionglobal optionThis experimental flag currently has no effect. More details will be shared as we roll out its functionality.
#7381
22a4055Thanks @penalosa! - Turn on--x-registryfor Pages by default#7360
98d2725Thanks @emily-shen! - fix: allow runningwrangler typeswhen expected entrypoint doesn't existUpdated dependencies [
ac87395,6b21919,b3d2e7d]:create-cloudflare@2.33.2
Patch Changes
#7359
515174eThanks @dependabot! - chore: update dependencies of "create-cloudflare" packageThe following dependency versions have been updated:
#7409
5739015Thanks @petebacondarwin! - fix: update Angular experimental Workers + Assets template#7342
499e12dThanks @neomax7! - fix: Angular template should callhandle()method onAngularAppEnginenot 'render()'Fixes 🐛 BUG: npm create cloudflare@latest --framework angular has bug in initial template #7341
miniflare@3.20241106.2
Patch Changes
#7418
ac87395Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#7399
b3d2e7dThanks @emily-shen! - fix: update queues max_batch_timeout limit from 30s to 60s@cloudflare/pages-shared@0.11.70
Patch Changes
ac87395,b3d2e7d]:@cloudflare/vitest-pool-workers@0.5.33
Patch Changes
#7032
a18ed4eThanks @Codex-! - Add support for AbortSignal to fetch-mockUpdated dependencies [
24c752e,ac87395,a3f56d1,80a83bb,6ecc74e,4cd8b46,22a4055,11338d0,98d2725,5928e8c,b3d2e7d]:@cloudflare/workers-shared@0.9.1
Patch Changes
6b21919Thanks @WalshyDev! - chore: remove awaits from Asset Worker fetches. This has no user-facing impact.