fix: reactiveui packages should be pinned and only work with packages from the same release #1225
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.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix.
What is the current behavior? (You can also link to an open issue here)
The packages are unpinned;
version="$version$"
means "Minimum version, inclusive" as per https://docs.nuget.org/ndocs/create-packages/dependency-versionsWhat is the new behavior (if this is a feature change)?
The packages are now pinned;
version="[$version$]"
means "Exact version match" as per https://docs.nuget.org/ndocs/create-packages/dependency-versionsDoes this PR introduce a breaking change?
No, even if it did we don't want to support this behaviour. For maintainer sanity, we version ReactiveUI and package as a pinned group - all packages in a release will always be the same version and only work with that version which makes it impossible for a consumer to run into situations where they use reactiveui-core at 7.1.0 but reactiveui-xamforms at 7.0.0. Additionally all assemblies share the same CommonAssemblyInfo.cs which is updated just before compile time by the build infrastructure.
Please check if the PR fulfills these requirements
https://docs.reactiveui.net/en/contributing/framework/semantic-versioning.html has been updated.
Other information:
Thankyou @martijn00 for spotting this.