Skip to content

Commit 3003c38

Browse files
11.0.0-rc.2: the version suffix, the README pin, a release-notes note and the public API baseline (#86)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 3bc51d1 commit 3003c38

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ dotnet add package Microsoft.Data.Sqlite
8484
| `Open.Database.Extensions.SqlClient` | The same API on the older `System.Data.SqlClient`. Deprecated: use `MSSqlClient`. |
8585
| `Open.Database.Extensions` | Discontinued. It only referenced Core: use `Open.Database.Extensions.Core`. The last published version is 9.0.3. |
8686

87-
Targets: `netstandard2.0`, `netstandard2.1` and `net10.0` (`MSSqlClient`: `net472` and `net10.0`). Version 11 is a release candidate (`11.0.0-rc.1`): see [What's new in 11](https://open-net-libraries.github.io/Open.Database.Extensions/articles/whats-new-11.html) for the changes, the breaking changes and the known limitations, and the [release notes](https://open-net-libraries.github.io/Open.Database.Extensions/articles/release-notes.html) for earlier versions. Please try it and tell us what you find.
87+
Targets: `netstandard2.0`, `netstandard2.1` and `net10.0` (`MSSqlClient`: `net472` and `net10.0`). Version 11 is a release candidate (`11.0.0-rc.2`): see [What's new in 11](https://open-net-libraries.github.io/Open.Database.Extensions/articles/whats-new-11.html) for the changes, the breaking changes and the known limitations, and the [release notes](https://open-net-libraries.github.io/Open.Database.Extensions/articles/release-notes.html) for earlier versions. Please try it and tell us what you find.
8888

8989
## How it fits together
9090

‎Source/Core/PublicAPI.Shipped.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,10 @@ Open.Database.Extensions.ValueMappingException.ValueMappingException(string! mes
288288
abstract Open.Database.Extensions.ExpressiveCommandBase<TConnection, TCommand, TReader, TDbType, TThis>.AddParams(TCommand! command) -> void
289289
const Open.Database.Extensions.Core.Transformer<T>.MaxArrayBuffer = 1024 -> int
290290
override Open.Database.Extensions.ExpressiveCommand.AddParams(System.Data.IDbCommand! command) -> void
291+
override Open.Database.Extensions.ExpressiveCommand.GetProcedureParameterNames(System.Data.IDbConnection! connection, string! procedure) -> System.Collections.Immutable.ImmutableArray<string!>
291292
override Open.Database.Extensions.ExpressiveDbCommand.AddParams(System.Data.Common.DbCommand! command) -> void
293+
override Open.Database.Extensions.ExpressiveDbCommand.GetProcedureParameterNames(System.Data.Common.DbConnection! connection, string! procedure) -> System.Collections.Immutable.ImmutableArray<string!>
294+
override Open.Database.Extensions.ExpressiveDbCommand.GetProcedureParameterNamesAsync(System.Data.Common.DbConnection! connection, string! procedure, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask<System.Collections.Immutable.ImmutableArray<string!>>
292295
readonly Open.Database.Extensions.Core.QueryResult<TResult>.ColumnCount -> int
293296
readonly Open.Database.Extensions.Core.QueryResult<TResult>.Names -> System.Collections.Immutable.ImmutableArray<string!>
294297
readonly Open.Database.Extensions.Core.QueryResult<TResult>.Ordinals -> System.Collections.Immutable.ImmutableArray<int>
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
#nullable enable
2-
override Open.Database.Extensions.ExpressiveCommand.GetProcedureParameterNames(System.Data.IDbConnection! connection, string! procedure) -> System.Collections.Immutable.ImmutableArray<string!>
3-
override Open.Database.Extensions.ExpressiveDbCommand.GetProcedureParameterNames(System.Data.Common.DbConnection! connection, string! procedure) -> System.Collections.Immutable.ImmutableArray<string!>
4-
override Open.Database.Extensions.ExpressiveDbCommand.GetProcedureParameterNamesAsync(System.Data.Common.DbConnection! connection, string! procedure, System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.ValueTask<System.Collections.Immutable.ImmutableArray<string!>>

‎Source/Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<VersionPrefix>11.0.0</VersionPrefix>
77
<VersionSuffix Condition="'$(Configuration)' == 'Debug'">debug</VersionSuffix>
88
<!-- Release candidate line: delete this element (or pass -p:VersionSuffix=) to build the stable 11.0.0 packages. -->
9-
<VersionSuffix Condition="'$(Configuration)' != 'Debug'">rc.1</VersionSuffix>
9+
<VersionSuffix Condition="'$(Configuration)' != 'Debug'">rc.2</VersionSuffix>
1010

1111
<!-- net10.0 is the primary/modern target. netstandard2.0/2.1 are retained as shimmed
1212
legacy paths (via #if switching + BCL compat packages). net472 lives only on the

‎docsite/articles/whats-new-11.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# What's new in 11
22

33
> [!NOTE]
4-
> This is `11.0.0-rc.1`, a release candidate. The API is settled. Please try it and report what you find.
4+
> This is `11.0.0-rc.2`, a release candidate. The API is settled. Please try it and report what you find.
5+
>
6+
> rc.2 fixes what a production consumer found in rc.1: an error the server raises after the rows is thrown to you, generic commands send a parameter's direction, `AddParams` works with a variable typed `object`, dictionary and `ExpandoObject` rows throw instead of returning an empty row, parameter names are found through any `DbConnection` and on SQL text, and the SQL Server commands take `AddParam(name, DbType, direction)`. See Fixes.
57

68
Version 11 is a performance release and a tidy-up release. Result mapping is rewritten around a cached, typed row reader, column mapping is declared once, NULL and error handling follow simple rules, and stored-procedure parameters can be named from the arguments you already have. See [Performance](performance.md) for what the speed-up does and does not buy you. Coming from 10.x? Read "Upgrading from 10.x" below first.
79

0 commit comments

Comments
 (0)