Skip to content

Commit d1e0b00

Browse files
Merge pull request #18 from localstack-dotnet/v1.3.1
V1.3.1
2 parents a20eaea + 5603a79 commit d1e0b00

File tree

26 files changed

+342
-219
lines changed

26 files changed

+342
-219
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# LocalStack .NET Client Change Log
2+
3+
### [v1.3.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.1)
4+
5+
#### 1. New Features
6+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.35 have been added.
7+
- Route53Resolver
8+
- KinesisAnalyticsV2
9+
- OpenSearch
10+
- Amazon Managed Workflows for Apache Airflow (MWAA)
11+
12+
#### 2. General
13+
- Tested against LocalStack v0.14.2 container.
14+
- AWSSDK.Core set to 3.7.9 as the minimum version.
15+
- AWSSDK.Extensions.NETCore.Setup set to 3.7.2 as the minimum version.
16+
17+
18+
### [v1.3.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.0)
19+
20+
#### 1. New Features
21+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.27 have been added.
22+
- SESv2
23+
- EventBridge ([#14](https://github.com/localstack-dotnet/localstack-dotnet-client/pull/14))
24+
- Tested against LocalStack v0.13.0 container.
25+
#### 2. Enhancements
26+
- `useServiceUrl` parameter added to change client connection behavior. See [useServiceUrl Parameter](#useserviceurl)
27+
- Readme and SourceLink added to Nuget packages
28+
#### 3. Bug Fixes
29+
- Session::RegionName configuration does not honor while creating AWS client ([#15](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/15))
30+
31+
Thanks to [petertownsend](https://github.com/petertownsend) for his contribution
32+
33+
### [v1.2.3](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.3)
34+
35+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.25 have been added.
36+
- Config Service
37+
- .NET 6.0 support added.
38+
- AWSSDK.Core set to 3.7.3.15 as the minimum version.
39+
- AWSSDK.Extensions.NETCore.Setup set to 3.7.1 as the minimum version.
40+
- Tested against LocalStack v0.13.0 container.
41+
42+
### [v1.2.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.2)
43+
44+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.22 have been added.
45+
- EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session
46+
- AWSSDK.Core set to 3.7.1 as the minimum version.
47+
- Tested against LocalStack v0.12.16 container.
48+
49+
### [v1.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.0)
50+
51+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.20 have been added.
52+
- IoTAnalytics, IoT Events, IoT Events Data, IoT Wireless, IoT Data Plane, IoT Jobs Data Plane, Support, Neptune, DocDB, ServiceDiscovery, ServerlessApplicationRepository, AppConfig, Cost Explorer, MediaConvert, Resource Groups Tagging API, Resource Groups
53+
- AWSSDK.Core set to 3.7.0 as the minimum version.
54+
- Obsolete methods removed.
55+
- New alternate AddAWSServiceLocalStack method added to prevent mix up with AddAWSService (for LocalStack.Client.Extension v1.1.0).
56+
- Tested against LocalStack v0.12.10 container.
57+
58+
### [v1.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.1.0)
59+
60+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.10 have been added.
61+
- Transfer, ACM, CodeCommit, Kinesis Analytics, Amplify, Application Auto Scaling, Kafka, Timestream Query, Timestream Write, Timestream Write, S3 Control, Elastic Load Balancing v2, Redshift Data
62+
- .NET 5.0 support added.
63+
- AWSSDK.Core set to 3.5.0 as the minimum version.
64+
- Tested against LocalStack v0.12.07 container.
65+
66+
### [v1.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.0.0)
67+
68+
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v0.23 have been added.
69+
- ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, Api Gateway V2, RdsData, SageMaker, SageMakerRuntime, Ecr, Qldb
70+
- .netcore2.2 support removed since Microsoft depracated it. .netcore3.1 support added.
71+
- AWSSDK.Core set to 3.3.106.5 as the minimum version.
72+
73+
### [v0.8.0.163](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v0.8.0.163)
74+
75+
- First release.

README.md

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -440,64 +440,7 @@ Linux
440440

441441
## <a name="changelog"></a> Changelog
442442

443-
### [v1.3.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.0)
444-
445-
#### 1. New Features
446-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.27 have been added.
447-
- SESv2
448-
- EventBridge ([#14](https://github.com/localstack-dotnet/localstack-dotnet-client/pull/14))
449-
- Tested against LocalStack v0.13.0 container.
450-
#### 2. Enhancements
451-
- `useServiceUrl` parameter added to change client connection behavior. See [useServiceUrl Parameter](#useserviceurl)
452-
- Readme and SourceLink added to Nuget packages
453-
#### 3. Bug Fixes
454-
- Session::RegionName configuration does not honor while creating AWS client ([#15](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/15))
455-
456-
Thanks to [petertownsend](https://github.com/petertownsend) for his contribution
457-
458-
### [v1.2.3](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.3)
459-
460-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.25 have been added.
461-
- Config Service
462-
- .NET 6.0 support added.
463-
- AWSSDK.Core set to 3.7.3.15 as the minimum version.
464-
- AWSSDK.Extensions.NETCore.Setup set to 3.7.1 as the minimum version.
465-
- Tested against LocalStack v0.13.0 container.
466-
467-
### [v1.2.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.2)
468-
469-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.22 have been added.
470-
- EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session
471-
- AWSSDK.Core set to 3.7.1 as the minimum version.
472-
- Tested against LocalStack v0.12.16 container.
473-
474-
### [v1.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.0)
475-
476-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.20 have been added.
477-
- IoTAnalytics, IoT Events, IoT Events Data, IoT Wireless, IoT Data Plane, IoT Jobs Data Plane, Support, Neptune, DocDB, ServiceDiscovery, ServerlessApplicationRepository, AppConfig, Cost Explorer, MediaConvert, Resource Groups Tagging API, Resource Groups
478-
- AWSSDK.Core set to 3.7.0 as the minimum version.
479-
- Obsolete methods removed.
480-
- New alternate AddAWSServiceLocalStack method added to prevent mix up with AddAWSService (for LocalStack.Client.Extension v1.1.0).
481-
- Tested against LocalStack v0.12.10 container.
482-
483-
### [v1.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.1.0)
484-
485-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.10 have been added.
486-
- Transfer, ACM, CodeCommit, Kinesis Analytics, Amplify, Application Auto Scaling, Kafka, Timestream Query, Timestream Write, Timestream Write, S3 Control, Elastic Load Balancing v2, Redshift Data
487-
- .NET 5.0 support added.
488-
- AWSSDK.Core set to 3.5.0 as the minimum version.
489-
- Tested against LocalStack v0.12.07 container.
490-
491-
### [v1.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.0.0)
492-
493-
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v0.23 have been added.
494-
- ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, Api Gateway V2, RdsData, SageMaker, SageMakerRuntime, Ecr, Qldb
495-
- .netcore2.2 support removed since Microsoft depracated it. .netcore3.1 support added.
496-
- AWSSDK.Core set to 3.3.106.5 as the minimum version.
497-
498-
### [v0.8.0.163](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v0.8.0.163)
499-
500-
- First release.
443+
Please refer to [`CHANGELOG.md`](CHANGELOG.md) to see the complete list of changes for each release.
501444

502445
## <a name="license"></a> License
503446

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
global using System;
2-
global using System.IO;
3-
global using System.Collections.Generic;
4-
global using System.Collections.Immutable;
5-
global using System.Linq;
6-
global using System.Text;
7-
global using System.Text.RegularExpressions;
8-
9-
global using Cake.Common;
1+
global using Cake.Common;
2+
global using Cake.Common.Diagnostics;
103
global using Cake.Common.IO;
114
global using Cake.Common.IO.Paths;
12-
global using Cake.Common.Tools.NuGet;
13-
global using Cake.Common.Tools.NuGet.Install;
14-
global using Cake.Common.Diagnostics;
15-
global using Cake.Common.Tools.DotNetCore.NuGet.Push;
5+
global using Cake.Common.Tools.DotNet.MSBuild;
166
global using Cake.Common.Tools.DotNetCore;
177
global using Cake.Common.Tools.DotNetCore.Build;
188
global using Cake.Common.Tools.DotNetCore.MSBuild;
9+
global using Cake.Common.Tools.DotNetCore.NuGet.Push;
1910
global using Cake.Common.Tools.DotNetCore.Pack;
2011
global using Cake.Common.Tools.DotNetCore.Test;
12+
global using Cake.Common.Tools.NuGet;
13+
global using Cake.Common.Tools.NuGet.Install;
2114
global using Cake.Common.Tools.NuGet.List;
2215
global using Cake.Core;
2316
global using Cake.Core.IO;
17+
global using Cake.Docker;
2418
global using Cake.Frosting;
2519

2620
global using LocalStack.Build;
27-
global using LocalStack.Build.Models;
21+
global using LocalStack.Build.Models;
22+
23+
global using System;
24+
global using System.Collections.Generic;
25+
global using System.Collections.Immutable;
26+
global using System.IO;
27+
global using System.Linq;
28+
global using System.Text;
29+
global using System.Text.RegularExpressions;

build/LocalStack.Build/LocalStack.Build.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<NoWarn>CA1303</NoWarn>
88
</PropertyGroup>
99
<ItemGroup>
10-
<PackageReference Include="Cake.Docker" Version="1.0.0" />
11-
<PackageReference Include="Cake.Frosting" Version="1.3.0" />
10+
<PackageReference Include="Cake.Docker" Version="1.1.2" />
11+
<PackageReference Include="Cake.Frosting" Version="2.2.0" />
1212
</ItemGroup>
1313
</Project>

build/LocalStack.Build/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Cake.Docker;
2-
3-
return new CakeHost()
1+
return new CakeHost()
42
.UseContext<BuildContext>()
53
.Run(args);
64

build/scripts/packageUpdate.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$regex = 'PackageReference Include="([^"]*)" Version="([^"]*)"'
2+
3+
ForEach ($file in get-childitem . -recurse | where {$_.extension -like "*proj"})
4+
{
5+
$packages = Get-Content $file.FullName |
6+
select-string -pattern $regex -AllMatches |
7+
ForEach-Object {$_.Matches} |
8+
ForEach-Object {$_.Groups[1].Value.ToString()}|
9+
sort -Unique
10+
11+
ForEach ($package in $packages)
12+
{
13+
write-host "Update $file package :$package" -foreground 'magenta'
14+
$fullName = $file.FullName
15+
iex "dotnet add $fullName package $package"
16+
}
17+
}

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<Owners>LocalStack.NET</Owners>
66
<PackageProjectUrl>https://github.com/localstack-dotnet/localstack-dotnet-client</PackageProjectUrl>
77
<PackageIcon>localstack-dotnet-square.png</PackageIcon>
8-
<Version>1.3</Version>
8+
<Version>1.3.1</Version>
99
</PropertyGroup>
1010
</Project>

src/LocalStack.Client.Extensions/LocalStack.Client.Extensions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyName>LocalStack.Client.Extensions</AssemblyName>
77
<RootNamespace>LocalStack.Client.Extensions</RootNamespace>
88
<LangVersion>latest</LangVersion>
9-
<Version>1.1.2</Version>
9+
<Version>1.1.3</Version>
1010

1111
<Title>LocalStack.NET Client</Title>
1212
<Description>
@@ -25,7 +25,7 @@
2525
</PropertyGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.1" />
28+
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.2" />
2929
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
3030

3131
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0" />

src/LocalStack.Client.Extensions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ ServiceProvider serviceProvider = collection.BuildServiceProvider();
394394
var amazonS3Client = serviceProvider.GetRequiredService<IAmazonS3>();
395395
```
396396

397-
See [useServiceUrl] parameter usage (#standalone-useserviceurl)
397+
See [useServiceUrl](#standalone-useserviceurl) parameter usage.
398398

399399
## <a name="developing"></a> Developing
400400

src/LocalStack.Client/Enums/AwsServiceEndpointMetadata.cs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class AwsServiceEndpointMetadata
1111
public static readonly AwsServiceEndpointMetadata DynamoDb = new("DynamoDB", "dynamodb", CommonEndpointPattern, 4569, AwsServiceEnum.DynamoDb);
1212
public static readonly AwsServiceEndpointMetadata DynamoDbStreams = new("DynamoDB Streams", "dynamodbstreams", CommonEndpointPattern, 4570, AwsServiceEnum.DynamoDbStreams);
1313
public static readonly AwsServiceEndpointMetadata ElasticSearch = new("Elasticsearch Service", "elasticsearch", CommonEndpointPattern, 4571, AwsServiceEnum.ElasticSearch);
14+
public static readonly AwsServiceEndpointMetadata OpenSearch = new("OpenSearch", "opensearch", CommonEndpointPattern, 4571, AwsServiceEnum.OpenSearch);
1415
public static readonly AwsServiceEndpointMetadata S3 = new("S3", "s3", CommonEndpointPattern, 4572, AwsServiceEnum.S3);
1516
public static readonly AwsServiceEndpointMetadata Firehose = new("Firehose", "firehose", CommonEndpointPattern, 4573, AwsServiceEnum.Firehose);
1617
public static readonly AwsServiceEndpointMetadata Lambda = new("Lambda", "lambda", CommonEndpointPattern, 4574, AwsServiceEnum.Lambda);
@@ -22,6 +23,7 @@ public class AwsServiceEndpointMetadata
2223
public static readonly AwsServiceEndpointMetadata Ses = new("SES", "ses", CommonEndpointPattern, 4579, AwsServiceEnum.Ses);
2324
public static readonly AwsServiceEndpointMetadata Sesv2 = new("SESv2", "sesv2", CommonEndpointPattern, 4579, AwsServiceEnum.Sesv2);
2425
public static readonly AwsServiceEndpointMetadata Route53 = new("Route 53", "route53", CommonEndpointPattern, 4580, AwsServiceEnum.Route53);
26+
public static readonly AwsServiceEndpointMetadata Route53Resolver = new("Route53Resolver", "route53resolver", CommonEndpointPattern, 4580, AwsServiceEnum.Route53Resolver);
2527
public static readonly AwsServiceEndpointMetadata CloudFormation = new("CloudFormation", "cloudformation", CommonEndpointPattern, 4581, AwsServiceEnum.CloudFormation);
2628
public static readonly AwsServiceEndpointMetadata CloudWatch = new("CloudWatch", "cloudwatch", CommonEndpointPattern, 4582, AwsServiceEnum.CloudWatch);
2729
public static readonly AwsServiceEndpointMetadata Ssm = new("SSM", "ssm", CommonEndpointPattern, 4583, AwsServiceEnum.Ssm);
@@ -73,6 +75,7 @@ public class AwsServiceEndpointMetadata
7375
public static readonly AwsServiceEndpointMetadata Acm = new("ACM", "acm", CommonEndpointPattern, 4619, AwsServiceEnum.Acm);
7476
public static readonly AwsServiceEndpointMetadata CodeCommit = new("CodeCommit", "codecommit", CommonEndpointPattern, 4620, AwsServiceEnum.CodeCommit);
7577
public static readonly AwsServiceEndpointMetadata KinesisAnalytics = new("Kinesis Analytics", "kinesisanalytics", CommonEndpointPattern, 4621, AwsServiceEnum.KinesisAnalytics);
78+
public static readonly AwsServiceEndpointMetadata KinesisAnalyticsV2 = new("Kinesis Analytics V2", "kinesisanalyticsv2", CommonEndpointPattern, 4621, AwsServiceEnum.KinesisAnalyticsV2);
7679
public static readonly AwsServiceEndpointMetadata Amplify = new("Amplify", "amplify", CommonEndpointPattern, 4622, AwsServiceEnum.Amplify);
7780
public static readonly AwsServiceEndpointMetadata ApplicationAutoscaling = new("Application Auto Scaling", "application-autoscaling", CommonEndpointPattern, 4623, AwsServiceEnum.ApplicationAutoscaling);
7881
public static readonly AwsServiceEndpointMetadata Kafka = new("Kafka", "kafka", CommonEndpointPattern, 4624, AwsServiceEnum.Kafka);
@@ -97,17 +100,18 @@ public class AwsServiceEndpointMetadata
97100
public static readonly AwsServiceEndpointMetadata Waf = new("WAF", "waf", CommonEndpointPattern, 4640, AwsServiceEnum.Waf);
98101
public static readonly AwsServiceEndpointMetadata WafV2 = new("WAFV2", "wafv2", CommonEndpointPattern, 4640, AwsServiceEnum.WafV2);
99102
public static readonly AwsServiceEndpointMetadata ConfigService = new("Config Service", "config", CommonEndpointPattern, 4641, AwsServiceEnum.ConfigService);
103+
public static readonly AwsServiceEndpointMetadata Mwaa = new("MWAA", "mwaa", CommonEndpointPattern, 4642, AwsServiceEnum.Mwaa);
100104
public static readonly AwsServiceEndpointMetadata EventBridge = new("EventBridge", "eventbridge", CommonEndpointPattern, 4587, AwsServiceEnum.EventBridge);
101105

102106

103107
public static readonly AwsServiceEndpointMetadata[] All =
104108
{
105-
ApiGateway, ApiGatewayV2, Kinesis, DynamoDb, DynamoDbStreams, ElasticSearch, S3, Firehose, Lambda, Sns, Sqs, Redshift, RedshiftData, Es, Ses, Sesv2, Route53, CloudFormation, CloudWatch,
106-
Ssm, SecretsManager, StepFunctions, Logs, Events, Elb, Iot, IoTAnalytics, IoTEvents, IoTEventsData, IoTWireless, IoTDataPlane, IoTJobsDataPlane, CognitoIdp, CognitoIdentity, Sts,
109+
ApiGateway, ApiGatewayV2, Kinesis, DynamoDb, DynamoDbStreams, ElasticSearch, OpenSearch, S3, Firehose, Lambda, Sns, Sqs, Redshift, RedshiftData, Es, Ses, Sesv2, Route53, Route53Resolver, CloudFormation,
110+
CloudWatch, Ssm, SecretsManager, StepFunctions, Logs, Events, Elb, Iot, IoTAnalytics, IoTEvents, IoTEventsData, IoTWireless, IoTDataPlane, IoTJobsDataPlane, CognitoIdp, CognitoIdentity, Sts,
107111
Iam, Rds, RdsData, CloudSearch, Swf, Ec2, ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, SageMaker, SageMakerRuntime, Ecr, Qldb, QldbSession,
108-
CloudTrail, Glacier, Batch, Organizations, AutoScaling, MediaStore, MediaStoreData, Transfer, Acm, CodeCommit, KinesisAnalytics, Amplify, ApplicationAutoscaling, Kafka, ApiGatewayManagementApi,
112+
CloudTrail, Glacier, Batch, Organizations, AutoScaling, MediaStore, MediaStoreData, Transfer, Acm, CodeCommit, KinesisAnalytics, KinesisAnalyticsV2, Amplify, ApplicationAutoscaling, Kafka, ApiGatewayManagementApi,
109113
TimeStreamQuery, TimeStreamWrite, S3Control, ElbV2, Support, Neptune, DocDb, ServiceDiscovery, ServerlessApplicationRepository, AppConfig, CostExplorer, MediaConvert, ResourceGroupsTaggingApi,
110-
ResourceGroups, Efs, Backup, LakeFormation, Waf, WafV2, ConfigService, EventBridge
114+
ResourceGroups, Efs, Backup, LakeFormation, Waf, WafV2, ConfigService, Mwaa, EventBridge
111115
};
112116

113117
private AwsServiceEndpointMetadata()

0 commit comments

Comments
 (0)