Repository navigation
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
Closed
ramik-mukherjee-vapi wants to merge 1 commit into
ramik-mukherjee-vapi wants to merge 1 commit into
Conversation
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>
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.
Title:
chore!: upgrade @daily-co/daily-js to 0.93.0 and require Node >=22.14.0
Description:
Summary
@daily-co/daily-js^0.87.0→^0.93.0engines.node>=18.0.0→>=22.14.02.7.1→3.0.0(breaking: minimum Node version)22.14.0(new minimum) and24(current LTS)Why a major version
daily-js raised its
engines.nodefrom>=10.0.0to>=22.14.0starting at 0.89.0, and every later release has the same requirement. Installing on older Node behaves like this (testedon Node 18):
EBADENGINEwarning (fails withengine-strict=true)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 loadsserver-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 24npm run dev:example: two-way audio, mute/unmute, mic switch, audio level events (with Krisp), end call, recordingNotes for reviewers
compiletocompile (22.14.0)/compile (24). If branch protection requirescompile, the required checks need updating.@vapi-ai/web@^2.🤖 Generated with Claude Code