Skip to content

Commit a44c93c

Browse files
authored
Merge pull request #684 from microsoftgraph/dev
Release 3.0.9
2 parents 3cd9774 + 163df93 commit a44c93c

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.github/workflows/auto-merge-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Dependabot metadata
2121
id: metadata
22-
uses: dependabot/fetch-metadata@v1.5.1
22+
uses: dependabot/fetch-metadata@v1.6.0
2323
with:
2424
github-token: "${{ secrets.GITHUB_TOKEN }}"
2525

src/Microsoft.Graph.Core/Microsoft.Graph.Core.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<DelaySign>false</DelaySign>
2222
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
2323
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
24-
<VersionPrefix>3.0.8</VersionPrefix>
24+
<VersionPrefix>3.0.9</VersionPrefix>
2525
<VersionSuffix></VersionSuffix>
2626
<PackageReleaseNotes>
27-
- Fixes nextLink loop exception when making delta requests with the page iterator(https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1948)
28-
- Bumps kiota abstraction packages to fix bugs in Backing store and allow large stream downloads.
27+
- Fixes regression in url building when the httpClient base addresss is used.
2928
</PackageReleaseNotes>
3029
<PublishRepositoryUrl>true</PublishRepositoryUrl>
3130
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -64,7 +63,7 @@
6463
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.0.6" />
6564
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.0.1" />
6665
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.0.1" />
67-
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.0.4" />
66+
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.0.5" />
6867
</ItemGroup>
6968
<ItemGroup Condition=" '$(TargetFramework)' != 'netstandard2.0' ">
7069
<PackageReference Include="NETStandard.Library" Version="2.0.3" />

tests/Microsoft.Graph.DotnetCore.Core.Test/Microsoft.Graph.DotnetCore.Core.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>
22-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.2" />
22+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
2323
<PackageReference Include="Moq" Version="4.18.4" />
2424
<PackageReference Include="xunit" Version="2.4.2" />
2525
<ProjectReference Include="..\..\src\Microsoft.Graph.Core\Microsoft.Graph.Core.csproj" />

tests/Microsoft.Graph.DotnetCore.Core.Test/Requests/BaseClientTests.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,15 @@ public void BaseClient_InitializeBaseUrlWithoutTrailingSlash()
2626

2727
Assert.Equal(expectedBaseUrl, baseClient.RequestAdapter.BaseUrl);
2828
}
29+
30+
[Fact]
31+
public void BaseClient_InitializeBaseUrlTrailingSlash()
32+
{
33+
var expectedBaseUrl = "https://localhost";
34+
35+
var baseClient = new BaseClient("https://localhost/", this.authenticationProvider.Object);
36+
37+
Assert.Equal(expectedBaseUrl, baseClient.RequestAdapter.BaseUrl);
38+
}
2939
}
3040
}

0 commit comments

Comments
 (0)