Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ High quality descriptions will lead to a smoother review experience.

## Issues

Link to any relevant issues, bugs, or discussions (e.g., "Closes \#123", "Fixes
issue \#456").
Link to any relevant issues, bugs, or discussions (e.g., `Closes #123`, `Fixes
issue #456`).

## Testing

Expand Down
36 changes: 16 additions & 20 deletions BUILDGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Once the environment is setup properly, execute the desired set of commands belo
|`BuildNetCore`|Builds the .NET driver for all target frameworks.|
|`BuildNetCoreAllOS`|Builds the .NET driver for all target frameworks and operating systems.|
|`BuildNetFx`|Builds the .NET Framework driver for all target frameworks.|
|`BuildTests`|Builds tests for the .NET and .NET Framework drivers.|
|`BuildTestsNetCore`|Builds tests for the .NET driver.|
|`BuildTestsNetFx`|Builds tests for the .NET Framework driver.|
|`Clean`|Cleans generated files.|
|`Restore`|Restores Nuget packages.|
|`RunTests`|Runs the functional and manual tests for the .NET Framework and .NET drivers|
|`RunTests`|Runs the unit, functional, and manual tests for the .NET Framework and .NET drivers|
|`RunUnitTests`|Runs just the unit tests for the .NET Framework and .NET drivers|
|`RunFunctionalTests`|Runs just the functional tests for the .NET Framework and .NET drivers|
|`RunManualTests`|Runs just the manual tests for the .NET Framework and .NET drivers|
|`BuildAkv`|Builds the Azure Key Vault Provider package for all supported platforms.|
Expand All @@ -51,39 +51,35 @@ Using the default configuration and running all tests:

```bash
msbuild
msbuild -t:BuildTests
msbuild -t:BuildTestsNetFx -p:TF=net462
msbuild -t:BuildTestsNetCore
msbuild -t:RunTests
```

Targeting .NET Framework (or any specific supported version):

```bash
msbuild -p:TF=net462
msbuild -t:BuildTests -p:TF=net462
msbuild -t:RunTests -p:TF=net462
```

Using the Release configuration:

```bash
msbuild -p:configuration=Release
msbuild -t:BuildTests -p:configuration=Release
msbuild -t:BuildTestsNetFx -p:TF=net462 -p:configuration=Release
msbuild -t:BuildTestsNetCore -p:configuration=Release
msbuild -t:RunTests -p:configuration=Release
```

Running only the functional tests:
Running only the unit tests:

```bash
msbuild
msbuild -t:BuildTests
msbuild -t:RunFunctionalTests
msbuild -t:BuildTestsNetFx -p:TF=net462
msbuild -t:BuildTestsNetCore
msbuild -t:RunUnitTests
```

Using a specific dotnet version/architecture:

```bash
msbuild -p:configuration=Release
msbuild -t:BuildTests -p:configuration=Release
msbuild -t:BuildTestsNetFx -p:TF=net462 -p:configuration=Release
msbuild -t:BuildTestsNetCore -p:configuration=Release
msbuild -t:RunTests -p:configuration=Release -p:DotnetPath=C:\net8-win-x86\
```

Expand Down Expand Up @@ -224,10 +220,10 @@ msbuild -t:BuildTestsNetCore -p:ReferenceType=Package
For .NET Framework, below reference types are supported:

```bash
msbuild -t:BuildTestsNetFx -p:ReferenceType=Project
msbuild -t:BuildTestsNetFx -p:TF=net462 -p:ReferenceType=Project
# Default setting uses Project Reference.

msbuild -t:BuildTestsNetFx -p:ReferenceType=Package
msbuild -t:BuildTestsNetFx -p:TF=net462 -p:ReferenceType=Package
```

### Running Tests with Reference Type
Expand All @@ -245,12 +241,12 @@ Tests can be built and run with custom Target Frameworks. See the below examples
### Building Tests with custom target framework

```bash
msbuild -t:BuildTestsNetFx -p:TargetNetFxVersion=net462
msbuild -t:BuildTestsNetFx -p:TF=net462
# Build the tests for custom .NET Framework target
```

```bash
msbuild -t:BuildTestsNetCore -p:TargetNetCoreVersion=net8.0
msbuild -t:BuildTestsNetCore -p:TF=net8.0
# Build the tests for custom .NET target
```

Expand Down
82 changes: 80 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,89 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

# Release Notes
## [Stable Release 6.1.1] - 2025-08-14

This update includes the following changes since the [6.1.0](6.1.0.md) release:

### Fixed

- Reverted changes related to improving partial packet detection, fixup, and replay functionality. This revert addresses regressions introduced in 6.1.0. ([#3556](https://github.com/dotnet/SqlClient/pull/3556))
- Applied reference assembly corrections supporting vector, fixed JSON tests, and ensured related tests are enabled. [#3562](https://github.com/dotnet/SqlClient/pull/3562)
- Fixed `SqlVector<T>.Null` API signature in Reference assembly. [#3521](https://github.com/dotnet/SqlClient/pull/3521)

### Changed

- Upgraded `Azure.Identity` and other dependencies to newer versions. ([#3538](https://github.com/dotnet/SqlClient/pull/3538)) ([#3552](https://github.com/dotnet/SqlClient/pull/3552))

## [Stable Release 6.1.0] - 2025-07-25

This update brings the following changes since the
[6.1.0-preview2](release-notes/6.1/6.1.0-preview2.md) release:

### Added

No new features were added.

### Fixed

- Fixed missing socket error codes on non-Windows platforms.
([#3475](https://github.com/dotnet/SqlClient/pull/3475))
- Fixed primary/secondary server SPN handling during SSPI negotiation.
([#3478](https://github.com/dotnet/SqlClient/pull/3478))
- Fixed AzureKeyVaultProvider package key caching to serialize Azure key fetch
operations.
([#3477](https://github.com/dotnet/SqlClient/pull/3477))
- Fixed a rare error related to multi-packet async text reads.
([#3474](https://github.com/dotnet/SqlClient/pull/3474))
- Fixed some spelling errors in the API docs.
([#3500](https://github.com/dotnet/SqlClient/pull/3500))
- Fixed a rare multi-packet string corruption bug.
([#3513](https://github.com/dotnet/SqlClient/pull/3513))

### Changed

#### SqlDecimal type workarounds conversions

*What Changed:*

- Changed how SqlDecimal type workarounds perform conversions to meet
compliance policies.
([#3467](https://github.com/dotnet/SqlClient/pull/3467))

*Who Benefits:*

- Microsoft products must not use undocumented APIs on other Microsoft products.
This change removes calls to undocumented APIs and replaces them with
compliant API use.

*Impact:*

- These changes impose an observed 5% decrease in performance on .NET Framework.

#### SqlVector API improvements

*What Changed:*

- Several changes were made to the SqlVector API published in the
[6.1.0-preview2](release-notes/6.1/6.1.0-preview2.md) release
([#3472](https://github.com/dotnet/SqlClient/pull/3472)):
- The SqlVector class was changed to a readonly struct.
- The null value constructor was changed to a static `CreateNull()` method.
- The `Size` property was removed.

*Who Benefits:*

- SqlVector instances gain the efficiencies of struct handling.

*Impact:*

- Early-adopter applications may require updates if they rely on the old APIs
and any class-specific behaviour.

## [Preview Release 6.1.0-preview2.25178.5] - 2025-06-27

This update brings the following changes since the [6.1.0-preview1](release-notes/6.1/6.1.0-preview1.md) release:
This update brings the following changes since the
[6.1.0-preview1](release-notes/6.1/6.1.0-preview1.md) release:

### Added

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

General contribution guidance is included in this document. Additional guidance is defined in the documents linked below.

- [Copyright](copyright.md) describes the licensing practices for the project.
- [Copyright](COPYRIGHT.md) describes the licensing practices for the project.
- [Contribution Workflow](contributing-workflow.md) describes the workflow that the team uses for considering and accepting changes.

## Up for Grabs
Expand Down
65 changes: 0 additions & 65 deletions RunPackageReferenceTests.cmd

This file was deleted.

Loading
Loading