diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 92af8f9..2fa4ba0 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -260,6 +260,12 @@ stages: pool: vmImage: ubuntu-latest steps: + # Install the nuget tool. + - task: NuGetToolInstaller@0 + displayName: 'Use NuGet >=5.2.0' + inputs: + versionSpec: '>=5.2.0' + checkLatest: true - task: DownloadPipelineArtifact@2 displayName: Download nupkg from artifacts inputs: diff --git a/CHANGELOG.md b/CHANGELOG.md index d21ffa9..c77eef3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [1.0.0-rc.1] - 2022-12-15 + +### Changed + +- Release candidate 1 + ## [1.0.0-preview.19] - 2022-12-13 ### Changed diff --git a/src/Microsoft.Kiota.Abstractions.csproj b/src/Microsoft.Kiota.Abstractions.csproj index 3b52b48..9a04995 100644 --- a/src/Microsoft.Kiota.Abstractions.csproj +++ b/src/Microsoft.Kiota.Abstractions.csproj @@ -14,7 +14,7 @@ true true 1.0.0 - preview.19 + rc.1 true false false @@ -23,10 +23,11 @@ - - Adds support for multi-valued headers + - Release candidate 1. true LICENSE + README.md @@ -44,5 +45,9 @@ True + + True + + diff --git a/src/store/InMemoryBackingStore.cs b/src/store/InMemoryBackingStore.cs index bc54244..c49f52e 100644 --- a/src/store/InMemoryBackingStore.cs +++ b/src/store/InMemoryBackingStore.cs @@ -21,7 +21,7 @@ public class InMemoryBackingStore : IBackingStore /// public bool ReturnOnlyChangedValues { get; set; } private readonly Dictionary> store = new(); - private Dictionary> subscriptions = new(); + private readonly Dictionary> subscriptions = new(); /// /// Gets the specified object with the given key from the store. @@ -74,7 +74,7 @@ public void Set(string key, T value) } else if(value is ICollection collectionValues) {// if its the first time adding a IBackedModel collection property to the store, subscribe to item properties' BackingStores and use the events to flag the collection property is "dirty" - collectionValues.OfType().ToList().ForEach(model => model.BackingStore?.Subscribe((keyString, oldObject, newObject) => Set(key, value))); ; + collectionValues.OfType().ToList().ForEach(model => model.BackingStore?.Subscribe((keyString, oldObject, newObject) => Set(key, value))); } foreach(var sub in subscriptions.Values)