Skip to content

Releases: aws/aws-cdk

v0.20.0

13 Dec 10:46
cbeea75
Compare
Choose a tag to compare

Bug Fixes

Features

BREAKING CHANGES

  • assert: the behavior change of haveResource can cause tests to
    fail. If allowing extension of the expected values is the intended behavior, you can
    switch to the haveResourceLike matcher instead, which exposes the previous
    behavior.

v0.19.0

04 Dec 12:41
2625a05
Compare
Choose a tag to compare

Bug Fixes

Features

  • aws-codebuild: allow using docker image assets as build images (#1233) (72413c1), closes #1232 #1219
  • aws-codebuild: rename the Project methods for adding Actions to CodePipeline. (#1254) (825e448), closes #1211
  • aws-ecr: add an ECR Repository source CodePipeline Action. (#1255) (01cc8a2)
  • app-delivery: IAM policy for deploy stack (#1165) (edc9a21), closes #1165 #1151
  • Update to CloudFormation spec v2.16.0 (#1280) (9df5c54)

BREAKING CHANGES

  • aws-codebuild: ecr.RepositoryRef has been replaced by ecr.IRepository, which
    means that RepositoryRef.import is now Repository.import. Futhermore, the CDK
    Toolkit must also be upgraded since the docker asset protocol was modified.
    IRepository.grantUseImage was renamed to IRepository.grantPull.
  • aws-codebuild: addBuildToPipeline was renamed to addToPipeline
    and addTestToPipeline was renamed to addPipelineToTest in order to align
    with naming conventions.
  • CloudFormationCapabilities.IAM renamed to
    CloudFormation.AnonymousIAM and PipelineCloudFormationDeployActionProps.capabilities?: CloudFormationCapabilities[] has been changed to
    PipelineCloudFormationDeployActionProps.capabilities?: CloudFormationCapabilities no longer an array.
    PipelineCloudFormationDeployActionProps.fullPermissions?: has been
    renamed to PipelineCloudFormationDeployActionProps.adminPermissions:
    and is required instead of optional.

v0.18.1

21 Nov 12:59
9f7af21
Compare
Choose a tag to compare

Bug Fixes

v0.18.0

19 Nov 13:43
1c9ccfc
Compare
Choose a tag to compare

Bug Fixes

Features

  • aws-autoscaling: add instance AutoScaling (#1134) (d397dd7), closes #1042 #1113
  • aws-codebuild: add support for additional sources and artifact in Projects. (#1110) (d911b08)
  • aws-ec2: add VPC context provider (#1168) (e8380fa), closes #1095
  • aws-ecs: expose service and target group on the LoadBalancedFargateService (#1175) (e799699)
  • aws-ecs: instance autoscaling and drain hook (#1192) (811462e), closes #1162
  • aws-ecs: Support HTTPS in load balanced Fargate service (#1115) (76a5cc7)
  • aws-ecs: TLS support for Fargate service applet (#1184) (18166ce)
  • update to CloudFormation spec v2.13.0 (#1203) (c531c84)
  • aws-elasticloadbalancingv2: add metrics (#1173) (68d481d), closes #853
  • docs: getting started instructions for csharp (#1185) (2915ac1), closes #696
  • toolkit: add 'cdk context' command (#1169) (2db536e), closes #311
  • toolkit: by default hide AWS::CDK::Metadata from "cdk diff" (#1186) (ef0017a), closes #465
  • toolkit: improve diff user interface (#1187) (9c3c5c7), closes #1121 #1120
  • aws-codepipeline: switch to webhooks instead of polling by default for the GitHub (#1074)

BREAKING CHANGES

  • aws-codebuild: this changes the way CodeBuild Sources are constructed (we moved away from multiple parameters in the constructor, in favor of the more idiomatic property interface).
  • aws-elasticloadbalancingv2: targetGroup.listenerDependency() has been renamed to targetGroup.loadBalancerDependency().

v0.17.0

14 Nov 10:09
fba780f
Compare
Choose a tag to compare

Bug Fixes

  • aws-ecs: remove DockerHub constructor class (#1153) (ed14638)
  • aws-ec2: add dependency on gateway attachment for public routes (#1142) (15b255c), closes #1140
  • s3-deployment: bundle modules correctly (#1154) (0cb1adf)

Features

  • aws-codedeploy: add an addToPipeline method to Deployment Group. (#1166) (bdbeb7c)
  • aws-codepipeline, aws-cloudformation: support cross-region CloudFormation pipeline action (#1152) (8e701ad)
  • toolkit: print available templates when --language is omitted (#1159) (5726c45)

BREAKING CHANGES

  • aws-ec2: Method signature of
    VpcPublicSubnet.addDefaultIGWRouteEntry changed in order to add a
    dependency on gateway attachment completing before creating the public
    route to the gateway. Instead of passing a gateway ID string, pass in a
    cloudformation.InternetGatewayResource object and a
    cloudformation.VPCGatewayAttachmentResource object.
  • If you were using DockerHub.image() to reference docker hub images,
    use ContainerImage.fromDockerHub() instead.

v0.16.0

12 Nov 20:15
fbb091a
Compare
Choose a tag to compare

Bug Fixes

  • aws-elasticloadbalancingv2: listener dependency (#1146) (e9d3d93), closes #1139
  • aws-elasticloadbalancingv2: unhealthy threshold (#1145) (a70a50d)

Features

  • aws-codedeploy: CodeDeploy Pipeline Action using the L2 DeploymentGroup Construct. (#1085) (ce999b6)
  • aws-route53: route53 Alias record support (#1131) (72f0124)
  • cdk: allow Tokens to be encoded as lists (#1144) (cd7947c), closes #744

BREAKING CHANGES

  • aws-codedeploy: this changes the API of the CodeDeploy Pipeline Action
    to take the DeploymentGroup AWS Construct as an argument instead of the names
    of the Application and Deployment Group.

v0.15.2

08 Nov 13:25
570bd9f
Compare
Choose a tag to compare

Bug Fixes

Features

  • aws-ecs: Add desired count to LoadBalanced[Fargate|EC2]Service (#1111) (cafcc11)

v0.15.1

06 Nov 21:36
eac5370
Compare
Choose a tag to compare

Bug Fixes

  • Update peer dependencies to refer to correct version so NPM installs don't fail.
  • Switch back to js-yaml as yaml was emitting unquoted single colons as list elements.

v0.15.0

06 Nov 17:44
fbb2067
Compare
Choose a tag to compare

Bug Fixes

  • aws-autoscaling: allow minSize to be set to 0 (#1015) (67f7fa1)
  • aws-codebuild: correctly pass the timeout property to CFN when creating a Project. (#1071) (b1322bb)
  • aws-codebuild: correctly set S3 path when using it as artifact. (#1072) (f32cba9)
  • aws-kms: add output value when exporting an encryption key (#1036) (cb490be)
  • Switch from js-yaml to yaml (#1092) (0b132b5)

Features

  • don't upload the same asset multiple times (#1011) (35937b6), closes #989
  • app-delivery: CI/CD for CDK Stacks (#1022) (f2fe4e9)
  • add a new construct library for ECS (#1058) (ae03ddb)
  • applets: integrate into toolkit (#1039) (fdabe95), closes #849 #342 #291
  • aws-codecommit: use CloudWatch Events instead of polling by default in the CodePipeline Action. (#1026) (d09d30c)
  • aws-dynamodb: allow specifying partition/sort keys in props (#1054) (ec87331), closes #1051
  • aws-ec2: AmazonLinuxImage supports AL2 (#1081) (97b57a5), closes #1062
  • aws-lambda: high level API for event sources (#1063) (1be3442)
  • aws-sqs: improvements to IAM grants API (#1052) (6f2475e)
  • codepipeline/cfn: Use fewer statements for pipeline permissions (#1009) (8f4c2ab)
  • pkglint: Make sure .snk files are ignored (#1049) (53c8d76), closes #643
  • toolkit: deployment ui improvements (#1067) (c832eaf)
  • Update to CloudFormation resource specification v2.11.0

BREAKING CHANGES

  • The ec2.Connections object has been changed to be able to manage multiple
    security groups. The relevant property has been changed from securityGroup
    to securityGroups (an array of security group objects).
  • aws-codecommit: this modifies the default behavior of the CodeCommit
    Action. It also changes the internal API contract between the
    aws-codepipeline-api module and the CodePipeline Actions in the service
    packages.
  • applets: The applet schema has changed to allow Multiple applets can be
    define in one file by structuring the files like this:
  • applets: The applet schema has changed to allow definition of multiple
    applets in the same file.

The schema now looks like this:

applets:
  MyApplet:
    type: ./my-applet-file
    properties:
      property1: value
      ...

By starting an applet specifier with npm://, applet modules can directly be
referenced in NPM. You can include a version specifier (@1.2.3) to reference
specific versions.

  • aws-sqs: queue.grantReceiveMessages has been removed. It is unlikely
    that this would be sufficient to interact with a queue. Alternatively you can
    use queue.grantConsumeMessages or queue.grant('sqs:ReceiveMessage') if
    there's a need to only grant this action.

v0.14.1

26 Oct 18:13
c87f3ec
Compare
Choose a tag to compare

Bug Fixes

  • aws-cdk: fix bug in SSM Parameter Provider (#1023) (6e6aa1d)