Skip to content
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

[pull] main from cloudflare:main #7

Open
wants to merge 999 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@github-actions github-actions bot added the e2e label Jun 6, 2024
@pull pull bot added ⤵️ pull and removed e2e labels Jun 6, 2024
@github-actions github-actions bot added the e2e label Jun 6, 2024
penalosa and others added 26 commits November 22, 2024 17:09
…assets (#7303)

- Adds logic to run user-worker ahead of assets
- Moves vitest from worker-shared root into asset-worker
- Creates new vitest unit suite for router-worker
* Add serve_directly option to assets configuration

* fix assets config type

* Apply default for serve_directly

* Update .changeset/six-coats-rule.md

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>

---------

Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
* Removed 405 response from unstable_canFetch

* Removed unused import

* Added changeset
* added queues info command and tests

* chore: removed table, add account_id in curl, and cleanup comments

* chore: add condition for r2_bucket as producer

* chore: added conditional and test for r2bucket producers

* chore: add condition for r2_bucket consumer to print bucket_name

* refactor: add conditions to not print producers and consumers if there aren't any

* refactor: run prettier to match code style; modify curl styling

* chore: add changeset for new command

* fix: fix issue of accountId being undefined in curl string

* refactor: prettified

* refactor: update snapshot due to --experimental-json-config removal
Co-authored-by: Samuel Macleod <smacleod@cloudflare.com>
Add a default image when using "wrangler cloudchamber create". This
image is docker.io/cloudflare/hello-world which is a simple HTTP server
that runs on Cloudflare's container platform.

This commit also augments validation to both the `cloudchamber create`
and `cloudchamber modify` commands to ensure the provided image contains
a tag and adheres to the format in the OCI specification.
…lare/src/frameworks (#7235)

* [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.9.1 to 1.10.0.
- [Release notes](https://github.com/QwikDev/qwik/releases)
- [Changelog](https://github.com/QwikDev/qwik/blob/main/packages/create-qwik/CHANGELOG.md)
- [Commits](https://github.com/QwikDev/qwik/commits/create-qwik@1.10.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.9.1 | 1.10.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>
* feat(wrangler): create separate config for workers_dev_previews

The current Preview URLs (beta) feature routes to version preview urls based on the status of the `workers_dev` config value. Beta users have requested the ability to enable deployment urls and preview urls separately on `workers.dev`, and the new `previews_enabled` field of the enable-subdomain API will allow that. This change separates the `workers_dev` and `workers_dev_previews` behavior during `wrangler triggers deploy` and `wrangler versions upload`. `preview_urls` defaults to true, and does not implicitly depend on routes the way `workers_dev` does.

* Rename to preview_urls

* Update .changeset/famous-mayflies-knock.md

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>

---------

Co-authored-by: Daniel Walsh <walshy@cloudflare.com>
Co-authored-by: Daniel Walsh <walshydev@gmail.com>
Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ows (#7333)

Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](dawidd6/action-download-artifact@v2...v6)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Support AbortSignal in fetch-mock

* test: remove duplicate test
cmackenzie1 and others added 30 commits January 9, 2025 17:43
* feat: Use OAuth flow to generate R2 tokens for Pipelines

This commit changes the generateR2Tokens flow which will direct the user
to the web browser to perform a OAuth flow to grant the Workers
Pipelines client the ability to generate R2 tokens on behalf of the
user. This will only run if the user does not provide the credentials as
CLI parameters.

Due to requiring user interactivity, and reliance on the callbacks,
there is no easy way to support a "headless" mode for `wrangler pipelines
create` (or `update`) unless the user provides the tokens as arguments.
The same applies for testing this flow, which can only be done manually
at this time.

* fix: add forced delayed to allow r2 tokens time to sync

Create odd-ducks-attack.md

* Add docs around bespoke OAuth solution

* fix: Wait for R2 token to sync

After creating an R2 token, there is a slight delay before if can be
used. Previously we would sleep for some amount of time, but this method
is really sensitive to latency.

Instead, use the S3 SDK and try using the token until we exhaust all
attempts, or we finally succeed in using it. Each failure results in a
constant backoff of 1 second.

This commit does add the dependency `@aws-sdk/client-s3`.

* fix pnpm-lock.yaml

* fix: clear timeout if token retrieved successfully

This uses the promise based version of `setTimeout` from NodeJS and
registers the AbortController to handle cancellation signal. The http
server `.close()` method is also registered to the abort controller for
cleanup as `controller.abort()` is always called before returning the
result.

---------

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
* add dotenv support to wrangler secret bulk

* remove x-versions arg

* remove old --x-versions flag

* PR feedback

---------

Co-authored-by: Thomas Ankcorn <tankcorn@cloudflare.com>
* Remove CF-Connecting-IP for requests to the edge preview

* Create honest-pillows-tease.md
* Remove Server Registry

* some more

* Create ten-eyes-tease.md

* fix

* remove metafile

* fix rebase

* fix lockfile
* Output .json by default

* Create young-apes-battle.md

* Address comments

* Add more comments

* Add more comments

* sort json config files

* Enable trailing commas

* fix e2e

* fix e2e again

* formatting

* Always install latest Wrangler

* Don't overwrite the wrangler config that remix already provides

* fix unit tests

* Add back remix .toml file
Now that C3 generates wrangler.json files, we need to update the wranger <-> c3 integration tests
…rc/frameworks (#7749)

* [C3] Bump nuxi in /packages/create-cloudflare/src/frameworks

Bumps [nuxi](https://github.com/nuxt/cli) from 3.17.2 to 3.20.0.
- [Release notes](https://github.com/nuxt/cli/releases)
- [Changelog](https://github.com/nuxt/cli/blob/main/CHANGELOG.md)
- [Commits](nuxt/cli@v3.17.2...v3.20.0)

---
updated-dependencies:
- dependency-name: nuxi
  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     |
| ---------- | ------ | ------ |
| nuxi       | 3.17.2 | 3.20.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>
…loudflare/src/frameworks (#7746)

* [C3] Bump create-next-app in /packages/create-cloudflare/src/frameworks

Bumps [create-next-app](https://github.com/vercel/next.js/tree/HEAD/packages/create-next-app) from 15.1.3 to 15.1.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v15.1.4/packages/create-next-app)

---
updated-dependencies:
- dependency-name: create-next-app
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-next-app | 15.1.3 | 15.1.4 |

---------

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>
…loudflare/src/frameworks (#7747)

* [C3] Bump @angular/create in /packages/create-cloudflare/src/frameworks

Bumps [@angular/create](https://github.com/angular/angular-cli) from 19.0.6 to 19.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](angular/angular-cli@19.0.6...19.0.7)

---
updated-dependencies:
- dependency-name: "@angular/create"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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     |
| --------------- | ------ | ------ |
| @angular/create | 19.0.6 | 19.0.7 |

---------

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>
…ow overriding raw request method with the X-CF-Http-Method header (#7630)

Co-authored-by: Samuel Macleod <smacleod@cloudflare.com>
…/frameworks (#7748)

* [C3] Bump sv in /packages/create-cloudflare/src/frameworks

Bumps [sv](https://github.com/sveltejs/cli/tree/HEAD/packages/cli) from 0.6.10 to 0.6.11.
- [Release notes](https://github.com/sveltejs/cli/releases)
- [Changelog](https://github.com/sveltejs/cli/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/cli/commits/sv@0.6.11/packages/cli)

---
updated-dependencies:
- dependency-name: sv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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     |
| ---------- | ------ | ------ |
| sv         | 0.6.10 | 0.6.11 |

---------

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>
* Use TEXT bindings for plain text values in Miniflare

* Create dry-numbers-doubt.md

* Update dry-numbers-doubt.md
* bundle chokidar

* Harden up more deps

* Add path-to-regexp
* fix: local tags for durable objects and vectorize

* chore: update tests

* chore: add changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.