[v7.1.0-preview2] Release Notes and vBump#4422
Conversation
There was a problem hiding this comment.
Pull request overview
This PR prepares the 7.1.0-preview2 release by updating the default SqlClient version, bumping pipeline version variables, and adding/advertising the preview2 release notes in both the release-notes index and the top-level changelog.
Changes:
- Bumped
SqlClientVersionDefaultto7.1.0-preview2. - Added release notes for
7.1.0-preview2and updated the 7.1 release-notes index + top-levelCHANGELOG.md. - Updated selected OneBranch / CI variables to emit
7.1.0-preview2package versions.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Microsoft.Data.SqlClient/Versions.props | Updates the default SqlClient version to preview2. |
| release-notes/7.1/README.md | Adds preview2 to the 7.1 release-notes index table. |
| release-notes/7.1/7.1.0-preview2.md | Introduces the preview2 release notes content. |
| eng/pipelines/onebranch/variables/package-variables.yml | Bumps the OneBranch SqlClient preview package version string. |
| eng/pipelines/libraries/ci-build-variables.yml | Bumps the CI mdsPackageVersion prerelease identifier to preview2. |
| CHANGELOG.md | Adds a new top-level changelog entry for 7.1.0-preview2. |
| - Added SQL Graph column-alias support (`$node_id`, `$edge_id`, `$from_id`, `$to_id`) as destination columns in `SqlBulkCopy`. | ||
| ([#3677](https://github.com/dotnet/SqlClient/pull/3677)) | ||
|
|
||
| - Added a public `CommandBehavior` property on `SqlBatchCommand`, honored inside `SqlBatch` execution. |
781d858 to
e8e4b0b
Compare
| - Microsoft.Bcl.Cryptography 9.0.13 | ||
| - Microsoft.Bcl.TimeProvider 9.0.16 | ||
| - Microsoft.Data.SqlClient.Extensions.Abstractions 1.0.0 |
| - Microsoft.Bcl.Cryptography 8.0.0 | ||
| - Microsoft.Bcl.TimeProvider 8.0.1 | ||
| - Microsoft.Data.SqlClient.Extensions.Abstractions 1.0.0 |
There was a problem hiding this comment.
We've decided to align all of our SqlClient packages, so let's bump everything except SqlServer to 7.1.0-preview2.
There was a problem hiding this comment.
Be sure to discuss the version alignment for the SqlClient family of packages. You can use the 7.0.2 release notes as inspiration.
|
|
||
| *What Changed:* | ||
|
|
||
| - Added a `Connection Idle Timeout` connection-string keyword and matching `SqlConnectionStringBuilder.IdleTimeout` property that let pool v2 evict pooled connections whose idle time exceeds the configured value. The default is `300` seconds; setting `0` disables idle expiration, and negative values throw `ArgumentException`. Enforcement is gated on the new `Switch.Microsoft.Data.SqlClient.UseLegacyIdleTimeoutBehavior` AppContext switch, which defaults to `true` to preserve historical pooling behavior; set it to `false` to enable idle-timeout enforcement against both pool implementations. |
There was a problem hiding this comment.
@mdaigle - Are we discussing channel connection pool things in release notes yet?
Also, can we describe the old and new behaviours clearly so app devs can make a decision?
|
|
||
| *Impact:* | ||
|
|
||
| - WAM is enabled by default when the driver's built-in client id is used. With a custom client id, WAM is opt-in via `UseWamBroker` or the `useWamBroker` config attribute. Non-Windows platforms never invoke the broker. Existing constructors remain source- and binary-compatible. |
There was a problem hiding this comment.
Maybe also discuss that this balloons the Azure package size, and reference issue #4410 . Don't discuss whether or not we will be making any future changes to address package size though.
|
|
||
| - Connection Pooling v2 is still experimental, but its long-running behavior now matches the classic pool more closely. | ||
|
|
||
| #### Removal of Legacy `ADP.IsWindows` and OS Detection Consolidation |
There was a problem hiding this comment.
This is an internal code health fix that probably doesn't warrant a section in Added. In fact, it probably doesn't warrant mention at all.
|
|
||
| - No public API change; internal only. | ||
|
|
||
| #### `DataTypes` Schema Table Built in Code, with `json` Data Type Support |
There was a problem hiding this comment.
Another internal change that likely doesn't need to be mentioned here. Maybe in the Other Changes section, if at all.
e8e4b0b to
aa15530
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4422 +/- ##
==========================================
- Coverage 65.78% 64.08% -1.70%
==========================================
Files 286 282 -4
Lines 43696 66658 +22962
==========================================
+ Hits 28745 42718 +13973
- Misses 14951 23940 +8989
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:
|
aa15530 to
56d78bf
Compare
| > - `Microsoft.Data.SqlClient.Extensions.Abstractions` | ||
| > - `Microsoft.Data.SqlClient.Internal.Logging` | ||
| > | ||
| > (`Microsoft.SqlServer.Server` continues to version independently and remains at `1.0.0`.) |
| > - `Microsoft.Data.SqlClient.Extensions.Abstractions` | ||
| > - `Microsoft.Data.SqlClient.Internal.Logging` | ||
| > | ||
| > (`Microsoft.SqlServer.Server` continues to version independently and remains at `1.0.0`.) |
| | Release Date | Version | Notes | | ||
| |:-------------|:---------------|:----------------------------------:| | ||
| | 2026-04-29 | 7.1.0-preview1 | [Release Notes](7.1.0-preview1.md) | | ||
| | 2026-07-09 | 7.1.0-preview2 | [Release Notes](7.1.0-preview2.md) | |
* vBump in Versions.props, OneBranch pipelines, and CI/PR pipelines to v7.1.0-preview2 * Release notes for v7.1.0-preview2
56d78bf to
06bf786
Compare
Description
Versions.props, OneBranch pipelines, and CI/PR pipelines to v7.1.0-preview2CHANGELOG.mdentry and updatedrelease-notes/7.1/README.mdindex