Skip to content

Commit

Permalink
Merge pull request #18 from localstack-dotnet/v1.3.1
Browse files Browse the repository at this point in the history
V1.3.1
  • Loading branch information
Blind-Striker authored Apr 20, 2022
2 parents a20eaea + 5603a79 commit d1e0b00
Show file tree
Hide file tree
Showing 26 changed files with 342 additions and 219 deletions.
75 changes: 75 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# LocalStack .NET Client Change Log

### [v1.3.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.1)

#### 1. New Features
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.35 have been added.
- Route53Resolver
- KinesisAnalyticsV2
- OpenSearch
- Amazon Managed Workflows for Apache Airflow (MWAA)

#### 2. General
- Tested against LocalStack v0.14.2 container.
- AWSSDK.Core set to 3.7.9 as the minimum version.
- AWSSDK.Extensions.NETCore.Setup set to 3.7.2 as the minimum version.


### [v1.3.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.0)

#### 1. New Features
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.27 have been added.
- SESv2
- EventBridge ([#14](https://github.com/localstack-dotnet/localstack-dotnet-client/pull/14))
- Tested against LocalStack v0.13.0 container.
#### 2. Enhancements
- `useServiceUrl` parameter added to change client connection behavior. See [useServiceUrl Parameter](#useserviceurl)
- Readme and SourceLink added to Nuget packages
#### 3. Bug Fixes
- Session::RegionName configuration does not honor while creating AWS client ([#15](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/15))

Thanks to [petertownsend](https://github.com/petertownsend) for his contribution

### [v1.2.3](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.3)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.25 have been added.
- Config Service
- .NET 6.0 support added.
- AWSSDK.Core set to 3.7.3.15 as the minimum version.
- AWSSDK.Extensions.NETCore.Setup set to 3.7.1 as the minimum version.
- Tested against LocalStack v0.13.0 container.

### [v1.2.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.2)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.22 have been added.
- EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session
- AWSSDK.Core set to 3.7.1 as the minimum version.
- Tested against LocalStack v0.12.16 container.

### [v1.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.20 have been added.
- 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
- AWSSDK.Core set to 3.7.0 as the minimum version.
- Obsolete methods removed.
- New alternate AddAWSServiceLocalStack method added to prevent mix up with AddAWSService (for LocalStack.Client.Extension v1.1.0).
- Tested against LocalStack v0.12.10 container.

### [v1.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.1.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.10 have been added.
- Transfer, ACM, CodeCommit, Kinesis Analytics, Amplify, Application Auto Scaling, Kafka, Timestream Query, Timestream Write, Timestream Write, S3 Control, Elastic Load Balancing v2, Redshift Data
- .NET 5.0 support added.
- AWSSDK.Core set to 3.5.0 as the minimum version.
- Tested against LocalStack v0.12.07 container.

### [v1.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.0.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v0.23 have been added.
- ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, Api Gateway V2, RdsData, SageMaker, SageMakerRuntime, Ecr, Qldb
- .netcore2.2 support removed since Microsoft depracated it. .netcore3.1 support added.
- AWSSDK.Core set to 3.3.106.5 as the minimum version.

### [v0.8.0.163](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v0.8.0.163)

- First release.
59 changes: 1 addition & 58 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,64 +440,7 @@ Linux

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

### [v1.3.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.3.0)

#### 1. New Features
- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.27 have been added.
- SESv2
- EventBridge ([#14](https://github.com/localstack-dotnet/localstack-dotnet-client/pull/14))
- Tested against LocalStack v0.13.0 container.
#### 2. Enhancements
- `useServiceUrl` parameter added to change client connection behavior. See [useServiceUrl Parameter](#useserviceurl)
- Readme and SourceLink added to Nuget packages
#### 3. Bug Fixes
- Session::RegionName configuration does not honor while creating AWS client ([#15](https://github.com/localstack-dotnet/localstack-dotnet-client/issues/15))

Thanks to [petertownsend](https://github.com/petertownsend) for his contribution

### [v1.2.3](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.3)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.25 have been added.
- Config Service
- .NET 6.0 support added.
- AWSSDK.Core set to 3.7.3.15 as the minimum version.
- AWSSDK.Extensions.NETCore.Setup set to 3.7.1 as the minimum version.
- Tested against LocalStack v0.13.0 container.

### [v1.2.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.2)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.22 have been added.
- EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session
- AWSSDK.Core set to 3.7.1 as the minimum version.
- Tested against LocalStack v0.12.16 container.

### [v1.2](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.2.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.20 have been added.
- 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
- AWSSDK.Core set to 3.7.0 as the minimum version.
- Obsolete methods removed.
- New alternate AddAWSServiceLocalStack method added to prevent mix up with AddAWSService (for LocalStack.Client.Extension v1.1.0).
- Tested against LocalStack v0.12.10 container.

### [v1.1](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.1.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v1.10 have been added.
- Transfer, ACM, CodeCommit, Kinesis Analytics, Amplify, Application Auto Scaling, Kafka, Timestream Query, Timestream Write, Timestream Write, S3 Control, Elastic Load Balancing v2, Redshift Data
- .NET 5.0 support added.
- AWSSDK.Core set to 3.5.0 as the minimum version.
- Tested against LocalStack v0.12.07 container.

### [v1.0](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v1.0.0)

- New endpoints in the official [Localstack Python Client](https://github.com/localstack/localstack-python-client) v0.23 have been added.
- ElastiCache, Kms, Emr, Ecs, Eks, XRay, ElasticBeanstalk, AppSync, CloudFront, Athena, Glue, Api Gateway V2, RdsData, SageMaker, SageMakerRuntime, Ecr, Qldb
- .netcore2.2 support removed since Microsoft depracated it. .netcore3.1 support added.
- AWSSDK.Core set to 3.3.106.5 as the minimum version.

### [v0.8.0.163](https://github.com/localstack-dotnet/localstack-dotnet-client/releases/tag/v0.8.0.163)

- First release.
Please refer to [`CHANGELOG.md`](CHANGELOG.md) to see the complete list of changes for each release.

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

Expand Down
30 changes: 16 additions & 14 deletions build/LocalStack.Build/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
global using System;
global using System.IO;
global using System.Collections.Generic;
global using System.Collections.Immutable;
global using System.Linq;
global using System.Text;
global using System.Text.RegularExpressions;

global using Cake.Common;
global using Cake.Common;
global using Cake.Common.Diagnostics;
global using Cake.Common.IO;
global using Cake.Common.IO.Paths;
global using Cake.Common.Tools.NuGet;
global using Cake.Common.Tools.NuGet.Install;
global using Cake.Common.Diagnostics;
global using Cake.Common.Tools.DotNetCore.NuGet.Push;
global using Cake.Common.Tools.DotNet.MSBuild;
global using Cake.Common.Tools.DotNetCore;
global using Cake.Common.Tools.DotNetCore.Build;
global using Cake.Common.Tools.DotNetCore.MSBuild;
global using Cake.Common.Tools.DotNetCore.NuGet.Push;
global using Cake.Common.Tools.DotNetCore.Pack;
global using Cake.Common.Tools.DotNetCore.Test;
global using Cake.Common.Tools.NuGet;
global using Cake.Common.Tools.NuGet.Install;
global using Cake.Common.Tools.NuGet.List;
global using Cake.Core;
global using Cake.Core.IO;
global using Cake.Docker;
global using Cake.Frosting;

global using LocalStack.Build;
global using LocalStack.Build.Models;
global using LocalStack.Build.Models;

global using System;
global using System.Collections.Generic;
global using System.Collections.Immutable;
global using System.IO;
global using System.Linq;
global using System.Text;
global using System.Text.RegularExpressions;
4 changes: 2 additions & 2 deletions build/LocalStack.Build/LocalStack.Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<NoWarn>CA1303</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cake.Docker" Version="1.0.0" />
<PackageReference Include="Cake.Frosting" Version="1.3.0" />
<PackageReference Include="Cake.Docker" Version="1.1.2" />
<PackageReference Include="Cake.Frosting" Version="2.2.0" />
</ItemGroup>
</Project>
4 changes: 1 addition & 3 deletions build/LocalStack.Build/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Cake.Docker;

return new CakeHost()
return new CakeHost()
.UseContext<BuildContext>()
.Run(args);

Expand Down
17 changes: 17 additions & 0 deletions build/scripts/packageUpdate.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$regex = 'PackageReference Include="([^"]*)" Version="([^"]*)"'

ForEach ($file in get-childitem . -recurse | where {$_.extension -like "*proj"})
{
$packages = Get-Content $file.FullName |
select-string -pattern $regex -AllMatches |
ForEach-Object {$_.Matches} |
ForEach-Object {$_.Groups[1].Value.ToString()}|
sort -Unique

ForEach ($package in $packages)
{
write-host "Update $file package :$package" -foreground 'magenta'
$fullName = $file.FullName
iex "dotnet add $fullName package $package"
}
}
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<Owners>LocalStack.NET</Owners>
<PackageProjectUrl>https://github.com/localstack-dotnet/localstack-dotnet-client</PackageProjectUrl>
<PackageIcon>localstack-dotnet-square.png</PackageIcon>
<Version>1.3</Version>
<Version>1.3.1</Version>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AssemblyName>LocalStack.Client.Extensions</AssemblyName>
<RootNamespace>LocalStack.Client.Extensions</RootNamespace>
<LangVersion>latest</LangVersion>
<Version>1.1.2</Version>
<Version>1.1.3</Version>

<Title>LocalStack.NET Client</Title>
<Description>
Expand All @@ -25,7 +25,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.1" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />

<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/LocalStack.Client.Extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ ServiceProvider serviceProvider = collection.BuildServiceProvider();
var amazonS3Client = serviceProvider.GetRequiredService<IAmazonS3>();
```

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

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

Expand Down
12 changes: 8 additions & 4 deletions src/LocalStack.Client/Enums/AwsServiceEndpointMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class AwsServiceEndpointMetadata
public static readonly AwsServiceEndpointMetadata DynamoDb = new("DynamoDB", "dynamodb", CommonEndpointPattern, 4569, AwsServiceEnum.DynamoDb);
public static readonly AwsServiceEndpointMetadata DynamoDbStreams = new("DynamoDB Streams", "dynamodbstreams", CommonEndpointPattern, 4570, AwsServiceEnum.DynamoDbStreams);
public static readonly AwsServiceEndpointMetadata ElasticSearch = new("Elasticsearch Service", "elasticsearch", CommonEndpointPattern, 4571, AwsServiceEnum.ElasticSearch);
public static readonly AwsServiceEndpointMetadata OpenSearch = new("OpenSearch", "opensearch", CommonEndpointPattern, 4571, AwsServiceEnum.OpenSearch);
public static readonly AwsServiceEndpointMetadata S3 = new("S3", "s3", CommonEndpointPattern, 4572, AwsServiceEnum.S3);
public static readonly AwsServiceEndpointMetadata Firehose = new("Firehose", "firehose", CommonEndpointPattern, 4573, AwsServiceEnum.Firehose);
public static readonly AwsServiceEndpointMetadata Lambda = new("Lambda", "lambda", CommonEndpointPattern, 4574, AwsServiceEnum.Lambda);
Expand All @@ -22,6 +23,7 @@ public class AwsServiceEndpointMetadata
public static readonly AwsServiceEndpointMetadata Ses = new("SES", "ses", CommonEndpointPattern, 4579, AwsServiceEnum.Ses);
public static readonly AwsServiceEndpointMetadata Sesv2 = new("SESv2", "sesv2", CommonEndpointPattern, 4579, AwsServiceEnum.Sesv2);
public static readonly AwsServiceEndpointMetadata Route53 = new("Route 53", "route53", CommonEndpointPattern, 4580, AwsServiceEnum.Route53);
public static readonly AwsServiceEndpointMetadata Route53Resolver = new("Route53Resolver", "route53resolver", CommonEndpointPattern, 4580, AwsServiceEnum.Route53Resolver);
public static readonly AwsServiceEndpointMetadata CloudFormation = new("CloudFormation", "cloudformation", CommonEndpointPattern, 4581, AwsServiceEnum.CloudFormation);
public static readonly AwsServiceEndpointMetadata CloudWatch = new("CloudWatch", "cloudwatch", CommonEndpointPattern, 4582, AwsServiceEnum.CloudWatch);
public static readonly AwsServiceEndpointMetadata Ssm = new("SSM", "ssm", CommonEndpointPattern, 4583, AwsServiceEnum.Ssm);
Expand Down Expand Up @@ -73,6 +75,7 @@ public class AwsServiceEndpointMetadata
public static readonly AwsServiceEndpointMetadata Acm = new("ACM", "acm", CommonEndpointPattern, 4619, AwsServiceEnum.Acm);
public static readonly AwsServiceEndpointMetadata CodeCommit = new("CodeCommit", "codecommit", CommonEndpointPattern, 4620, AwsServiceEnum.CodeCommit);
public static readonly AwsServiceEndpointMetadata KinesisAnalytics = new("Kinesis Analytics", "kinesisanalytics", CommonEndpointPattern, 4621, AwsServiceEnum.KinesisAnalytics);
public static readonly AwsServiceEndpointMetadata KinesisAnalyticsV2 = new("Kinesis Analytics V2", "kinesisanalyticsv2", CommonEndpointPattern, 4621, AwsServiceEnum.KinesisAnalyticsV2);
public static readonly AwsServiceEndpointMetadata Amplify = new("Amplify", "amplify", CommonEndpointPattern, 4622, AwsServiceEnum.Amplify);
public static readonly AwsServiceEndpointMetadata ApplicationAutoscaling = new("Application Auto Scaling", "application-autoscaling", CommonEndpointPattern, 4623, AwsServiceEnum.ApplicationAutoscaling);
public static readonly AwsServiceEndpointMetadata Kafka = new("Kafka", "kafka", CommonEndpointPattern, 4624, AwsServiceEnum.Kafka);
Expand All @@ -97,17 +100,18 @@ public class AwsServiceEndpointMetadata
public static readonly AwsServiceEndpointMetadata Waf = new("WAF", "waf", CommonEndpointPattern, 4640, AwsServiceEnum.Waf);
public static readonly AwsServiceEndpointMetadata WafV2 = new("WAFV2", "wafv2", CommonEndpointPattern, 4640, AwsServiceEnum.WafV2);
public static readonly AwsServiceEndpointMetadata ConfigService = new("Config Service", "config", CommonEndpointPattern, 4641, AwsServiceEnum.ConfigService);
public static readonly AwsServiceEndpointMetadata Mwaa = new("MWAA", "mwaa", CommonEndpointPattern, 4642, AwsServiceEnum.Mwaa);
public static readonly AwsServiceEndpointMetadata EventBridge = new("EventBridge", "eventbridge", CommonEndpointPattern, 4587, AwsServiceEnum.EventBridge);


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

private AwsServiceEndpointMetadata()
Expand Down
4 changes: 4 additions & 0 deletions src/LocalStack.Client/Enums/AwsServiceEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public enum AwsServiceEnum
DynamoDb,
DynamoDbStreams,
ElasticSearch,
OpenSearch,
S3,
Firehose,
Lambda,
Expand All @@ -19,6 +20,7 @@ public enum AwsServiceEnum
Ses,
Sesv2,
Route53,
Route53Resolver,
CloudFormation,
CloudWatch,
Ssm,
Expand Down Expand Up @@ -70,6 +72,7 @@ public enum AwsServiceEnum
Acm,
CodeCommit,
KinesisAnalytics,
KinesisAnalyticsV2,
Amplify,
ApplicationAutoscaling,
Kafka,
Expand All @@ -94,5 +97,6 @@ public enum AwsServiceEnum
Waf,
WafV2,
ConfigService,
Mwaa,
EventBridge
}
2 changes: 1 addition & 1 deletion src/LocalStack.Client/LocalStack.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.Core" Version="3.7.3.15" />
<PackageReference Include="AWSSDK.Core" Version="3.7.9" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/LocalStack.Client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ ServiceProvider serviceProvider = collection.BuildServiceProvider();
var amazonS3Client = serviceProvider.GetRequiredService<IAmazonS3>();
```

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

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

Expand Down
Loading

0 comments on commit d1e0b00

Please sign in to comment.