[7.0.2] Bump all SqlClient family versions to 7.0.2#4389
Conversation
…nd AKV Provider Sweep package, preview, and assembly file versions to 7.0.2 across the OneBranch and classic CI pipeline variables. Bump MdsVersionDefault to 7.0.2 and the Abstractions/Logging/Azure DefaultMajorVersion to 7 (raising their AssemblyVersion to 7.0.0.0). SqlServer.Server is left unchanged.
There was a problem hiding this comment.
Pull request overview
Updates build-time version sources to produce 7.0.2 packages for the SqlClient “suite” (MDS + Logging + Abstractions + Azure + AKV Provider), keeping versioning consistent across local props and both the OneBranch and classic CI pipelines.
Changes:
- Bumped MDS default version to 7.0.2 in
tools/props/Versions.props. - Updated OneBranch and classic CI pipeline variables so package and assembly file versions emit 7.0.2 for Abstractions/Logging/Azure/MDS/AKV.
- Raised Abstractions/Logging/Azure default major versions from 1 → 7 to align their
AssemblyVersionwith the 7.x line.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/props/Versions.props | Updates MdsVersionDefault from 7.0.1 → 7.0.2, affecting default package/file versioning. |
| src/Microsoft.Data.SqlClient.Internal/Logging/src/LoggingVersions.props | Updates LoggingDefaultMajorVersion from 1 → 7 (AssemblyVersion binding identity aligns to 7.x). |
| src/Microsoft.Data.SqlClient.Extensions/Azure/src/AzureVersions.props | Updates AzureDefaultMajorVersion from 1 → 7 (AssemblyVersion binding identity aligns to 7.x). |
| src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/AbstractionsVersions.props | Updates AbstractionsDefaultMajorVersion from 1 → 7 (AssemblyVersion binding identity aligns to 7.x). |
| eng/pipelines/onebranch/variables/common-variables.yml | Bumps GA/preview package versions + assembly file versions to 7.0.2 for Abstractions/MDS/Logging/Azure/AKV Provider. |
| eng/pipelines/libraries/ci-build-variables.yml | Bumps CI package versions + assembly file versions to 7.0.2 for Abstractions/MDS/Logging/Azure/AKV Provider. |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## release/7.0 #4389 +/- ##
===============================================
- Coverage 73.18% 65.70% -7.48%
===============================================
Files 280 275 -5
Lines 43045 65883 +22838
===============================================
+ Hits 31502 43290 +11788
- Misses 11543 22593 +11050
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
It would be great if we can reduce the line changes in future iterations to just 1 line change to update version for all packages :) |
Summary
Sweeps the version numbers to 7.0.2 for the SqlClient, Logging, Abstractions, Azure, and AKV Provider packages. SqlServer.Server is intentionally left unchanged.
Important
AssemblyVersion (binding identity) change for the extension assemblies.
Bumping the
DefaultMajorVersionfrom1to7for Abstractions, Logging, and Azure raises theirAssemblyVersionfrom1.0.0.0to7.0.0.0.AssemblyVersionis the strong-name binding identity, so this is a breaking identity change for those three assemblies:1.0.0.0assemblies will not bind to the7.0.0.0assemblies without recompiling (or, on .NET Framework, addingbindingRedirectentries).typeof(...).Assembly.FullName, strong-name references, or fully-qualified type names in config) must be updated.By contrast, SqlClient stays at
AssemblyVersion 7.0.0.0— the7.0.1→7.0.2move only changes the package/file version, not the binding identity, so it is not a breaking change. The AKV Provider was already on major7, so its identity is unchanged. Only the FileVersion/package version moves to7.0.2for the non-breaking packages.Changes
eng/pipelines/onebranch/variables/common-variables.yml) — package, preview, and assembly file versions bumped to7.0.2for Abstractions, MDS, Logging, Azure, and AKV Provider.eng/pipelines/libraries/ci-build-variables.yml) — assembly file version and package version bumped to7.0.2for the same packages.tools/props/Versions.props—MdsVersionDefault7.0.1→7.0.2.AbstractionsVersions.props,LoggingVersions.props,AzureVersions.props) —DefaultMajorVersion1→7, raising theirAssemblyVersionto7.0.0.0.Notes
AkvDefaultMajorVersionwas already7, so no change was needed inAkvProviderVersions.props; its7.0.2values are supplied by the pipeline variables above.1.0.0).Checklist