You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 9.0.0
* Updated SqlClient to 6.1.1 and removed Azure.Identity workaround for issue #624
* Updated all dependencies except .NET 9 NuGets
* Implemented #636: Added support for non-clustered index sort direction (thanks to @gumbarros)
Copy file name to clipboardExpand all lines: CHANGES.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
# 9.0.0
2
+
* Updated SqlClient to 6.1.1 and removed Azure.Identity workaround for issue #624
3
+
* Updated all dependencies except .NET 9 NuGets
4
+
* Implemented #636: Added support for non-clustered index sort direction (thanks to @gumbarros)
5
+
1
6
# 8.2.2
2
7
* Fixed issue #624: Enforce new version of transient dependency to fix vulnerability and avoid nuget.org version de-listing until SqlClient 6.1 is released.
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Whenever the `dev` branch is updated (after merging a pull request), the `Releas
6
6
7
7
## Creating a latest Release
8
8
9
-
### Normal Update (no major version change) {#normal-update}
9
+
### Normal Update (no major version change)
10
10
11
11
1. On the `dev` branch, update CHANGES.md and `VersionPrefix` in Serilog.Sinks.MSSqlServer.csproj.
12
12
@@ -18,6 +18,6 @@ Whenever the `dev` branch is updated (after merging a pull request), the `Releas
18
18
19
19
1. On the `dev` branch, update CHANGES.md and increase the major version in `VersionPrefix` in Serilog.Sinks.MSSqlServer.csproj. Also set `EnablePackageValidation` to false because on an intial release of a new major version you don't have a baseline version yet on nuget.org to compare with.
20
20
21
-
1. Create a PR to merge the `dev` branch into `main`. The `Release` action will be triggered. This works the same as described above under [Normal Update]({#normal-update).
21
+
1. Create a PR to merge the `dev` branch into `main`. The `Release` action will be triggered. This works the same as described above under [Normal Update](#normal-update-no-major-version-change).
22
22
23
23
1. After the release is done make some changes in Serilog.Sinks.MSSqlServer.csproj on the `dev` branch. Set `EnablePackageValidation` back to true and `PackageValidationBaselineVersion` to the version of the new major release you just created (e.g. 7.0.0). Then also increase the patch version number in `VersionPrefix` (e.g. 7.0.1).
@@ -349,6 +350,7 @@ Each Standard Column in the `ColumnOptions.Store` list and any custom columns yo
349
350
*`AllowNull`
350
351
*`DataLength`
351
352
*`NonClusteredIndex`
353
+
*`NonClusteredIndexDirection`
352
354
353
355
### ColumnName
354
356
@@ -412,9 +414,20 @@ Supported SQL column data types that use this property:
412
414
413
415
Any individual column can be defined as a non-clustered index, including the table primary key. Use this with caution, indexing carries a relatively high write-throughput penalty. One way to mitigate this is to keep non-clustered indexes offline and use batch reindexing on a scheduled basis.
414
416
417
+
### NonClusteredIndexDirection
418
+
419
+
Specifies the sort direction (`ASC` or `DESC`) for a non-clustered index on the SQL column.
420
+
The default value is `ASC`.
421
+
422
+
It is especially useful for the timestamp column,
423
+
where choosing the correct sort direction can optimize query performance for workloads that typically scan
424
+
recent data first.
425
+
426
+
This only has effect if `NonClusteredIndex` is `true`.
427
+
415
428
## Standard Columns
416
429
417
-
By default (and consistent with the SQL DDL to create a table shown earlier) these columns are included in a new `ColumnOptions.Store` list:
430
+
By default (and consistent with the SQL DDL to create a table shown earlier), these columns are included in a new `ColumnOptions.Store` list:
Copy file name to clipboardExpand all lines: src/Serilog.Sinks.MSSqlServer/Configuration/Implementations/Microsoft.Extensions.Configuration/MicrosoftExtensionsColumnOptionsProvider.cs
Copy file name to clipboardExpand all lines: src/Serilog.Sinks.MSSqlServer/Configuration/Implementations/System.Configuration/SetPropertyValueOrigin.cs
Copy file name to clipboardExpand all lines: src/Serilog.Sinks.MSSqlServer/Configuration/Implementations/System.Configuration/SystemConfigurationColumnOptionsProvider.cs
0 commit comments