Skip to content

chore: refresh stale dependencies#129

Merged
gabivlj merged 1 commit into
mainfrom
mjp/updates
May 13, 2026
Merged

chore: refresh stale dependencies#129
gabivlj merged 1 commit into
mainfrom
mjp/updates

Conversation

@mattjohnsonpint
Copy link
Copy Markdown
Contributor

The project was several major versions behind on most dependencies. This brings everything current and adapts the code, configs, and tests to the new APIs.

Notable shifts:

  • Replace @cloudflare/workers-types with wrangler types-generated declarations, which track our compatibility date/flags and fix a long-standing types regression around R2ListOptions.include.
  • Migrate Zod v3 → v4, including its rewritten error-formatting and string/integer format APIs.
  • Move to vitest-pool-workers' new cloudflareTest() plugin and add per-test R2 reset (isolatedStorage was removed).
  • Switch eslint from an unused install to a proper typescript-eslint flat-config setup; clean up the pre-existing lint debt it surfaced.
  • Update the bundled push/ CLI tool (Bun-based) alongside the main project so a single pnpm install covers both via a workspace.

The project was several major versions behind on most dependencies.
This brings everything current and adapts the code, configs, and tests
to the new APIs.

Notable shifts:
- Replace @cloudflare/workers-types with `wrangler types`-generated
  declarations, which track our compatibility date/flags and fix a
  long-standing types regression around R2ListOptions.include.
- Migrate Zod v3 → v4, including its rewritten error-formatting and
  string/integer format APIs.
- Move to vitest-pool-workers' new cloudflareTest() plugin and add
  per-test R2 reset (isolatedStorage was removed).
- Switch eslint from an unused install to a proper typescript-eslint
  flat-config setup; clean up the pre-existing lint debt it surfaced.
- Update the bundled push/ CLI tool (Bun-based) alongside the main
  project so a single `pnpm install` covers both via a workspace.
@gabivlj gabivlj merged commit 334681a into main May 13, 2026
6 checks passed
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.

2 participants