-
Notifications
You must be signed in to change notification settings - Fork 11
Update MediatR to explicit version range [12.*,13.0) for flexible patch updates #1474
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ | |||||
| </PropertyGroup> | ||||||
|
|
||||||
| <ItemGroup> | ||||||
| <PackageReference Include="MediatR" Version="12.2.0" /> | ||||||
| <PackageReference Include="MediatR" Version="[12.*,13.0)" /> | ||||||
|
||||||
| <PackageReference Include="MediatR" Version="[12.*,13.0)" /> | |
| <PackageReference Include="MediatR" Version="[12.0,13.0)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version range syntax
[12.*,13.0)is invalid. NuGet does not support wildcards (*) inside explicit version range brackets. This will cause build errors or unexpected behavior.Use one of these valid alternatives:
[12.0,13.0)- allows any version from 12.0 (inclusive) to 13.0 (exclusive)12.*- allows any 12.x patch version (simpler but less explicit about upper bound)The first option is recommended as it explicitly prevents breaking changes from version 13.0 while allowing all 12.x updates.