Skip to content

Update CLI commands, Cloudflare adapter, and dependency references - #159

Merged
aram356 merged 3 commits into
mainfrom
fix/cli-new-command
Feb 11, 2026
Merged

aram356 merged 3 commits into
mainfrom
fix/cli-new-command

Conversation

@prk-Jr

@prk-Jr prk-Jr commented Feb 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Rename CLI binary references: edgezero → edgezero-cli in README and generated READMEs
  • Cloudflare adapter restructure: Split main.rs into lib.rs (wasm entrypoint with #[event(fetch)]) + main.rs (stub), add [lib] crate-type = ["cdylib", "rlib"] to Cargo.toml
  • Update Cloudflare commands to use --cwd: wrangler dev/build/deploy now use --cwd {crate_dir} instead of --config flags; wrangler publish → wrangler deploy
  • Update Fastly commands: cargo build --target wasm32-wasip1 → fastly compute build -C {crate_dir}; add [scripts] build section to fastly.toml; add viceroy runner in .cargo/config.toml
  • Upgrade worker crate: 0.6 → 0.7
  • Upgrade axum: 0.7 → 0.8 in example workspace
  • Switch git dependency URLs: ssh://git@github.com/... → https://git@github.com/... across all adapter fallback dependencies
  • Comment out [environment] section in generated edgezero.toml template and demo app manifest
  • Simplify demo app: Remove list_routes handler and /__edgezero/routes trigger, reduce stream chunks from 5 to 3, alphabetize adapter ordering, add release profile with LTO
  • Alphabetize dependencies in generated and example Cargo.toml files
  • Add .wrangler/ to .gitignore; add worker-builder prerequisite to Cloudflare docs
  • Bump clap (4.5.57 → 4.5.58) and other lockfile dependency updates

Test plan

  • Run edgezero-cli new test-app and verify generated project structure matches new templates (lib.rs for Cloudflare, alphabetized deps, commented-out environment section)
  • Verify edgezero-cli serve --adapter axum starts the demo app
  • Verify edgezero-cli serve --adapter cloudflare invokes wrangler dev --cwd correctly
  • Verify edgezero-cli build --adapter cloudflare invokes wrangler build --cwd correctly
  • Run existing tests in app-demo-core to confirm handler changes pass

Resolved #160

@prk-Jr prk-Jr changed the title Update CLI commands to , enhance Cloudflare adapter configuration, an… Update wrangler version for generated apps Feb 11, 2026
@prk-Jr
prk-Jr marked this pull request as ready for review February 11, 2026 10:13
@prk-Jr prk-Jr self-assigned this Feb 11, 2026
@prk-Jr
prk-Jr requested a review from aram356 February 11, 2026 10:13
@aram356 aram356 changed the title Update wrangler version for generated apps Update CLI commands, Cloudflare adapter, and dependency references Feb 11, 2026

@aram356 aram356 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for starting. I aligned all the changes from mocktioneer.

@aram356
aram356 merged commit 10cc85b into main Feb 11, 2026
7 checks passed
@aram356
aram356 deleted the fix/cli-new-command branch February 11, 2026 21:43
aram356 added a commit that referenced this pull request Oct 15, 2026
The fallbacks moved from ssh://git@github.com to https:// in #159 and
kept the SSH username, which means nothing over HTTPS. Use the plain
form the docs already show.

Refs #418
aram356 added a commit that referenced this pull request Oct 16, 2026
* Point repository and docs URLs at IABTechLab

EdgeZero is moving to the IABTechLab org by repository transfer. The
transfer redirects github.com/stackpop/edgezero, but not the GitHub
Pages site, so docs links move to iabtechlab.github.io/edgezero. Repo
URLs, action uses: examples, and the generator's git fallbacks move to
IABTechLab/edgezero so new projects do not depend on the redirect.

Refs #418

* Retarget agent configs at the IABTechLab project board

Org-level projects and issue types do not move with a repository
transfer. Point issue-creator and pr-creator at the Trusted Server
Development board and the IABTechLab issue type IDs.

Refs #418

* Assign copyright to IAB Technology Laboratory, Inc.

Matches the holder used by IABTechLab/trusted-server.

Refs #418

* Drop the git@ userinfo from generator git fallbacks

The fallbacks moved from ssh://git@github.com to https:// in #159 and
kept the SSH username, which means nothing over HTTPS. Use the plain
form the docs already show.

Refs #418

* Link blob app-config spec and plan to their files

Refs #418

* Skip Won't Fix issues when pr-creator moves status

The IABTechLab board adds a Won't Fix status. Without it in the skip
list, opening a PR linked to a Won't Fix issue would move the issue
back to In progress.

Refs #418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update wrangler version for generated apps using edgezero

2 participants