Skip to content

Update: Allow versionLimit to be passed to getLatestFrameworkVersion (fixes #240)#241

Open
taylortom wants to merge 2 commits intomasterfrom
issue-240
Open

Update: Allow versionLimit to be passed to getLatestFrameworkVersion (fixes #240)#241
taylortom wants to merge 2 commits intomasterfrom
issue-240

Conversation

@taylortom
Copy link
Member

#240

Update

  • Allow the versionLimit semver range parameter to be passed through to getLatestVersion from the public getLatestFrameworkVersion API method, enabling callers to constrain which framework version is returned.

Testing

  1. Call api.getLatestFrameworkVersion({ versionLimit: '>=5.0.0 <6.0.0' }) and verify it returns a version within the specified range
  2. Call api.getLatestFrameworkVersion() without versionLimit and verify it still returns the latest version (no regression)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

1 participant