Skip to content

Releases: cythral/lambdajection

v0.9.0-beta1

01 Nov 15:11
d034e6b

Choose a tag to compare

v0.9.0-beta1 Pre-release
Pre-release

Enhancements

  • Request serialization / deserialization is now handled by Lambdajection instead of the serializers provided by Amazon's Runtime Support. This implementation is purely System.Text.Json-based.
  • X-Ray Active Tracing can now be easily enabled by adding a PackageReference to the new Lambdajection.Tracing package.

v0.8.4

17 Jul 00:04
acc1889

Choose a tag to compare

Bug Fixes

  • Fixes an issue where the Runtime package could not be used in conjunction with the CustomResource package.
  • Bumped .NET SDK to 5.0.302

v0.8.3

24 Jun 16:48
09b7732

Choose a tag to compare

Bug Fixes

  • Fixes an issue where templates generated for Lambdas that don't interact with an AWS API would have a role policy with 0 actions, which is not allowed in CloudFormation.
  • Fixes an issue where generation would fail if the project did not have a direct reference to the AWSSDK.
  • Fixes an issue where validations were being applied to old resource properties, which would cause resource creation failures if using the validation attributes.

v0.8.2

16 Jun 00:20
d8b01d7

Choose a tag to compare

Bug Fixes

  • Fixes an issue where the template generator was using "Handle" instead of "Run" as the method name.

v0.8.1

15 Jun 22:09
a51569c

Choose a tag to compare

Bug Fixes

  • Fixed an issue where StyleCop and other analyzers were analyzing generated code and causing a bunch of warnings/errors depending on how you have them configured.
  • Fixed an issue where projects that had a transitive reference to Lambdajection would produce a warning about how the generator would not contribute any sources, along with not being able to find the "Microsoft.Extensions.Hosting" assembly.

v0.8.0

08 Jun 14:34
fa84f77

Choose a tag to compare

Enhancements:

  • Added cancellationToken parameter to IAwsFactory.
  • No longer packaging AWSSDK.Core in the Lambdajection.Generator package - this is restored and resolved from the RestorePackagesPath at build time, along with other generator-specific dependencies.
  • Minimum AWSSDK is now 3.7
  • There is no longer a generator-specific restore, generator dependencies are all restored in the solution-level restore target.
  • The generator attempts to load all matching assemblies one at a time, until one loads successfully. Before, it would only attempt to load one.
  • Lambdajection.Attributes is no longer a reference assembly. To avoid adding it to the runtime assemblies, we are instead setting PrivateAssets="runtime" wherever it is referenced. With that, Lambdajection.Generator is no longer packaging the attributes assembly.

New Features:

  • Adds an IAM Access Analyzer, which will collect the minimum IAM permissions needed for running your lambda or custom resource and output them to a file.
  • Adds CloudFormation template generation! No extra configuration needed, templates will be generated and output to $(OutDir)/{ClassName}.template.yml
    • At the moment, template generation for lambdas using Lambdajection.Runtime and/or Lambdajection.Layer are not supported (this will be added in v0.9.0).
    • Templates are generated on a per-lambda basis. An option to combine all lambdas into one template will be provided in future versions.

Prerelease Links:

https://github.com/cythral/lambdajection/releases/tag/v0.8.0-beta1
https://github.com/cythral/lambdajection/releases/tag/v0.8.0-beta2
https://github.com/cythral/lambdajection/releases/tag/v0.8.0-beta3
https://github.com/cythral/lambdajection/releases/tag/v0.8.0-beta4
https://github.com/cythral/lambdajection/releases/tag/v0.8.0-beta5

v0.8.0-beta5

28 May 14:40
3e7ba72

Choose a tag to compare

v0.8.0-beta5 Pre-release
Pre-release
  • This preview introduces CloudFormation template generation! No extra configuration needed, templates will be generated and output to $(OutDir)/{ClassName}.template.yml
    • At the moment, template generation for lambdas using Lambdajection.Runtime and/or Lambdajection.Layer are not supported (this will be added in v0.9.0).
    • Templates are generated on a per-lambda basis. An option to combine all lambdas into one template will be provided in future versions.
  • IAM permissions are now generated on a per-lambda basis. Permission files go in $(IntermediateOutputPath)/{ClassName}.iam.txt

v0.8.0-beta4

29 Apr 16:56
90340ba

Choose a tag to compare

v0.8.0-beta4 Pre-release
Pre-release
  • Adds an IAM Access Analyzer, which will collect the minimum IAM permissions needed for running your lambda or custom resource and output them to a file. By default, this file is located at $(IntermediateOutputPath)IamPermissions.txt, but can be customized via the $(LambdajectionIamPermissionsOutputPath) property.
  • Fixed an issue where compilation would sometimes fail for custom resources with an error like 'Could not load file Microsoft.Extensions.Hosting'.

v0.8.0-beta3

01 Apr 20:59
aaae87b

Choose a tag to compare

v0.8.0-beta3 Pre-release
Pre-release

This includes a hotfix for v0.8.0-beta2: An earlier version of the AWS SDK was being restored, which did not bring in Microsoft.Bcl.AsyncInterfaces 5.0.0. The restore and assembly load process for the generator has also been simplified further:

  • There is no longer a generator-specific restore, generator dependencies are all restored in the solution-level restore target.
  • The generator attempts to load all matching assemblies one at a time, until one loads successfully. Before, it would only attempt to load one.
  • Lambdajection.Attributes is no longer a reference assembly. To avoid adding it to the runtime assemblies, we are instead setting PrivateAssets="runtime" wherever it is referenced. With that, Lambdajection.Generator is no longer packaging the attributes assembly.

v0.8.0-beta2

01 Apr 04:19
129be37

Choose a tag to compare

v0.8.0-beta2 Pre-release
Pre-release

This release includes a cumulative AWS SDK update to 3.7.