Skip to content

[C3] Bump create-analog from 2.9.7 to 3.0.0 in /packages/create-cloudflare/src/frameworks - #17266

Merged
petebacondarwin merged 10 commits into
mainfrom
dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/create-analog-3.0.0
Nov 30, 2026
Merged

petebacondarwin merged 10 commits into
mainfrom
dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/create-analog-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Bumps create-analog from 2.9.7 to 3.0.0.

Release notes

Sourced from create-analog's releases.

v3.0.0

3.0.0 (2026-11-24)

  • feat(platform)!: register library page globs with Angular through analog.setup (88ee690)
  • feat(platform)!: remove the style preprocessor module and tailwindPreprocessor (2f07506)
  • feat(router)!: align alpha typed routing with beta (04fb0e9)
  • feat(vite-plugin-nitro)!: take the Nitro config as the only argument (23b6e55)

Bug Fixes

  • add blog-app e2e post listing test and continuous serve config (273b143)
  • add CLAUDE.md to reference AGENTS.md (715ec17)
  • angular-compiler: add package.json to release config (e219ba2)
  • astro-angular: add NGH client/server entries and focus hydration directive (9317bc9)
  • astro-angular: fix type and argument errors in getViteConfiguration (3f36931)
  • astro-angular: make Astro Angular builds work on Windows CI (e45fb72)
  • astro-angular: preserve rehype import in published middleware (#2727) (cc8396d)
  • astro-angular: restore the server optimizeDeps entry lists (3c2cdae)
  • astro-angular: stop forcing JSX dev mode in production builds (#2692) (0756b38)
  • astro-angular: support signal and aliased outputs in client bootstrap (#2684) (18ce97e), closes #2683
  • content-plugin: use type-only Tree import and update eslint config (#2154) (aa42f02)
  • content: align md4x and content tests with local renderer APIs (eff74be)
  • content: decode HTML entities in OG image markup (#2774) (3f9677f)
  • content: handle nested link targets and modified clicks in anchor navigation (#2768) (a47a164)
  • content: hoist content file bindings to module scope for Rolldown compatibility (efc9767)
  • content: load content resources inside the resource loader (#2776) (c3189a5)
  • content: make content packages build on Windows CI (ea57af6)
  • content: md4x follow-ups for heal TOC, stream cancel and peer floor (#2778) (ed452c6)
  • content: split devtools into a dedicated entrypoint (8fcf903)
  • content: use md4x heading ids and release the streamMarkdown reader (#2770) (0c36d38)
  • create-analog: accept versioned Angular templates (#2639) (90bc193)
  • create-analog: add nitro and ofetch to dependencies when using pnpm (9654db2)
  • create-analog: add rollup to devDependencies in latest, blog, and minimal templates (54da765)
  • create-analog: describe the build without Nitro-specific paths (2118521)
  • create-analog: drop the vitest override from templates (#2803) (48064b9)
  • create-analog: pin nitro and ofetch to current prerelease versions (a57018a)
  • create-analog: pin typescript to ~5.9.0 in templates (4b45a59)
  • create-analog: publish template-angular-v21 (#2630) (287e8a7)
  • create-analog: scaffold Tailwind v4 PostCSS config (2681c11)
  • create-analog: scaffold vite-tsconfig-paths 6.1.1 and nitro 3.0.260903-beta (99d992c)
  • declare the workspace packages docs-analog imports (7d2f649)
  • declare the workspace packages streaming-app imports (91b94a9)
  • disable route type gen in blog app (aad8a55)
  • fix overrides for nitropack (0eb4274)
  • fix release process (4c610db)
  • harden tailwind debug app HMR diagnostics (aea14b1)
  • isolate QueryClient per SSR request via InjectionToken factory (b382293)
  • nx-plugin: fall back to CJS require when loading @​nx/angular/generators (#2819) (69e06d5)

... (truncated)

Changelog

Sourced from create-analog's changelog.

3.0.0 (2026-11-24)

  • feat(platform)!: register library page globs with Angular through analog.setup (88ee690)
  • feat(platform)!: remove the style preprocessor module and tailwindPreprocessor (2f07506)
  • feat(router)!: align alpha typed routing with beta (04fb0e9)
  • feat(vite-plugin-nitro)!: take the Nitro config as the only argument (23b6e55)

Bug Fixes

  • add blog-app e2e post listing test and continuous serve config (273b143)
  • add CLAUDE.md to reference AGENTS.md (715ec17)
  • angular-compiler: add package.json to release config (e219ba2)
  • astro-angular: add NGH client/server entries and focus hydration directive (9317bc9)
  • astro-angular: fix type and argument errors in getViteConfiguration (3f36931)
  • astro-angular: make Astro Angular builds work on Windows CI (e45fb72)
  • astro-angular: preserve rehype import in published middleware (#2727) (cc8396d)
  • astro-angular: restore the server optimizeDeps entry lists (3c2cdae)
  • astro-angular: stop forcing JSX dev mode in production builds (#2692) (0756b38)
  • astro-angular: support signal and aliased outputs in client bootstrap (#2684) (18ce97e), closes #2683
  • content-plugin: use type-only Tree import and update eslint config (#2154) (aa42f02)
  • content: align md4x and content tests with local renderer APIs (eff74be)
  • content: decode HTML entities in OG image markup (#2774) (3f9677f)
  • content: handle nested link targets and modified clicks in anchor navigation (#2768) (a47a164)
  • content: hoist content file bindings to module scope for Rolldown compatibility (efc9767)
  • content: load content resources inside the resource loader (#2776) (c3189a5)
  • content: make content packages build on Windows CI (ea57af6)
  • content: md4x follow-ups for heal TOC, stream cancel and peer floor (#2778) (ed452c6)
  • content: split devtools into a dedicated entrypoint (8fcf903)
  • content: use md4x heading ids and release the streamMarkdown reader (#2770) (0c36d38)
  • create-analog: accept versioned Angular templates (#2639) (90bc193)
  • create-analog: add nitro and ofetch to dependencies when using pnpm (9654db2)
  • create-analog: add rollup to devDependencies in latest, blog, and minimal templates (54da765)
  • create-analog: describe the build without Nitro-specific paths (2118521)
  • create-analog: drop the vitest override from templates (#2803) (48064b9)
  • create-analog: pin nitro and ofetch to current prerelease versions (a57018a)
  • create-analog: pin typescript to ~5.9.0 in templates (4b45a59)
  • create-analog: publish template-angular-v21 (#2630) (287e8a7)
  • create-analog: scaffold Tailwind v4 PostCSS config (2681c11)
  • create-analog: scaffold vite-tsconfig-paths 6.1.1 and nitro 3.0.260903-beta (99d992c)
  • declare the workspace packages docs-analog imports (7d2f649)
  • declare the workspace packages streaming-app imports (91b94a9)
  • disable route type gen in blog app (aad8a55)
  • fix overrides for nitropack (0eb4274)
  • fix release process (4c610db)
  • harden tailwind debug app HMR diagnostics (aea14b1)
  • isolate QueryClient per SSR request via InjectionToken factory (b382293)
  • nx-plugin: fall back to CJS require when loading @​nx/angular/generators (#2819) (69e06d5)
  • nx-plugin: make generator and build configs work on Windows CI (c9102ae)
  • nx-plugin: register angular and nitro plugins in init generator template (#2823) (30c5098)
  • nx-plugin: restore Angular schematic compatibility with named exports (#2183) (a546f7d)

... (truncated)

Commits
  • e066682 chore: release 3.0.0 [skip ci]
  • e511d69 chore: release 3.0.0 (#2851)
  • daa6b8c Merge branch 'main' into beta [skip ci]
  • 3db0abb chore: release 3.0.0-beta.66 [skip ci]
  • 691d89e fix(vite-plugin-nitro): build sitemap before server with Environment API (#2847)
  • 1b91589 chore: release 3.0.0-beta.65 [skip ci]
  • ca3f6ec fix(platform): match vitest.config.* and double-quoted imports in separated p...
  • 22ae259 chore: release 3.0.0-beta.64 [skip ci]
  • 64a48ae fix(tsrx-angular): preserve event and output handler parameter types (#2844)
  • 24bc2ce chore: release 3.0.0-beta.63 [skip ci]
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Devin Review

Bumps [create-analog](https://github.com/analogjs/analog) from 2.9.7 to 3.0.0.
- [Release notes](https://github.com/analogjs/analog/releases)
- [Changelog](https://github.com/analogjs/analog/blob/beta/CHANGELOG.md)
- [Commits](analogjs/analog@v2.9.7...v3.0.0)

---
updated-dependencies:
- dependency-name: create-analog
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added ci:skip-pr-description-validation Skip validation of the required PR description format dependencies Used by dependabot to mark PRs as updates to dependencies. package:c3 Relating to C3 (create-cloudflare) package labels Nov 29, 2026
@changeset-bot

changeset-bot Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 926a72a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
create-cloudflare Patch
@cloudflare/autoconfig Minor
wrangler Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Nov 29, 2026
@workers-devprod
workers-devprod requested review from a team and dario-piotrowicz and removed request for a team November 29, 2026 06:04
@workers-devprod

workers-devprod commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 80a14700.

This review, of 8e224734

💬 Approved with comments — A one-line version bump with no defects. The only open item is a question about whether the C3 Analog frameworks end-to-end tests pass against create-analog 3.0.0.

Findings: 1 question

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code Quality: ❓ 1 question

The version bump is correct. Because 3.0.0 is a major release, the Analog scaffold should be tested before merging.

Recommendation: 💬 Optional Nits

  • [QUESTION] Major bump of create-analog (2.9.7 → 3.0.0): has the C3 Analog scaffold been tested against it with the frameworks end-to-end tests? (packages/create-cloudflare/src/frameworks/package.json:6)
View full review

Major bump needs a frameworks end-to-end run (packages/create-cloudflare/src/frameworks/package.json:6)

The 3.0.0 release lists breaking changes (feat(platform)!, feat(router)!, feat(vite-plugin-nitro)!). It also changes what the templates scaffold: new pins for nitro, ofetch, typescript and vite-tsconfig-paths, plus a Tailwind v4 PostCSS config.

packages/create-cloudflare/templates/analog/c3.ts depends on the generated output in three ways:

  • it passes --template=latest and --skipViteOverrides;
  • it looks for an analog(...) call in the generated vite.config.ts;
  • it injects nitro: { preset: "cloudflare_module", compatibilityDate } into that call.

Nothing in the release notes shows these breaking. However, the frameworks end-to-end tests only run in the merge queue, on the release branch, or when the run-c3-frameworks-tests label is set. Adding that label here would check the Analog scaffold before merge.


✅ All other checks passed

🔒 Security: ✅ LGTM

No security concerns in this version bump.


📝 Documentation: ✅ LGTM

No documentation changes are needed.


Reviewed commit: 8e224734

devin-ai-integration[bot]

This comment was marked as resolved.

The following dependency versions have been updated:

| Dependency    | From  | To    |
| ------------- | ----- | ----- |
| create-analog | 2.9.7 | 3.0.0 |
devin-ai-integration[bot]

This comment was marked as resolved.

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 6a6a227c.

This review, of 80a14700

💬 Approved with comments — A one-line version bump plus an accurate changeset, with no defects found. One question is still open: do the C3 Analog frameworks end-to-end tests pass against create-analog 3.0.0?

Findings: 1 question

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code Quality: ❓ 1 question

This is a one-line major bump of create-analog. It is still unconfirmed whether the Analog scaffold works with 3.0.0.

Recommendation: 💬 Optional Nits

  • [QUESTION] Major bump of create-analog (2.9.7 → 3.0.0): has the C3 Analog scaffold been tested against it with the frameworks end-to-end tests? (packages/create-cloudflare/src/frameworks/package.json:6)
View full review

❓ Has this major bump had a frameworks end-to-end run? (packages/create-cloudflare/src/frameworks/package.json:6)

The 3.0.0 release lists breaking changes (feat(platform)!, feat(router)!, feat(vite-plugin-nitro)!). It also changes what the templates scaffold: new pins for nitro, ofetch, typescript and vite-tsconfig-paths, plus a Tailwind v4 PostCSS config.

packages/create-cloudflare/templates/analog/c3.ts depends on the generated output in three ways:

  • it passes --template=latest and --skipViteOverrides;
  • it looks for an analog(...) call in the generated vite.config.ts;
  • it injects the Cloudflare nitro preset into that call.

Nothing in the release notes shows these breaking. However, the frameworks end-to-end tests run only in the merge queue, on the release branch, or when the run-c3-frameworks-tests label is set. Adding that label would check the Analog scaffold before merge.

The new changeset (.changeset/c3-frameworks-update-17266.md) is a correct patch entry for create-cloudflare.


✅ All other checks passed

🔒 Security: ✅ LGTM

This is a scaffolding dependency that runs only on the developer's machine. The change only moves the version pin; it adds no new input handling, trust boundary or secret.


📝 Documentation: ✅ LGTM

The changeset correctly records the dependency bump. No other documentation changes are needed.


Reviewed commit: 80a14700

@pkg-pr-new

pkg-pr-new Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@17266

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@17266

@cloudflare/cli-shared-helpers

npm i https://pkg.pr.new/@cloudflare/cli-shared-helpers@17266

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@17266

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@17266

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@17266

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@17266

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@17266

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@17266

miniflare

npm i https://pkg.pr.new/miniflare@17266

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@17266

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@17266

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@17266

@cloudflare/test-server

npm i https://pkg.pr.new/@cloudflare/test-server@17266

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@17266

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@17266

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@17266

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@17266

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@17266

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@17266

wrangler

npm i https://pkg.pr.new/wrangler@17266

commit: 926a72a

@petebacondarwin petebacondarwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The create-analog 3.0.0 update has failed C3 framework E2E shards on pnpm, pnpm 11, and npm. The current Analog config transform writes the Cloudflare preset into analog(), while the new scaffold uses standalone nitro() configuration, as identified in the unresolved review thread. Please adapt the transform and verify preview/deploy before merging.

@github-project-automation github-project-automation Bot moved this from Untriaged to In Review in workers-sdk Nov 29, 2026
clanky-the-clanker[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

@petebacondarwin

Copy link
Copy Markdown
Contributor

Follow-up for the AI reviews: the real create-analog 3.0.0 analog (workers) framework case passed in npm CI and pnpm CI on 6a6a227c70. The case checks the deployed homepage and the local /api/v1/hello preview route using the generated Wrangler config, so both the Worker entry point and asset paths work as configured. Commit 99bc57bf7d adds explicit scaffolding errors for a missing nitro() call or non-literal options, plus unit coverage for both cases. It leaves the supported Nitro rewrite unchanged. All 405 C3 unit tests, type checking, and targeted lint passed locally.

devin-ai-integration[bot]

This comment was marked as resolved.

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of e0395a4e.

This review, of 99bc57bf

💬 Approved with comments — The transform now targets the standalone nitro() call and fails early when the config is unexpected. One question remains: have the end-to-end preview and deploy runs passed against the real 3.0.0 scaffold?

Findings: 1 question

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


📋 Code Quality: ❓ 1 question

The transform fails early on an unexpected Nitro config, and tests cover it. One question about the end-to-end build output paths is still open.

Recommendation: 📝 Minor Comments

  • [QUESTION] Have the C3 Analog end-to-end shards (preview and deploy, on npm and pnpm) passed against the real create-analog 3.0.0 scaffold? In particular, does the standalone nitro() build still write to dist/analog/server/index.mjs and dist/analog/public, the paths templates/analog/templates/wrangler.jsonc expects? (packages/create-cloudflare/templates/analog/c3.ts:35)
View full review
  • Open question (packages/create-cloudflare/templates/analog/c3.ts:34-72). The transform now edits nitro(...), which matches the 3.0.0 API where the Nitro config is the only argument. templates/analog/templates/wrangler.jsonc still hardcodes dist/analog/server/index.mjs and dist/analog/public. If the standalone Nitro build writes somewhere else, the build succeeds and then wrangler dev or wrangler deploy fails. Please confirm that the C3 Analog end-to-end shards (preview and deploy, on npm and pnpm) pass at this commit.
  • Fixed since the last review. When no nitro() call is found, or when its first argument is not an object literal, the transform used to do nothing without reporting it. It now throws a clear error, and analog.test.ts covers both cases.

✅ All other checks passed

🔒 Security: ✅ LGTM

The change only touches scaffolding code that runs on the developer's machine. It adds no new trust boundary, input handling or secret.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


⚡ Performance: ✅ LGTM

The change is a dependency bump, a transform that runs once while a project is scaffolded, and a unit test. None of it affects performance.


📝 Documentation: ✅ LGTM

The changeset correctly describes the bump and the Nitro configuration change.


Reviewed commit: 99bc57bf

devin-ai-integration[bot]

This comment was marked as resolved.

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 3b961115.

This review, of e0395a4e

✅ Approved — The open question about end-to-end runs against the real create-analog 3.0.0 scaffold is answered: the Analog Workers case passed on npm and pnpm. The later commits add only fail-early checks with unit tests, and no new issues were found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🔒 Security: ✅ LGTM

All of this code runs at scaffold time on the developer's machine. The new argument check is a plain string comparison, and the transform fails closed. It adds no new trust boundary, secret or privileged input.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


📋 Code Quality: ✅ LGTM

The transform now targets nitro() and handles two cases: no arguments, or an object-literal argument. It throws when the call is missing or when its first argument is not an object literal. generate rejects both the --server=nestjs and --server nestjs forms before it runs the framework generator. Tests cover each of these paths. The end-to-end question from the last review is settled: the real 3.0.0 scaffold passed preview and deploy checks on npm and pnpm.


⚡ Performance: ✅ LGTM

The change is a dependency bump, a transform that runs once while a project is scaffolded, and unit tests. None of it affects performance.


📝 Documentation: ✅ LGTM

The changeset correctly describes the dependency bump.


Reviewed commit: e0395a4e

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of ff384e62.

This review, of 3b961115

✅ Approved — No issues found. The latest commit only narrows the NestJS check to tokens before the -- delimiter and adds a regression test for it. The Analog 3 Workers scaffold was already reported passing end-to-end on npm and pnpm.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🚀 Release: ✅ LGTM

Release risk is medium. This is a major update of the upstream generator and it changes what newly scaffolded Analog projects contain. C3 now configures Analog's standalone nitro() plugin, and the real 3.0.0 scaffold passed the preview and deploy checks on npm and pnpm, as reported in the discussion.


🔒 Security: ✅ LGTM

All of this code runs while a project is being scaffolded, with input from the developer's own command line and the generated vite config. The argument check is a plain string comparison, and the transform throws instead of silently leaving the config unchanged. No new trust boundary or secret handling is involved.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


📋 Code Quality: ✅ LGTM

  • The NestJS check now looks only at tokens before the first -- (c3.ts:18-34). It handles both the --server=nestjs and --server nestjs forms.
  • The tests cover both rejected forms, plus a positional --server=nestjs after -- that still reaches the generator.
  • The Nitro transform throws when there is no nitro() call, or when its first argument is not an object literal. The no-argument and object-literal cases are both tested.

⚡ Performance: ✅ LGTM

The transform runs once, while a project is scaffolded, so it has no performance impact.


📝 Documentation: ✅ LGTM

The changeset correctly describes the dependency bump.


Reviewed commit: 3b961115

@petebacondarwin petebacondarwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The current-head C3 experimental Analog Workers E2E is still failing. In the failed framework shard, the analog (workers) preview build reports six esbuild errors: it cannot resolve rxjs and rxjs/operators from the generated dist/analog/server output, then the test times out. The other six tests in that shard pass, and the normal framework shards pass. The earlier targeted Analog pass on 6a6a227c70 does not clear this current-head failure. Please resolve or establish that this is a known baseline issue, then rerun the affected C3 check before merging.

@petebacondarwin
petebacondarwin removed the request for review from dario-piotrowicz November 30, 2026 08:16

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 04ceaf64.

This review, of ff384e62

🛑 Significant concerns — 1 BLOCKING item: the newly enabled Analog 3 path in experimental Wrangler setup is reported failing its current-head E2E preview build (unresolved rxjs imports in dist/analog/server), and nothing in the diff addresses it.

Findings: 1 blocking (1 is an inline comment on the diff)

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.

🔧 Fix with your agent

Paste the following into your coding agent to investigate and fix these issues.

Fix the following code review issues found in pull request #17266.

Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
  for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

## BLOCKING (1)

### [Code Quality] The newly enabled Analog 3 path in experimental Wrangler setup is reported failing its current-head E2E preview build: esbuild cannot resolve `rxjs` and `rxjs/operators` from `dist/analog/server`. Nothing in the diff addresses it. The CI result could not be re-checked here; this clears once that E2E passes at the head or the failure is shown to be unrelated.
- **File:** packages/autoconfig/src/frameworks/all-frameworks.ts:39

📋 Code Quality: 🛑 1 blocking

The transforms and tests are sound, but the newly enabled Analog 3 Wrangler setup path is reported failing its E2E preview build.

Recommendation: 🔴 Serious Concerns

  • [BLOCKING] The newly enabled Analog 3 path in experimental Wrangler setup is reported failing its current-head E2E preview build: esbuild cannot resolve rxjs and rxjs/operators from dist/analog/server. Nothing in the diff addresses it. The CI result could not be re-checked here; this clears once that E2E passes at the head or the failure is shown to be unrelated. (packages/autoconfig/src/frameworks/all-frameworks.ts:39)
View full review

The Analog 3 Workers path through experimental Wrangler setup fails E2E at this head (as reported)

all-frameworks.ts:39 raises maximumKnownMajorVersion to 3, so Analog 3 projects now pass version validation. analog.ts:25-37 then configures the standalone Nitro plugin with the cloudflare_module preset and points the Worker at ./dist/analog/server/index.mjs.

A non-author reports, with a link to the CI job, that the experimental analog (workers) E2E (packages/create-cloudflare/e2e/tests/frameworks/test-config.ts:1142) fails at the current head. esbuild cannot resolve rxjs and rxjs/operators from the generated server output, and the test then times out. The earlier passing run predates the autoconfig commit and covered the C3 path, not this one. The repository has no handling for these externals.

The CI result cannot be re-checked here, but nothing in the diff addresses it. This finding clears once that E2E passes at the head, or once the failure is shown to be unrelated to this change.

The rest looks good:

  • The plugin is picked by the installed framework version. For Analog 3, the plugin name comes from the default import of @analogjs/vite-plugin-nitro, so aliased imports work.
  • Both transforms throw instead of leaving the config silently unchanged.
  • The tests cover the main cases and the error cases.

✅ All other checks passed

🚀 Release: ✅ LGTM

Overall risk: High. This is a major upgrade of the upstream generator. The pull request also ships minor releases of @cloudflare/autoconfig and wrangler that enable Analog 3 in experimental Wrangler setup. That path is reported failing its preview build at this head; see the Code Quality section.


🔒 Security: ✅ LGTM

The changes run while a project is scaffolded or configured, and their input comes from the developer's own command line and vite config. There is no new trust boundary and no secret handling.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


⚡ Performance: ✅ LGTM

Each transform runs once and parses a single vite config file, so the change has no performance impact.


📝 Documentation: ✅ LGTM

The changesets describe the dependency bump and the Analog 3 support in experimental Wrangler setup.


Reviewed commit: ff384e62

devin-ai-integration[bot]

This comment was marked as resolved.

@petebacondarwin

Copy link
Copy Markdown
Contributor

Validation update: the experimental Analog Workers E2E shard passed on ff384e623a, including the deployed homepage and local API preview. Its retry was accompanied by package-registry HTTP 500s; the job log has no RxJS resolution errors. The earlier failing run tested 3b9611150c, before the Wrangler setup fix. Follow-up 04ceaf648e handles the Minimal starter as assets-only in both C3 paths, supports named and aliased Nitro imports in Wrangler setup, and documents native nitro/vite as a separate integration using Nitro-generated Wrangler configuration. The published Minimal template built without a Worker entrypoint and passed wrangler deploy --dry-run locally; 858 autoconfig and 409 C3 tests passed. CI is rerunning on the follow-up.

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of d15de15a.

This review, of 04ceaf64

✅ Approved — The earlier blocking E2E failure was reported on a commit before the Nitro preset fix. The reporter has since confirmed that the experimental Analog Workers E2E passes after that fix, and the code at this head contains it. No new issues were found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🚀 Release: ✅ LGTM

Overall risk: Medium. This is a major upgrade of the upstream generator.

The pull request ships releases of create-cloudflare, @cloudflare/autoconfig and wrangler, and all three are covered by changesets. The reported C3 and experimental Wrangler Analog E2E runs pass after the Nitro preset fix, and new unit tests cover the configuration paths.


🔒 Security: ✅ LGTM

The changes run while a project is scaffolded or configured, and their input comes from the developer's own command line and Vite config. There is no new trust boundary and no secret handling.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


📋 Code Quality: ✅ LGTM

The earlier blocking item about the experimental Analog Workers E2E failing on unresolved rxjs imports is resolved.

  • The failing run tested 3b9611150c, which is before the Wrangler setup fix.
  • The reporter (@​petebacondarwin [non-author]) says the same shard passed on ff384e623a.
  • At this head, packages/autoconfig/src/frameworks/analog.ts:113-135 sets preset: "cloudflare_module" on the standalone Nitro plugin.

Other checks:

  • Errors are thrown before writeFileSync, so a failed transform leaves the Vite config untouched.
  • In C3, the Minimal starter is handled as assets-only: main and assets.binding are removed from wrangler.jsonc.
  • The tests cover import aliasing, the error cases, the -- delimiter, and both --server nestjs forms.

⚡ Performance: ✅ LGTM

Each transform parses a single Vite config file once, so the change has no performance impact.


📝 Documentation: ✅ LGTM

The changesets describe the dependency bump and the Analog 3 support in experimental Wrangler setup.


Reviewed commit: 04ceaf64

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 3 new potential issues.

Devin Review

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Superseded by the review of 926a72a2.

This review, of d15de15a

✅ Approved — I found no issues in the Analog 3 C3 template, the experimental Wrangler setup or the shared static-site detection added since the last review. The discussion reports that the Analog E2E runs pass after the Nitro preset fix.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🚀 Release: ✅ LGTM

Overall risk: Medium. The release upgrades create-analog from 2.9.7 to 3.0.0 and adds Analog 3 support to C3 and Wrangler setup. Changesets cover create-cloudflare, @cloudflare/autoconfig and wrangler. New unit tests cover the configuration paths, and the discussion reports passing Analog E2E runs.


🔒 Security: ✅ LGTM

These changes run when a developer scaffolds a project or runs the experimental Wrangler setup, and their input is the developer's own arguments and config files. Arguments are compared against fixed strings and passed to the existing generator. No shell command is built from them.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


📋 Code Quality: ✅ LGTM

Every error in the transform is thrown before writeFileSync. When no analog() or nitro() call is found, or the call doesn't take an object literal, the transform now fails with a clear error instead of doing nothing without an error. Static-site detection is shared between C3 and autoconfig. Its tests cover which of analog.static, nitro.static and analog({ static }) takes precedence.


⚡ Performance: ✅ LGTM

Each transform parses one Vite config file once.


📝 Documentation: ✅ LGTM

The changesets describe the dependency bump and the Analog 3 support.


Reviewed commit: d15de15a

devin-ai-integration[bot]

This comment was marked as resolved.

@petebacondarwin

Copy link
Copy Markdown
Contributor

Follow-up through 926a72a25a: both C3 paths now match the Analog Nitro static-option precedence and emit SPA fallback for assets-only output. Explicit Minimal selection invokes the published generator without --template=latest; Angular v21 is rejected before scaffolding because its published Vite template does not include standalone Nitro. The setup integration test checks the emitted wrangler.jsonc has an assets directory and SPA fallback but no Worker entrypoint. I also verified a complete classic C3 Minimal scaffold and Wrangler deploy dry run, and a direct preview navigation to /second returned the generated index.html with HTTP 200. Both experimental framework shards and Check passed on d15de15ad4.

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Approved — No issues found in the Analog 3 scaffolding, the Nitro config transform or the static-site Wrangler setup changed since the last review. The discussion reports passing Analog Workers E2E runs.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🚀 Release: ✅ LGTM

Overall risk: Medium. The release upgrades create-analog from 2.9.7 to 3.0.0, a major version, and adapts C3 scaffolding and Wrangler setup to it. Changesets cover create-cloudflare, @cloudflare/autoconfig and wrangler. The discussion reports passing Analog framework E2E checks with npm and pnpm.


🔒 Security: ✅ LGTM

Arguments are compared against fixed strings and then passed to the existing generator. No shell command is built from user input.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md updates are needed.


📋 Code Quality: ✅ LGTM

c3.ts handles the -- delimiter, the --server=nestjs and angular-v21 rejections and the --template override consistently with each other. Every transform error is thrown before anything is written to disk, and wrangler.jsonc is edited only when a static build is detected. Because mockReset is enabled, the not.toHaveBeenCalled() assertions on the generator are reliable. The new autoconfig test checks that the Minimal starter's wrangler.jsonc has an assets directory and SPA fallback but no main entry.


⚡ Performance: ✅ LGTM

Each transform parses one Vite config file once.


📝 Documentation: ✅ LGTM

The changesets describe the dependency bump and the Analog 3 support.


Reviewed commit: 926a72a2

@github-project-automation github-project-automation Bot moved this from In Review to Approved in workers-sdk Nov 30, 2026
@petebacondarwin
petebacondarwin merged commit b9bb1b0 into main Nov 30, 2026
96 checks passed
@petebacondarwin
petebacondarwin deleted the dependabot/npm_and_yarn/packages/create-cloudflare/src/frameworks/create-analog-3.0.0 branch November 30, 2026 10:08
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Nov 30, 2026
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Dec 4, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@cloudflare/vitest-plugin` | 1.10.1 | 1.10.2 | patch |
| `miniflare` | 5.20261127.1-beta | 5.20261129.0-beta | minor |
| `wrangler` | 4.169.1 | 4.170.0 | minor |

## Release Notes

<details>
<summary><b>@<!---->cloudflare/vitest-plugin</b> (1.10.1 →
1.10.2)</summary>

### Patch Changes

- [#17284](cloudflare/workers-sdk#17284)
[`5b6e6bf`](cloudflare/workers-sdk@5b6e6bf)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Update `DEFAULT_COMPAT_DATE` to 2026-11-29

Use the bundled workerd release's compatibility date by default when
scaffolding new projects or when no compatibility date is configured.

- [#17211](cloudflare/workers-sdk#17211)
[`b91cef9`](cloudflare/workers-sdk@b91cef9)
Thanks [@<!---->jamesopstad](https://github.com/jamesopstad)! - Keep
remote bindings working after a failed change to the account or API
token is reverted

Previously, changing the account ID or API token to credentials that
failed to start a remote session (for example, a malformed account ID)
disposed the existing session first. Reverting the change then reused
that disposed session, so remote bindings stayed offline until the
development server was restarted. The existing session is now disposed
only once its replacement is ready, so it keeps working if the new
credentials fail to start a session.

- [#17244](cloudflare/workers-sdk#17244)
[`a332568`](cloudflare/workers-sdk@a332568)
Thanks [@<!---->dario-piotrowicz](https://github.com/dario-piotrowicz)!
- Explain where misplaced fields belong in `cloudflare.config.ts`
validation errors

Errors for top-level fields such as `accountId` placed under `worker`
now explain that they belong at the top level. Worker fields placed at
the top level also include a hint to move them inside `worker`.

- [#16888](cloudflare/workers-sdk#16888)
[`3d78112`](cloudflare/workers-sdk@3d78112)
Thanks [@<!---->smile-alive](https://github.com/smile-alive)! - Suppress
`Aborting engine` uncaught exceptio

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/%40cloudflare/vitest-plugin%401.10.2)

</details>

<details>
<summary><b>miniflare</b> (5.20261127.1-beta →
5.20261129.0-beta)</summary>

### Minor Changes

- [#16678](cloudflare/workers-sdk#16678)
[`7d57524`](cloudflare/workers-sdk@7d57524)
Thanks [@<!---->mglewis](https://github.com/mglewis)! - Add local
development support for `/cdn-cgi/image/` URL transformations

When `images.url_transformations` (or `images.urlTransformations` in
`cloudflare.config.ts`) is enabled, Miniflare now handles
`/cdn-cgi/image/<options>/<source>` requests locally before they reach
your Worker. Requests return a 404 when URL transformations aren't
enabled for the Worker, and a 403 when the source image isn't allowed by
`allowed_origins`. Transforms use the same low-fidelity Sharp-backed
mock as `cf.image` fetches, so only resize, rotate, format conversion
and a small set of options are applied.

This is a change in behaviour: previously `/cdn-cgi/image/` requests
were passed through to the Worker during local development.

Requests made through `SELF` in `@cloudflare/vitest-plugin` bypass
Miniflare's routing and are not intercepted.

### Patch Changes

- [#17284](cloudflare/workers-sdk#17284)
[`5b6e6bf`](cloudflare/workers-sdk@5b6e6bf)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Update `DEFAULT_COMPAT_DATE` to 2026-11-29

Use the bundled workerd release's compatibility date by default when
scaffolding new projects or when no compatibility date is configured.

- [#17284](cloudflare/workers-sdk#17284)
[`5b6e6bf`](cloudflare/workers-sdk@5b6e6bf)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Update dependencies of "miniflare", "wrangler"

  The following dependency versions have been updated:

  | Dependency                | From          | To            |
  | ------------------------- | ------------- | ------------- |
  | @<!---->cloudflare/workers-types |

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261129.0-beta)

</details>

<details>
<summary><b>wrangler</b> (4.169.1 → 4.170.0)</summary>

### Minor Changes

- [#16678](cloudflare/workers-sdk#16678)
[`7d57524`](cloudflare/workers-sdk@7d57524)
Thanks [@<!---->mglewis](https://github.com/mglewis)! - Add local
development support for `/cdn-cgi/image/` URL transformations

When `images.url_transformations` (or `images.urlTransformations` in
`cloudflare.config.ts`) is enabled, Miniflare now handles
`/cdn-cgi/image/<options>/<source>` requests locally before they reach
your Worker. Requests return a 404 when URL transformations aren't
enabled for the Worker, and a 403 when the source image isn't allowed by
`allowed_origins`. Transforms use the same low-fidelity Sharp-backed
mock as `cf.image` fetches, so only resize, rotate, format conversion
and a small set of options are applied.

This is a change in behaviour: previously `/cdn-cgi/image/` requests
were passed through to the Worker during local development.

Requests made through `SELF` in `@cloudflare/vitest-plugin` bypass
Miniflare's routing and are not intercepted.

- [#17266](cloudflare/workers-sdk#17266)
[`b9bb1b0`](cloudflare/workers-sdk@b9bb1b0)
Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! -
Support Analog 3 in `wrangler setup`

Configure Analog’s standalone Nitro Vite plugin for Cloudflare Workers.
Both `wrangler setup` and `create-cloudflare` configure the Minimal
starter as a static site. Analog 2 projects continue to use the Nitro
options on the Analog Vite plugin. Projects using native Nitro 3
(`nitro/vite`) should use Nitro’s generated Wrangler configuration
instead.

### Patch Changes

- [#17258](cloudflare/workers-sdk#17258)
[`e96e508`](cloudflare/workers-sdk@e96e508)
Thanks [@<!---->irvinebroque](https://github.com/irvinebroque)! - Show
the plan-specific Time Travel retention window in `wr

…[full
notes](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.170.0)

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

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

Labels

ci:skip-pr-description-validation Skip validation of the required PR description format dependencies Used by dependabot to mark PRs as updates to dependencies. package:c3 Relating to C3 (create-cloudflare) package

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants