Skip to content

Commit 64364b2

Browse files
Merge pull request #22 from localstack-dotnet/v1.4.0
V1.4.0
2 parents 9c340cc + 18e59f7 commit 64364b2

File tree

47 files changed

+1573
-1470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1573
-1470
lines changed

.github/workflows/build-macos.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,15 @@ jobs:
3333
with:
3434
domain: ${{github.repository_owner}}
3535

36-
- name: Install .NET Core 3.1
37-
uses: actions/setup-dotnet@v1
38-
with:
39-
dotnet-version: "3.1.x"
40-
41-
- name: Install .NET 5
36+
- name: Install .NET 6
4237
uses: actions/setup-dotnet@v1
4338
with:
44-
dotnet-version: "5.0.x"
39+
dotnet-version: "6.0.x"
4540

46-
- name: Install .NET 6
41+
- name: Install .NET 7
4742
uses: actions/setup-dotnet@v1
4843
with:
49-
dotnet-version: "6.0.x"
44+
dotnet-version: "7.0.x"
5045

5146
- name: Build
5247
run: ./build.sh --target build

.github/workflows/build-ubuntu.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,15 @@ jobs:
3333
with:
3434
domain: ${{github.repository_owner}}
3535

36-
- name: Install .NET Core 3.1
37-
uses: actions/setup-dotnet@v1
38-
with:
39-
dotnet-version: "3.1.x"
40-
41-
- name: Install .NET 5
36+
- name: Install .NET 6
4237
uses: actions/setup-dotnet@v1
4338
with:
44-
dotnet-version: "5.0.x"
39+
dotnet-version: "6.0.x"
4540

46-
- name: Install .NET 6
41+
- name: Install .NET 7
4742
uses: actions/setup-dotnet@v1
4843
with:
49-
dotnet-version: "6.0.x"
44+
dotnet-version: "7.0.x"
5045

5146
- name: Build
5247
run: ./build.sh --target build

.github/workflows/build-windows.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,15 @@ jobs:
2727
with:
2828
domain: ${{github.repository_owner}}
2929

30-
- name: Install .NET Core 3.1
31-
uses: actions/setup-dotnet@v1
32-
with:
33-
dotnet-version: "3.1.x"
34-
35-
- name: Install .NET 5
30+
- name: Install .NET 6
3631
uses: actions/setup-dotnet@v1
3732
with:
38-
dotnet-version: "5.0.x"
33+
dotnet-version: "6.0.x"
3934

40-
- name: Install .NET 6
35+
- name: Install .NET 7
4136
uses: actions/setup-dotnet@v1
4237
with:
43-
dotnet-version: "6.0.x"
38+
dotnet-version: "7.0.x"
4439

4540
- name: Build
4641
run: .\build.ps1 --target build

.github/workflows/publish-nuget.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,15 @@ jobs:
3737
- name: Install NuGet
3838
uses: NuGet/[email protected]
3939

40-
- name: Install .NET Core 3.1
41-
uses: actions/setup-dotnet@v1
42-
with:
43-
dotnet-version: "3.1.x"
44-
45-
- name: Install .NET 5
40+
- name: Install .NET 6
4641
uses: actions/setup-dotnet@v1
4742
with:
48-
dotnet-version: "5.0.x"
43+
dotnet-version: "6.0.x"
4944

50-
- name: Install .NET 6
45+
- name: Install .NET 7
5146
uses: actions/setup-dotnet@v1
5247
with:
53-
dotnet-version: "6.0.x"
48+
dotnet-version: "7.0.x"
5449

5550
- name: Build & Test
5651
run: ./build.sh

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# LocalStack .NET Client Change Log
22

