Skip to content

Commit 07d3c99

Browse files
committed
Merge branch 'main' into feature/175-untyped-nodes
# Conflicts: # CHANGELOG.md # src/Microsoft.Kiota.Abstractions.csproj
2 parents 5d0aed8 + 2cf0233 commit 07d3c99

File tree

4 files changed

+36
-5
lines changed

4 files changed

+36
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [1.8.0] - 2024-02-29
10+
## [1.8.0] - 2024-03-18
1111

1212
### Added
1313

1414
- Added support for untyped nodes. (https://github.com/microsoft/kiota-abstractions-dotnet/issues/175)
1515

16+
## [1.7.12] - 2024-03-08
17+
18+
### Changed
19+
20+
- Upgrade `Std.UriTemplate` NuGet package to version 0.54.
21+
- Add a unit test for emoji in URI template parameters.
22+
1623
## [1.7.11] - 2024-02-26
1724

1825
### Changed

Microsoft.Kiota.Abstractions.Tests/RequestInformationTests.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ namespace Microsoft.Kiota.Abstractions.Tests
1010
{
1111
public class RequestInformationTests
1212
{
13+
[Fact]
14+
public void SetUriCorrectlyEscapesDataString()
15+
{
16+
// Arrange
17+
var testRequest = new RequestInformation()
18+
{
19+
HttpMethod = Method.GET,
20+
UrlTemplate = "http://localhost/repos/{owner}/{repo}/labels/{name}"
21+
};
22+
// Act
23+
testRequest.PathParameters.Add("owner", "me");
24+
testRequest.PathParameters.Add("repo", "test");
25+
testRequest.PathParameters.Add("name", "profane content 🤬");
26+
// Assert
27+
var actual = testRequest.URI.AbsoluteUri.ToString();
28+
Assert.Equal("http://localhost/repos/me/test/labels/profane%20content%20%F0%9F%A4%AC", actual);
29+
Assert.Empty(testRequest.QueryParameters);
30+
}
1331
[Fact]
1432
public void SetUriExtractsQueryParameters()
1533
{

Microsoft.Kiota.Abstractions.sln

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31424.327
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.10.34706.255
55
MinimumVisualStudioVersion = 15.0.26124.0
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Kiota.Abstractions", "src\Microsoft.Kiota.Abstractions.csproj", "{DEE3A7F9-7951-403C-A90C-C182A381D6B6}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{812D9C21-411D-4987-AB8E-C96185F01AD0}"
99
ProjectSection(SolutionItems) = preProject
1010
.editorconfig = .editorconfig
11+
CHANGELOG.md = CHANGELOG.md
12+
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
13+
LICENSE = LICENSE
14+
README.md = README.md
15+
SECURITY.md = SECURITY.md
16+
SUPPORT.md = SUPPORT.md
1117
EndProjectSection
1218
EndProject
13-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Kiota.Abstractions.Tests", "Microsoft.Kiota.Abstractions.Tests\Microsoft.Kiota.Abstractions.Tests.csproj", "{95C59CD7-B996-45A7-927D-4952E85A2BB8}"
19+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Kiota.Abstractions.Tests", "Microsoft.Kiota.Abstractions.Tests\Microsoft.Kiota.Abstractions.Tests.csproj", "{95C59CD7-B996-45A7-927D-4952E85A2BB8}"
1420
EndProject
1521
Global
1622
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Microsoft.Kiota.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@
6161
<PackagePath></PackagePath>
6262
</None>
6363
</ItemGroup>
64-
</Project>
64+
</Project>

0 commit comments

Comments
 (0)