Skip to content

Upgrade all dependencies to latest#28

Open
DennisAlund wants to merge 1 commit into
mainfrom
claude/ecstatic-pasteur-nfbrf9
Open

Upgrade all dependencies to latest#28
DennisAlund wants to merge 1 commit into
mainfrom
claude/ecstatic-pasteur-nfbrf9

Conversation

@DennisAlund

Copy link
Copy Markdown
Member

Bumps all direct dependencies to their latest versions across every package in the repo.

Packages updated:

  • Root app: @cloudflare/vitest-pool-workers, @cloudflare/workers-types, @vitest/runner, @vitest/snapshot, tsx, typescript, vitest, wrangler, @cloudflare/workers-oauth-provider, @hono/zod-openapi, @modelcontextprotocol/sdk, agents, hono, jose, zod
  • TypeScript SDK: vitest
  • Python SDK: httpx, pytest, pytest-asyncio, respx, mypy, ruff
  • Dart SDK: meta, test
  • Browser extension: preact, @testing-library/preact, esbuild, happy-dom, typescript, vitest, web-ext

Lockfile regeneration: yarn 1.x aborts on optional platform-binary download failures in this network environment. Lockfiles were regenerated via npm (which handles optional failures gracefully) then converted with synp.

Compatibility fix: @cloudflare/workers-types v4.20260628.1 added a required tracing property to ExecutionContext<unknown>. Hono's c.executionCtx does not carry this property in its type. Both affected call sites only use ctx.waitUntil(), so the two casts in src/index.tsx are safe.

Tests: all pass locally (worker 1042, TypeScript SDK 67, Python SDK 91, browser extension 87; Dart SDK runs in CI via dart-lang/setup-dart@v1).


Generated by Claude Code

Bumps all direct dependencies across the app, TypeScript SDK, Python SDK, Dart SDK, and browser extension to their current latest versions. Regenerates lockfiles for the three yarn workspaces (root, sdk/typescript, browser-extensions) via npm + synp due to yarn 1.x aborting on optional platform-binary failures in this network environment.

Also patches src/index.tsx: @cloudflare/workers-types v4.20260628.1 added a required `tracing` property to ExecutionContext<unknown>, which Hono's context type does not carry. Both call sites only use ctx.waitUntil(), so the casts are safe.
Copilot AI review requested due to automatic review settings June 28, 2026 19:52
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
shrtnr fac34ab Jun 28 2026, 08:44 PM

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades direct dependencies across the monorepo (root app + SDKs + browser extension) and applies a small TypeScript compatibility workaround for newer @cloudflare/workers-types by casting Hono’s c.executionCtx when passing it to helper functions.

Changes:

  • Bumped root app and package-specific dependencies to newer versions (Vitest, Wrangler, Hono, Agents, etc.).
  • Updated the TypeScript SDK’s dev dependency (vitest) and regenerated sdk/typescript/yarn.lock via npm+synp.
  • Added casts in src/index.tsx to satisfy updated ExecutionContext typing requirements.

Reviewed changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/index.tsx Adds ExecutionContext casts when passing Hono’s executionCtx into helper functions.
sdk/typescript/yarn.lock Regenerated lockfile; now appears to omit many optional platform package stanzas.
sdk/typescript/package.json Bumps vitest devDependency.
sdk/python/pyproject.toml Raises minimum versions for Python SDK dev dependencies and httpx.
sdk/dart/pubspec.yaml Bumps meta and test versions.
package.json Bumps root Worker/app dependencies and devDependencies (Wrangler/Vitest/etc.).
browser-extensions/package.json Bumps extension dependencies/devDependencies (preact, types, build/test tooling).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.tsx

// Links (admin path: no scope checks, full access)
app.post("/_/admin/api/links", (c) => handleCreateLink(c.req.raw, c.env, "app", c.var.identity, c.executionCtx));
app.post("/_/admin/api/links", (c) => handleCreateLink(c.req.raw, c.env, "app", c.var.identity, c.executionCtx as unknown as ExecutionContext));
Comment thread src/index.tsx
const slug = c.req.param("slug");
if (!slug || slug.startsWith("_")) return notFoundResponse();
return handleRedirect(slug, c.req.raw, c.env, c.executionCtx);
return handleRedirect(slug, c.req.raw, c.env, c.executionCtx as unknown as ExecutionContext);
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.

3 participants