3+
### [v1.4.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.4.0)
4+
5+
#### 1. New Features
6+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.39 have been added.
7+
- Fault Injection Service (FIS)
8+
- Marketplace Metering
9+
- Amazon Transcribe
10+
- Amazon MQ
11+
12+
#### 2. General
13+
- .NET 7 support added
14+
- .NET 5 ve .NET Core 3.1 runtimes removed from Nuget pack (.netstandard2.0 remains)
15+
- Tested against LocalStack v1.3.1 container.
16+
- AWSSDK.Core set to 3.7.103 as the minimum version.
17+
- **Warning** In this version, the ServiceURL property of Amazon.Runtime.ClientConfig adds a trailing `/` to every URL set.
18+
For example, if `http://localhost:1234` is set as the value, it will become `http://localhost:1234/`
19+
- Following depedencies updated from v3.0.0 to v3.1.32 in LocalStack.Client.Extensions for security reasons
20+
- Microsoft.Extensions.Configuration.Abstractions
21+
- Microsoft.Extensions.Configuration.Binder
22+
- Microsoft.Extensions.DependencyInjection.Abstractions
23+
- Microsoft.Extensions.Logging.Abstractions
24+
- Microsoft.Extensions.Options.ConfigurationExtensions
25+
26+
#### 3. Bug Fixes
27+
- Write a timestream record using .Net AWSSDK NuGet packages ([#20](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/20))
28+
- Session does not honor UseSsl and always sets UseHttp to true ([#16](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/16))
29+
330
### [v1.3.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.1)
431

532
#### 1. New Features

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 LocalStack.NET
3+
Copyright (c) 2023 LocalStack.NET
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ application development.
3838

3939
## <a name="supported-platforms"></a> Supported Platforms
4040

41+
- [.NET 7.0](https://dotnet.microsoft.com/download/dotnet/7.0)
4142
- [.NET 6.0](https://dotnet.microsoft.com/download/dotnet/6.0)
42-
- [.NET 5.0](https://dotnet.microsoft.com/download/dotnet/5.0)
4343
- [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)
4444
- [.NET 4.6.1 and Above](https://dotnet.microsoft.com/download/dotnet-framework)
4545

build/LocalStack.Build/GlobalUsings.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
global using Cake.Common.IO;
44
global using Cake.Common.IO.Paths;
55
global using Cake.Common.Tools.DotNet.MSBuild;
6-
global using Cake.Common.Tools.DotNetCore;
7-
global using Cake.Common.Tools.DotNetCore.Build;
8-
global using Cake.Common.Tools.DotNetCore.MSBuild;
9-
global using Cake.Common.Tools.DotNetCore.NuGet.Push;
10-
global using Cake.Common.Tools.DotNetCore.Pack;
11-
global using Cake.Common.Tools.DotNetCore.Test;
126
global using Cake.Common.Tools.NuGet;
137
global using Cake.Common.Tools.NuGet.Install;
148
global using Cake.Common.Tools.NuGet.List;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
66
<LangVersion>latest</LangVersion>
77
<NoWarn>CA1303</NoWarn>
88
</PropertyGroup>
99
<ItemGroup>
10-
<PackageReference Include="Cake.Docker" Version="1.1.2" />
11-
<PackageReference Include="Cake.Frosting" Version="2.2.0" />
10+
<PackageReference Include="Cake.Docker" Version="1.2.0" />
11+
<PackageReference Include="Cake.Frosting" Version="3.0.0" />
1212
</ItemGroup>
1313
</Project>

build/LocalStack.Build/Program.cs

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
return new CakeHost()
1+
using Cake.Common.Tools.DotNet;
2+
using Cake.Common.Tools.DotNet.Build;
3+
using Cake.Common.Tools.DotNet.NuGet.Push;
4+
using Cake.Common.Tools.DotNet.Pack;
5+
using Cake.Common.Tools.DotNet.Test;
6+
7+
return new CakeHost()
28
.UseContext<BuildContext>()
39
.Run(args);
410

@@ -41,11 +47,11 @@ public sealed class BuildTask : FrostingTask<BuildContext>
4147
{
4248
public override void Run(BuildContext context)
4349
{
44-
context.DotNetCoreBuild(context.SlnFilePath,
45-
new DotNetCoreBuildSettings
46-
{
47-
Configuration = context.BuildConfiguration
48-
});
50+
context.DotNetBuild(context.SlnFilePath,
51+
new DotNetBuildSettings
52+
{
53+
Configuration = context.BuildConfiguration
54+
});
4955
}
5056
}
5157

@@ -56,7 +62,7 @@ public override void Run(BuildContext context)
5662
{
5763
const string testResults = "results.trx";
5864

59-
var settings = new DotNetCoreTestSettings
65+
var settings = new DotNetTestSettings
6066
{
6167
NoRestore = !context.ForceRestore,
6268
NoBuild = !context.ForceBuild,
@@ -115,7 +121,7 @@ public override void Run(BuildContext context)
115121
{
116122
string testFilePrefix = targetFramework.Replace(".", "-");
117123
settings.ArgumentCustomization = args => args.Append($" --logger \"trx;LogFileName={testFilePrefix}_{testResults}\"");
118-
context.DotNetCoreTest(testProjectPath, settings);
124+
context.DotNetTest(testProjectPath, settings);
119125
}
120126
context.Warning("==============================================================");
121127
}
@@ -137,16 +143,16 @@ public override void Run(BuildContext context)
137143

138144
FilePath packageCsProj = context.PackageIdProjMap[context.PackageId];
139145

140-
var settings = new DotNetCorePackSettings
146+
var settings = new DotNetPackSettings
141147
{
142148
Configuration = context.BuildConfiguration,
143149
OutputDirectory = context.ArtifactOutput,
144-
MSBuildSettings = new DotNetCoreMSBuildSettings()
150+
MSBuildSettings = new DotNetMSBuildSettings()
145151
};
146152

147153
settings.MSBuildSettings.SetVersion(context.PackageVersion);
148154

149-
context.DotNetCorePack(packageCsProj.FullPath, settings);
155+
context.DotNetPack(packageCsProj.FullPath, settings);
150156
}
151157

152158
private static void ValidatePackageVersion(BuildContext context)
@@ -201,7 +207,7 @@ public override void Run(BuildContext context)
201207
string packageSecret = context.PackageSecret;
202208
string packageSource = context.PackageSourceMap[context.PackageSource];
203209

204-
context.DotNetCoreNuGetPush(packageFile.Path.FullPath, new DotNetCoreNuGetPushSettings()
210+
context.DotNetNuGetPush(packageFile.Path.FullPath, new DotNetNuGetPushSettings()
205211
{
206212
ApiKey = packageSecret,
207213
Source = packageSource,

0 commit comments

Comments
 (0)