-
Notifications
You must be signed in to change notification settings - Fork 6k
Add examples to roll-forward table #46238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
--- | ||
author: adegeo | ||
ms.author: adegeo | ||
ms.date: 07/08/2021 | ||
ms.date: 05/16/2025 | ||
ms.topic: include | ||
recommendations: false | ||
--- | ||
|
||
| Value | Description | | ||
|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `Minor` | **Default** if not specified.<br>Roll-forward to the lowest higher minor version, if requested minor version is missing. If the requested minor version is present, then the `LatestPatch` policy is used. | | ||
| `Major` | Roll-forward to the next available higher major version, and lowest minor version, if requested major version is missing. If the requested major version is present, then the `Minor` policy is used. | | ||
| `LatestPatch` | Roll-forward to the highest patch version. This value disables minor version roll-forward. | | ||
| `LatestMinor` | Roll-forward to highest minor version, even if requested minor version is present. | | ||
| `LatestMajor` | Roll-forward to highest major and highest minor version, even if requested major is present. | | ||
| `Minor` | **Default** if not specified.<br>Roll-forward to the lowest higher minor version (and highest available patch version within that minor version), if requested minor version is missing. If the requested minor version is present, then the `LatestPatch` policy is used. | | ||
| `Major` | Roll-forward to the next available higher major version (at its lowest available minor version, and highest available patch version within that minor version), if requested major version is missing. If the requested major version is present, then the `Minor` policy is used. | | ||
| `LatestPatch` | Roll-forward to the highest patch version available for the requested major and minor versions. This value disables minor version roll-forward. | | ||
| `LatestMinor` | Roll-forward to the highest minor version available for the requested major version (and highest available patch version within that minor version), even if requested minor version is present. | | ||
| `LatestMajor` | Roll-forward to highest available major version (and highest available minor and patch version within that major version), even if requested major is present. | | ||
| `Disable` | Don't roll-forward, only bind to the specified version. This policy isn't recommended for general use since it disables the ability to roll-forward to the latest patches. This value is only recommended for testing. | | ||
|
||
For example, suppose an application requests version `8.0.0`, while the locally available versions are `8.2.0`, `8.2.3`, `8.4.5`, `9.0.0`, `9.0.6`, `9.7.8`. | ||
Then the resolved version is as follows in each case: | ||
|
||
| Value | Resolved version | Resolved version if `8.0.1` were also available | | ||
|---------------|------------------|-------------------------------------------------| | ||
| `Minor` | `8.2.3` | `8.0.1` | | ||
| `Major` | `8.2.3` | `8.0.1` | | ||
| `LatestPatch` | (fails) | `8.0.1` | | ||
| `LatestMinor` | `8.4.5` | `8.4.5` | | ||
| `LatestMajor` | `9.7.8` | `9.7.8` | | ||
| `Disable` | (fails) | (fails) | | ||
|
||
adegeo marked this conversation as resolved.
Show resolved
Hide resolved
|
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.
Uh oh!
There was an error while loading. Please reload this page.