Skip to content

Commit 9f7695f

Browse files
authored
Merge pull request #56 from microsoft/releaseCandidate
Release candidate 1 release
2 parents b41c043 + 489e522 commit 9f7695f

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,12 @@ stages:
260260
pool:
261261
vmImage: ubuntu-latest
262262
steps:
263+
# Install the nuget tool.
264+
- task: NuGetToolInstaller@0
265+
displayName: 'Use NuGet >=5.2.0'
266+
inputs:
267+
versionSpec: '>=5.2.0'
268+
checkLatest: true
263269
- task: DownloadPipelineArtifact@2
264270
displayName: Download nupkg from artifacts
265271
inputs:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [1.0.0-rc.1] - 2022-12-15
15+
16+
### Changed
17+
18+
- Release candidate 1
19+
1420
## [1.0.0-preview.19] - 2022-12-13
1521

1622
### Changed

src/Microsoft.Kiota.Abstractions.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1515
<Deterministic>true</Deterministic>
1616
<VersionPrefix>1.0.0</VersionPrefix>
17-
<VersionSuffix>preview.19</VersionSuffix>
17+
<VersionSuffix>rc.1</VersionSuffix>
1818
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1919
<SignAssembly>false</SignAssembly>
2020
<DelaySign>false</DelaySign>
@@ -23,10 +23,11 @@
2323
<!-- Enable this line once we go live to prevent breaking changes -->
2424
<!-- <PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion> -->
2525
<PackageReleaseNotes>
26-
- Adds support for multi-valued headers
26+
- Release candidate 1.
2727
</PackageReleaseNotes>
2828
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
2929
<PackageLicenseFile>LICENSE</PackageLicenseFile>
30+
<PackageReadmeFile>README.md</PackageReadmeFile>
3031
</PropertyGroup>
3132

3233
<ItemGroup>
@@ -44,5 +45,9 @@
4445
<Pack>True</Pack>
4546
<PackagePath></PackagePath>
4647
</None>
48+
<None Include="..\README.md">
49+
<Pack>True</Pack>
50+
<PackagePath></PackagePath>
51+
</None>
4752
</ItemGroup>
4853
</Project>

src/store/InMemoryBackingStore.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class InMemoryBackingStore : IBackingStore
2121
/// </summary>
2222
public bool ReturnOnlyChangedValues { get; set; }
2323
private readonly Dictionary<string, Tuple<bool, object>> store = new();
24-
private Dictionary<string, Action<string, object, object>> subscriptions = new();
24+
private readonly Dictionary<string, Action<string, object, object>> subscriptions = new();
2525

2626
/// <summary>
2727
/// Gets the specified object with the given key from the store.
@@ -74,7 +74,7 @@ public void Set<T>(string key, T value)
7474
}
7575
else if(value is ICollection collectionValues)
7676
{// 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"
77-
collectionValues.OfType<IBackedModel>().ToList().ForEach(model => model.BackingStore?.Subscribe((keyString, oldObject, newObject) => Set(key, value))); ;
77+
collectionValues.OfType<IBackedModel>().ToList().ForEach(model => model.BackingStore?.Subscribe((keyString, oldObject, newObject) => Set(key, value)));
7878
}
7979

8080
foreach(var sub in subscriptions.Values)

0 commit comments

Comments
 (0)