Skip to content

Commit

Permalink
V5.0.0 release prep (#411)
Browse files Browse the repository at this point in the history
* Update PublicAPI files

* Update version number

* Update release notes
  • Loading branch information
wazzamatazz authored Sep 26, 2024
1 parent 94f85aa commit ac096b8
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
building via build.ps1 or build.sh. It is defined here to allow Visual Studio to build with
the solution with the correct version number.
-->
<Version>4.0.0</Version>
<Version>5.0.0</Version>
</PropertyGroup>

<Choose>
Expand Down
2 changes: 1 addition & 1 deletion build/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"Major": 5,
"Minor": 0,
"Patch": 0,
"PreRelease": "pre"
"PreRelease": ""
}
7 changes: 7 additions & 0 deletions docs/release-notes/v5.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ Additionally, new `string` extension methods have been added in the `System` nam
* `InternToStringCache` will intern the string if it has not already been interned and returns the interned reference to the string e.g. `var str = "my string".InternToStringCache();`
* `GetFromStringCache` returns the interned reference to the string or `null` if the string has not been interned e.g. `var str = "my other string".GetFromStringCache();`


## Template Changes

The `dotnet new` template has been modified:

* The template no longer uses Serilog for logging and instead reverts to the standard Microsoft.Extensions.Logging library. Developers are free to add additional logging providers to the application as required.
* An OpenTelemetry Protocol (OTLP) exporter is now enabled by default for exporting traces. The exporter endpoint and the signals to be exported (i.e. traces, logs, metrics) can be configured using the `appsettings.json` file.
18 changes: 18 additions & 0 deletions src/DataCore.Adapter.Abstractions/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -599,3 +599,21 @@ virtual DataCore.Adapter.Services.KeyValueStore.SerializeToStreamAsync<T>(System
virtual DataCore.Adapter.Services.RawKeyValueStore<TOptions>.CompressRawBytesAsync(byte[]! data, System.IO.Compression.CompressionLevel? compressionLevel = null) -> System.Threading.Tasks.ValueTask<byte[]!>
virtual DataCore.Adapter.Services.RawKeyValueStore<TOptions>.DecompressRawBytesAsync(byte[]! data) -> System.Threading.Tasks.ValueTask<byte[]!>
~static DataCore.Adapter.AbstractionsResources.Error_KeyValueStore_RawWritesDisabled.get -> string
abstract DataCore.Adapter.AdapterEntityBuilder<T>.Build() -> T!
DataCore.Adapter.AdapterEntityBuilder
DataCore.Adapter.AdapterEntityBuilder.AdapterEntityBuilder() -> void
DataCore.Adapter.AdapterEntityBuilder.GetProperties() -> System.Collections.Generic.IEnumerable<DataCore.Adapter.Common.AdapterProperty!>!
DataCore.Adapter.AdapterEntityBuilder<T>
DataCore.Adapter.AdapterEntityBuilder<T>.AdapterEntityBuilder() -> void
DataCore.Adapter.AdapterEntityBuilderExtensions
override DataCore.Adapter.Common.AdapterDescriptorBuilder.Build() -> DataCore.Adapter.Common.AdapterDescriptorExtended!
override DataCore.Adapter.Common.AdapterTypeDescriptorBuilder.Build() -> DataCore.Adapter.Common.AdapterTypeDescriptor!
override DataCore.Adapter.Common.HostInfoBuilder.Build() -> DataCore.Adapter.Common.HostInfo!
static DataCore.Adapter.AdapterEntityBuilderExtensions.ClearProperties<TBuilder>(this TBuilder! builder) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.RemoveProperty<TBuilder>(this TBuilder! builder, string! name) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, bool replaceExisting, params DataCore.Adapter.Common.AdapterProperty![]! properties) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, params DataCore.Adapter.Common.AdapterProperty![]! properties) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, System.Collections.Generic.IEnumerable<DataCore.Adapter.Common.AdapterProperty!>! properties, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder, TValue>(this TBuilder! builder, string! name, TValue value, string? description = null, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder>(this TBuilder! builder, DataCore.Adapter.Common.AdapterProperty! property, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder>(this TBuilder! builder, string! name, DataCore.Adapter.Common.Variant value, string? description = null, bool replaceExisting = true) -> TBuilder!
18 changes: 0 additions & 18 deletions src/DataCore.Adapter.Abstractions/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
#nullable enable
abstract DataCore.Adapter.AdapterEntityBuilder<T>.Build() -> T!
DataCore.Adapter.AdapterEntityBuilder
DataCore.Adapter.AdapterEntityBuilder.AdapterEntityBuilder() -> void
DataCore.Adapter.AdapterEntityBuilder.GetProperties() -> System.Collections.Generic.IEnumerable<DataCore.Adapter.Common.AdapterProperty!>!
DataCore.Adapter.AdapterEntityBuilder<T>
DataCore.Adapter.AdapterEntityBuilder<T>.AdapterEntityBuilder() -> void
DataCore.Adapter.AdapterEntityBuilderExtensions
override DataCore.Adapter.Common.AdapterDescriptorBuilder.Build() -> DataCore.Adapter.Common.AdapterDescriptorExtended!
override DataCore.Adapter.Common.AdapterTypeDescriptorBuilder.Build() -> DataCore.Adapter.Common.AdapterTypeDescriptor!
override DataCore.Adapter.Common.HostInfoBuilder.Build() -> DataCore.Adapter.Common.HostInfo!
static DataCore.Adapter.AdapterEntityBuilderExtensions.ClearProperties<TBuilder>(this TBuilder! builder) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.RemoveProperty<TBuilder>(this TBuilder! builder, string! name) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, bool replaceExisting, params DataCore.Adapter.Common.AdapterProperty![]! properties) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, params DataCore.Adapter.Common.AdapterProperty![]! properties) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperties<TBuilder>(this TBuilder! builder, System.Collections.Generic.IEnumerable<DataCore.Adapter.Common.AdapterProperty!>! properties, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder, TValue>(this TBuilder! builder, string! name, TValue value, string? description = null, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder>(this TBuilder! builder, DataCore.Adapter.Common.AdapterProperty! property, bool replaceExisting = true) -> TBuilder!
static DataCore.Adapter.AdapterEntityBuilderExtensions.WithProperty<TBuilder>(this TBuilder! builder, string! name, DataCore.Adapter.Common.Variant value, string? description = null, bool replaceExisting = true) -> TBuilder!
11 changes: 11 additions & 0 deletions src/DataCore.Adapter.Core/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1046,3 +1046,14 @@ override DataCore.Adapter.Json.NullableUtcDateTimeConverter.Read(ref System.Text
override DataCore.Adapter.Json.NullableUtcDateTimeConverter.Write(System.Text.Json.Utf8JsonWriter! writer, System.DateTime? value, System.Text.Json.JsonSerializerOptions! options) -> void
override DataCore.Adapter.Json.UtcDateTimeConverter.Read(ref System.Text.Json.Utf8JsonReader reader, System.Type! typeToConvert, System.Text.Json.JsonSerializerOptions! options) -> System.DateTime
override DataCore.Adapter.Json.UtcDateTimeConverter.Write(System.Text.Json.Utf8JsonWriter! writer, System.DateTime value, System.Text.Json.JsonSerializerOptions! options) -> void
const DataCore.Adapter.StringCache.UseNativeInternSwitchName = "Switch.DataCore.Adapter.StringCache.UseNativeIntern" -> string!
DataCore.Adapter.StringCache
static DataCore.Adapter.StringCache.Clear() -> void
static DataCore.Adapter.StringCache.Count.get -> int
static DataCore.Adapter.StringCache.Get(string? str) -> string?
static DataCore.Adapter.StringCache.Intern(string? str) -> string?
static DataCore.Adapter.StringCache.NativeInternEnabled.get -> bool
static DataCore.Adapter.StringCache.Size.get -> long
static System.DCAStringExtensions.GetFromStringCache(this string! str) -> string!
static System.DCAStringExtensions.InternToStringCache(this string! str) -> string!
System.DCAStringExtensions
11 changes: 0 additions & 11 deletions src/DataCore.Adapter.Core/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
#nullable enable
const DataCore.Adapter.StringCache.UseNativeInternSwitchName = "Switch.DataCore.Adapter.StringCache.UseNativeIntern" -> string!
DataCore.Adapter.StringCache
static DataCore.Adapter.StringCache.Clear() -> void
static DataCore.Adapter.StringCache.Count.get -> int
static DataCore.Adapter.StringCache.Get(string? str) -> string?
static DataCore.Adapter.StringCache.Intern(string? str) -> string?
static DataCore.Adapter.StringCache.NativeInternEnabled.get -> bool
static DataCore.Adapter.StringCache.Size.get -> long
static System.DCAStringExtensions.GetFromStringCache(this string! str) -> string!
static System.DCAStringExtensions.InternToStringCache(this string! str) -> string!
System.DCAStringExtensions
7 changes: 7 additions & 0 deletions src/DataCore.Adapter/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -786,3 +786,10 @@ static DataCore.Adapter.RealTimeData.TagValueBuilderExtensions.WithSteppedTransi
static DataCore.Adapter.RealTimeData.Utilities.InterpolationHelper.GetInterpolatedValueAtSampleTime(DataCore.Adapter.Tags.TagSummary! tag, System.DateTime utcSampleTime, System.Collections.Generic.IEnumerable<DataCore.Adapter.RealTimeData.TagValueExtended!>! values, bool forceStepInterpolation = false) -> DataCore.Adapter.RealTimeData.TagValueExtended?
static DataCore.Adapter.RealTimeData.Utilities.InterpolationHelper.GetStepInterpolatedValuesAsync(DataCore.Adapter.Tags.TagSummary! tag, System.Collections.Generic.IEnumerable<System.DateTime>! utcSampleTimes, System.Collections.Generic.IAsyncEnumerable<DataCore.Adapter.RealTimeData.TagValueQueryResult!>! rawData, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> System.Collections.Generic.IAsyncEnumerable<DataCore.Adapter.RealTimeData.TagValueQueryResult!>!
static DataCore.Adapter.Security.CertificateUtilities.TryLoadCertificateFromStore(string! path, bool requirePrivateKey, bool allowInvalid, out System.Security.Cryptography.X509Certificates.X509Certificate2? certificate) -> bool
DataCore.Adapter.Events.EventMessageBuilder.EventMessageBuilder() -> void
DataCore.Adapter.Events.EventMessageBuilder.EventMessageBuilder(DataCore.Adapter.Events.EventMessage! existing) -> void
override DataCore.Adapter.AssetModel.AssetModelNodeBuilder.Build() -> DataCore.Adapter.AssetModel.AssetModelNode!
override DataCore.Adapter.Events.EventMessageBuilder.Build() -> DataCore.Adapter.Events.EventMessage!
override DataCore.Adapter.RealTimeData.TagValueAnnotationBuilder.Build() -> DataCore.Adapter.RealTimeData.TagValueAnnotationExtended!
override DataCore.Adapter.RealTimeData.TagValueBuilder.Build() -> DataCore.Adapter.RealTimeData.TagValueExtended!
override DataCore.Adapter.Tags.TagDefinitionBuilder.Build() -> DataCore.Adapter.Tags.TagDefinition!
7 changes: 0 additions & 7 deletions src/DataCore.Adapter/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
#nullable enable
DataCore.Adapter.Events.EventMessageBuilder.EventMessageBuilder() -> void
DataCore.Adapter.Events.EventMessageBuilder.EventMessageBuilder(DataCore.Adapter.Events.EventMessage! existing) -> void
override DataCore.Adapter.AssetModel.AssetModelNodeBuilder.Build() -> DataCore.Adapter.AssetModel.AssetModelNode!
override DataCore.Adapter.Events.EventMessageBuilder.Build() -> DataCore.Adapter.Events.EventMessage!
override DataCore.Adapter.RealTimeData.TagValueAnnotationBuilder.Build() -> DataCore.Adapter.RealTimeData.TagValueAnnotationExtended!
override DataCore.Adapter.RealTimeData.TagValueBuilder.Build() -> DataCore.Adapter.RealTimeData.TagValueExtended!
override DataCore.Adapter.Tags.TagDefinitionBuilder.Build() -> DataCore.Adapter.Tags.TagDefinition!

0 comments on commit ac096b8

Please sign in to comment.