Upgrade all dependencies to latest#28
Open
DennisAlund wants to merge 1 commit into
Open
Conversation
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.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
shrtnr | fac34ab | Jun 28 2026, 08:44 PM |
There was a problem hiding this comment.
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 regeneratedsdk/typescript/yarn.lockvia npm+synp. - Added casts in
src/index.tsxto satisfy updatedExecutionContexttyping 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.
|
|
||
| // 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)); |
| 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); |
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.
Bumps all direct dependencies to their latest versions across every package in the repo.
Packages updated:
@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,zodvitesthttpx,pytest,pytest-asyncio,respx,mypy,ruffmeta,testpreact,@testing-library/preact,esbuild,happy-dom,typescript,vitest,web-extLockfile 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-typesv4.20260628.1 added a requiredtracingproperty toExecutionContext<unknown>. Hono'sc.executionCtxdoes not carry this property in its type. Both affected call sites only usectx.waitUntil(), so the two casts insrc/index.tsxare 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