Skip to content

chore!: upgrade @daily-co/daily-js to 0.93.0 and require Node >=22.14.0 - #186

Closed
ramik-mukherjee-vapi wants to merge 1 commit into
VapiAI:mainfrom
ramik-mukherjee-vapi:chore/upgrade-daily-js-0.93
Closed

ramik-mukherjee-vapi wants to merge 1 commit into
VapiAI:mainfrom
ramik-mukherjee-vapi:chore/upgrade-daily-js-0.93

Conversation

@ramik-mukherjee-vapi

Copy link
Copy Markdown

Title:
chore!: upgrade @daily-co/daily-js to 0.93.0 and require Node >=22.14.0

Description:

Summary

  • Upgrade @daily-co/daily-js ^0.87.0 → ^0.93.0
  • Raise engines.node >=18.0.0 → >=22.14.0
  • Bump version 2.7.1 → 3.0.0 (breaking: minimum Node version)
  • CI now tests on Node 22.14.0 (new minimum) and 24 (current LTS)
  • README: add Requirements section

Why a major version

daily-js raised its engines.node from >=10.0.0 to >=22.14.0 starting at 0.89.0, and every later release has the same requirement. Installing on older Node behaves like this (tested
on Node 18):

Package manager Result
npm EBADENGINE warning (fails with engine-strict=true)
Yarn 1 install fails
pnpm installs

Raising the minimum Node version is a breaking change under semver, so this is 3.0.0. Users who can't upgrade Node can stay on @vapi-ai/web@^2. Node 18 and 20 are both past end-of-life.

Impact on SDK code

None. The type changes between 0.87.0 and 0.93.0 only add things (SIP/dialout event fields, aboutClient, bundlePathOverride), and we use none of them. The package still loads
server-side (e.g. Next.js) on Node 18; only installs are affected.

Testing

  • npm ci, build, tests (61/61) and example build on Node 22.14.0 and 24
  • Every package in the lockfile supports Node 22.14.0
  • Manual call test with npm run dev:example: two-way audio, mute/unmute, mic switch, audio level events (with Krisp), end call, recording

Notes for reviewers

  • The CI check is renamed from compile to compile (22.14.0) / compile (24). If branch protection requires compile, the required checks need updating.
  • Release notes for v3.0.0 should include the migration note: installs need Node >=22.14.0; otherwise stay on @vapi-ai/web@^2.

🤖 Generated with Claude Code

daily-js raised its engines.node from >=10.0.0 to >=22.14.0 starting at
0.89.0, so installing on older Node fails under Yarn 1 (and npm with
engine-strict). Align our engines field with that requirement and test
CI against the new minimum (22.14.0) and the current LTS (24).

Type changes between 0.87.0 and 0.93.0 are additive; no SDK code changes.

BREAKING CHANGE: installing @vapi-ai/web now requires Node.js >=22.14.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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