feat(ai): rename stepCountIs to isStepCount#13971
Merged
felixarntz merged 3 commits intomainfrom Mar 31, 2026
Merged
Conversation
lgrammel
approved these changes
Mar 31, 2026
21 tasks
felixarntz
added a commit
that referenced
this pull request
Apr 6, 2026
4 tasks
felixarntz
added a commit
that referenced
this pull request
Apr 7, 2026
#14149) ## Background These issues/PRs implemented new features or breaking changes in AI SDK v7. They need to be covered in the 7.0 migration guide. ## Summary Added initial sections for all 4. ## Manual Verification N/A ## Checklist - [ ] Tests have been added / updated (for bug fixes / features) - [x] Documentation has been added / updated (for bug fixes / features) - [ ] A _patch_ changeset for relevant packages has been added (for bug fixes / features - run `pnpm changeset` in the project root) - [x] I have reviewed this pull request (self-review) ## Future Work N/A ## Related Issues Now covered in the 7.0 migration guide: #12516 #12995 #13321 #13971
gr2m
pushed a commit
that referenced
this pull request
Apr 7, 2026
#14149) ## Background These issues/PRs implemented new features or breaking changes in AI SDK v7. They need to be covered in the 7.0 migration guide. ## Summary Added initial sections for all 4. ## Manual Verification N/A ## Checklist - [ ] Tests have been added / updated (for bug fixes / features) - [x] Documentation has been added / updated (for bug fixes / features) - [ ] A _patch_ changeset for relevant packages has been added (for bug fixes / features - run `pnpm changeset` in the project root) - [x] I have reviewed this pull request (self-review) ## Future Work N/A ## Related Issues Now covered in the 7.0 migration guide: #12516 #12995 #13321 #13971
felixarntz
added a commit
that referenced
this pull request
Apr 10, 2026
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.
Background
Follow-up to #13937 which added the
isLoopFinishedstop condition helper. ThestepCountIsnaming was inconsistent with the other stop condition helpers (hasToolCall,isLoopFinished) which all use a verb-first naming convention (common best practice in TypeScript).Summary
stepCountIstoisStepCountfor consistency with other stop condition helpersstepCountIsas a deprecated alias for backward compatibilityisStepCountThis change is v7 only, so while it's somewhat disruptive, that's okay. The alias means there will be no immediate breakage, and consumers will have at least until v8 to migrate to
isStepCount.Checklist
pnpm changesetin the project root)