---
title: "upToNextMinor(from:)"
framework: swift
role: symbol
role_heading: Type Method
path: "swift/range/uptonextminor(from:)"
---

# upToNextMinor(from:)

Returns a requirement for a version range, starting at the given minimum version and going up to the next minor version.

## Declaration

```swift
static func upToNextMinor(from version: Version) -> Range<Bound> where Bound == Version
```

## Parameters

- `version`: The minimum version for the version range.
