Skip to content

Releases: aws/aws-cdk

v1.4.0

14 Aug 08:17
Compare
Choose a tag to compare

Bug Fixes

  • acm: validated certificate survives eventual consistency in service (#3528) (e7eabca), closes #3527
  • ec2: allow adding gateway endpoints to imported VPC (#3509) (b5db88d), closes #3171 #3472
  • typo in restapi.ts (#3530) (8381683)
  • apigateway: allow reusing lambda integration for multiple apis (#3532) (6e6440a)
  • apigateway: invalid schema generated due to un-mapped ref (#3258) (254f62c)
  • asg/ec2: fix value of defaultChild (#3572) (c95eab6), closes #3478
  • aws-ecs: ensure cluster attributes are accessible from constructor’s props (#3020) (24ebec8)
  • cdk-dasm: update README and fix small typo (#3565) (92b5c2d)
  • ci: add "do-not-merge" label auto-merge block (#3553) (0c806a6)
  • cli: support aws:// prefix for bootstrap command (#3599) (8ac7389)
  • core: correct return type of Fn.getAtt (#3559) (02ef2dc)
  • core: fix detection of references in Fn.join (#3569) (0a2540b), closes #3554
  • core: fix use of references in toJsonString() (#3568) (0fc2c3b)
  • ecs: update driverOpts type definition from array to map (#3358) (65e4a5d)
  • events: simplify the cache key for cross-account targets (#3526) (db7dc2e)
  • java: surpress maven output in cdk.json (#3624) (02e097b), closes #3571
  • kms: allow multiple addAlias calls on single key (#3596) (54f8ea9)
  • lambda: allow ArnPrincipal in grantInvoke (#3501) (e222e87), closes #3264
  • sqs: do not emit grants to the AWS-managed encryption key (#3169) (07f017b), closes #2794
  • ssm: add GetParameters action to grantRead() (#3546) (ebaa1b5)

Code Refactoring

  • stepfunctions-tasks: make integrationPattern an enum (#3115) (fa48e89), closes #3114

Features

BREAKING CHANGES

  • eks: clusters will be created with a default capacity of x2 m5.large instances.
    You can specify defaultCapacity: 0 if you wish to disable.
  • stepfunctions-tasks: To define a callback task, users should specify "serviceIntegrationPattern: sfn.ServiceIntegrationPattern.WAIT_FOR_TASK_TOKEN" instead of "waitForTaskToken: true".
    For a sync task, users should use "serviceIntegrationPattern: sfn.ServiceIntegrationPattern.SYNC" in the place of "synchronous: true".

v1.3.0

02 Aug 11:14
bba9914
Compare
Choose a tag to compare

Bug Fixes

  • aws-ecs-patterns: update ecs-patterns to be consistent across constructs (#3404) (f7fbbe0)
  • aws-kms: Incomplete KMS Resource Policy Permissions (#3459) (1280071), closes #3458 #3458
  • cli: conversion of "tags" filter for EC2 DescribeVpcs call (#3393) (cf2e3f6), closes #3372
  • cli: correctly handle tags when deploying multiple stacks (#3455) (4cb9755), closes #3471
  • core: stop relying on === to find PhysicalName.GENERATE_IF_NEEDED (#3506) (c7e9dfb)
  • iam: correctly limit the default PolicyName to 128 characters (#3487) (8259756), closes #3402
  • toolkit: avoid EMFILE and preserve mode when zipping (#3428) (750708b), closes #3145 #3344 #3413

Features

v1.2.0

25 Jul 17:48
6b763b7
Compare
Choose a tag to compare

Bug Fixes

Features

v1.1.0

19 Jul 21:23
1a11e96
Compare
Choose a tag to compare

Bug Fixes

  • codepipeline: invoked Lambda doesn't have permissions to the pipeline bucket (#3303) (50c7319), closes #3274
  • logs: fix infinite retention for jsii users (#3250) (0b1ea76)

Features

v1.0.0

11 Jul 15:17
d89592e
Compare
Choose a tag to compare

General Availability of the AWS Cloud Development Kit!! 🎉🎉🥂🥂🍾🍾

We are excited to announce the 1.0.0 release of the AWS CDK – including GA support for TypeScript, JavaScript, and Python!

We want to thank all of our early customers, and the hundreds of contributors, for all the help and support in making this release a reality.

Thank you for the patience to deal with the many, many breaking changes that happened along the way.

This product would not be what it is today if it weren't for all the feedback, diligent issue reporting (bugs, missing features, unclear documentation, etc.), and code contributions from the community.

Special thanks go out to a few of our most prolific contributors who went above and beyond to help improve the CDK:

1.0.0 is a huge milestone for us, but it's still only the beginning! We are excited to continue evolving the CDK, to introduce support for new languages and capabilities,
and to continue working closely with the open-source community.

Bug Fixes

  • cli: output message when successfully synthesizing multiple stacks (#3259) (0c30f12)
  • python: Make sure stack name in the init template does not contain illegal characters (#3261) (7d22b2c)

v0.39.0

09 Jul 00:41
c3a3c88
Compare
Choose a tag to compare

Bug Fixes

  • codepipeline: mark crossRegionReplicationBuckets and crossRegionSupport as experimental. (#3226) (f8256e7)
  • assets: packages assets, aws-ecr-assets and aws-s3-assets are now experimental instead of stable

BREAKING CHANGES

  • codepipeline: Pipeline.crossRegionReplicationBuckets is now experimental
  • codepipeline: Pipeline.crossRegionSupport is now experimental
  • codepipeline: CrossRegionSupport is now experimental
  • assets: package assetsis now experimental instead of stable
  • aws-ecr-assets: package aws-ecr-assetsis now experimental instead of stable
  • aws-s3-assets: package aws-s3-assetsis now experimental instead of stable

v0.38.0

08 Jul 14:12
feac997
Compare
Choose a tag to compare

Bug Fixes

Features

  • use classes for structs in Python (#3232) (161a459)
  • codebuild: allow specifying principals and credentials for pulling build images. (#3049) (3319fe5), closes #2175

BREAKING CHANGES

  • codebuild: LinuxBuildImage.fromDockerHub() has been renamed to fromDockerRegistry() and WindowsBuildImage.fromDockerHub() has been renamed to fromDockerRegistry()
  • iam: aws-iam.User and Group: managedPolicyArns =>
    managedPolicies.
  • in all identifiers, renamed IPv4 => Ipv4, IPv6 =>
    Ipv6, AZs => Azs.

v0.37.0

04 Jul 20:32
c4bdb54
Compare
Choose a tag to compare

Bug Fixes

BREAKING CHANGES

  • core: construct.findChild() now only looks up direct children
  • ec2: Port.toRuleJSON was renamed to toRuleJson
  • codebuild: PipelineProject.addSecondaryArtifact now returns void (formerly any)
  • codebuild: Project.addSecondaryArtifact now returns void (formerly any)

v0.36.2

03 Jul 13:37
4b88621
Compare
Choose a tag to compare

Bug Fixes

  • cli: generate metadata resource for region-independent stacks (#3149) (0fb7ea3), closes #3142
  • cli: stop processing on metadata errors (#3168) (0936bde)
  • codepipeline: correctly pass the replication buckets to Action.bind() (#3131) (99ae5e7)
  • codepipeline: grant missing permisisons to the CloudFormationExecuteChangeSetAction. (#3178) (958acc2), closes #3160
  • codepipeline: grant the CodeCommit source Action read-write permissions to the Pipeline's Bucket. (#3175) (bd46e49), closes #3170
  • core: prevent volatile physical name generation (#2984) (af2680c)
  • ecs: remove temporary workaround for long arn support (#3072) (9fdb63f), closes #2176

Features

  • codedeploy: allow setting a Deployment Configuration for an imported Lambda Deployment Group. (#3158) (05a49f0)
  • iam: can configure 'deny' for policy statements (#3165) (6679e86)

v0.36.1

01 Jul 18:03
1ba8a14
Compare
Choose a tag to compare

Bug Fixes

  • aws-codepipeline-actions: use SecretValue (#3097) (b84caab)
  • cli: fix broken sample-app templates for TypeScript and JavaScript (#3101) (800ecf2)
  • cli: fix broken test in Java init template (#3108) (f696efc), closes #3065
  • cli: fix Python sample-app template (#3071) (796d6bb), closes #3058 #3069
  • cli: improve description of --json to reflect behavior (#3086) (68cfa54), closes #2965
  • cli: Python blank app should call app.synth(), not app.run() (16345dc), closes #3123
  • cli: update TypeScript lib init template (#3134) (629e963)
  • code: make CfnResource#_toCloudFormation null-safe (#3121) (71cb421), closes #3093
  • codepipeline-actions: set service as backing resource for EcsDeployAction (#3085) (f2293e0)
  • core: improve context providers error message for env-agnostic stacks (#3137) (5b80146), closes #2922 #3078 #3120 #3130
  • documentation: auto-labeling fixed (#3089) (7fb82ad)
  • documentation: removed duplicate generated template (#3090) (590b05c)
  • elasticloadbalancingv2: fix to be able to set deregistrationDelay (#3075) (22ab4b4)
  • events: correct token resolution in RuleTargetInput (#3127) (a20c841), closes #3119
  • sns: create subscriptions in consumer scope (#3065) (64a203f), closes #3064

Features