Skip to content

Commit

Permalink
v0.25.0 (#1905)
Browse files Browse the repository at this point in the history
See CHANGELOG.
  • Loading branch information
RomainMuller authored Feb 28, 2019
1 parent f827a88 commit 54b5da1
Show file tree
Hide file tree
Showing 144 changed files with 8,218 additions and 9,809 deletions.
96 changes: 96 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,102 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.


## [0.25.0](https://github.com/awslabs/aws-cdk/compare/v0.24.1...v0.25.0) (2019-02-28)


### Bug Fixes

* **toolkit:** Don't collect runtime information when versionReporting is disabled ([#1890](https://github.com/awslabs/aws-cdk/issues/1890)) ([f827a88](https://github.com/awslabs/aws-cdk/commit/f827a88))
* **aws-codepipeline:** update CFN example. ([#1653](https://github.com/awslabs/aws-cdk/issues/1653)) ([5dec01a](https://github.com/awslabs/aws-cdk/commit/5dec01a))
* **aws-s3-deployment:** add setup.cfg to fix pip install bug on mac ([#1826](https://github.com/awslabs/aws-cdk/issues/1826)) ([759c708](https://github.com/awslabs/aws-cdk/commit/759c708))
* **cdk:** move apply() from Construct to ConstructNode ([#1738](https://github.com/awslabs/aws-cdk/issues/1738)) ([642c8a6](https://github.com/awslabs/aws-cdk/commit/642c8a6)), closes [#1732](https://github.com/awslabs/aws-cdk/issues/1732)
* **cloudtrail:** addS3EventSelector does not expose all options ([#1854](https://github.com/awslabs/aws-cdk/issues/1854)) ([5c3431b](https://github.com/awslabs/aws-cdk/commit/5c3431b)), closes [#1841](https://github.com/awslabs/aws-cdk/issues/1841)
* **cloudtrail:** Invalid resource for policy when using sendToCloudWatchLogs ([#1851](https://github.com/awslabs/aws-cdk/issues/1851)) ([816cfc0](https://github.com/awslabs/aws-cdk/commit/816cfc0)), closes [#1848](https://github.com/awslabs/aws-cdk/issues/1848)
* **cloudwatch:** fix name of 'MetricAlarmProps' ([#1765](https://github.com/awslabs/aws-cdk/issues/1765)) ([c87f09a](https://github.com/awslabs/aws-cdk/commit/c87f09a)), closes [#1760](https://github.com/awslabs/aws-cdk/issues/1760)
* **codebuild:** accept IRole instead of Role ([#1781](https://github.com/awslabs/aws-cdk/issues/1781)) ([f08ca15](https://github.com/awslabs/aws-cdk/commit/f08ca15)), closes [#1778](https://github.com/awslabs/aws-cdk/issues/1778)
* **codedeploy:** LambdaDeploymentGroup now takes IRole ([#1840](https://github.com/awslabs/aws-cdk/issues/1840)) ([f6adb7c](https://github.com/awslabs/aws-cdk/commit/f6adb7c)), closes [#1833](https://github.com/awslabs/aws-cdk/issues/1833)
* **codepipeline:** allow providing Tokens as the physical name of the Pipeline. ([#1800](https://github.com/awslabs/aws-cdk/issues/1800)) ([f6aea1b](https://github.com/awslabs/aws-cdk/commit/f6aea1b)), closes [#1788](https://github.com/awslabs/aws-cdk/issues/1788)
* **core:** improve error message if construct names conflict ([#1706](https://github.com/awslabs/aws-cdk/issues/1706)) ([0ea4a78](https://github.com/awslabs/aws-cdk/commit/0ea4a78))
* **core:** performance improvements ([#1750](https://github.com/awslabs/aws-cdk/issues/1750)) ([77b516f](https://github.com/awslabs/aws-cdk/commit/77b516f))
* **ecs:** rename capacity adding methods ([#1715](https://github.com/awslabs/aws-cdk/issues/1715)) ([e3738ac](https://github.com/awslabs/aws-cdk/commit/e3738ac))
* **elbv2:** explicitly implement IApplicationTargetGroup ([#1806](https://github.com/awslabs/aws-cdk/issues/1806)) ([828a2d7](https://github.com/awslabs/aws-cdk/commit/828a2d7)), closes [#1799](https://github.com/awslabs/aws-cdk/issues/1799)
* **init:** add new parameter to C# example ([#1831](https://github.com/awslabs/aws-cdk/issues/1831)) ([c7b99d8](https://github.com/awslabs/aws-cdk/commit/c7b99d8))
* **kms:** have EncryptionKeyBase implement IEncryptionKey ([#1728](https://github.com/awslabs/aws-cdk/issues/1728)) ([49080c6](https://github.com/awslabs/aws-cdk/commit/49080c6))
* **lambda:** Add 'provided' runtime ([#1764](https://github.com/awslabs/aws-cdk/issues/1764)) ([73d5bef](https://github.com/awslabs/aws-cdk/commit/73d5bef)), closes [#1761](https://github.com/awslabs/aws-cdk/issues/1761)
* **lambda:** add region check for environment variables ([#1690](https://github.com/awslabs/aws-cdk/issues/1690)) ([846ed9f](https://github.com/awslabs/aws-cdk/commit/846ed9f))
* **ssm:** Generate correct SSM Parameter ARN ([#1726](https://github.com/awslabs/aws-cdk/issues/1726)) ([39df456](https://github.com/awslabs/aws-cdk/commit/39df456))
* **toolkit:** correctly reset context from the shell command ([#1903](https://github.com/awslabs/aws-cdk/issues/1903)) ([58025c0](https://github.com/awslabs/aws-cdk/commit/58025c0))
* **toolkit:** correcty load cdk.json file without context ([#1900](https://github.com/awslabs/aws-cdk/issues/1900)) ([7731565](https://github.com/awslabs/aws-cdk/commit/7731565))
* **toolkit:** ignore hidden files for 'cdk init' ([#1766](https://github.com/awslabs/aws-cdk/issues/1766)) ([afdd173](https://github.com/awslabs/aws-cdk/commit/afdd173)), closes [#1758](https://github.com/awslabs/aws-cdk/issues/1758)
* **toolkit:** only fail if errors are on selected stacks ([#1807](https://github.com/awslabs/aws-cdk/issues/1807)) ([9c0cf8d](https://github.com/awslabs/aws-cdk/commit/9c0cf8d)), closes [#1784](https://github.com/awslabs/aws-cdk/issues/1784) [#1783](https://github.com/awslabs/aws-cdk/issues/1783)
* **toolkit:** support diff on multiple stacks ([#1855](https://github.com/awslabs/aws-cdk/issues/1855)) ([72d2535](https://github.com/awslabs/aws-cdk/commit/72d2535))
* **build:** Npm ignores files and folders named "core" by default ([#1767](https://github.com/awslabs/aws-cdk/issues/1767)) ([42876e7](https://github.com/awslabs/aws-cdk/commit/42876e7)), closes [npm/npm-packlist#24](https://github.com/npm/npm-packlist/issues/24)
* **core:** stack.partition is never scoped ([#1763](https://github.com/awslabs/aws-cdk/issues/1763)) ([c968588](https://github.com/awslabs/aws-cdk/commit/c968588))


### Features

* **apigateway:** add support for MethodResponse to aws-apigateway. ([#1572](https://github.com/awslabs/aws-cdk/issues/1572)) ([46236d9](https://github.com/awslabs/aws-cdk/commit/46236d9))
* **autoscaling:** bring your own IAM role ([#1727](https://github.com/awslabs/aws-cdk/issues/1727)) ([2016b8d](https://github.com/awslabs/aws-cdk/commit/2016b8d)), closes [#1701](https://github.com/awslabs/aws-cdk/issues/1701)
* **aws-eks:** add construct library for EKS ([#1655](https://github.com/awslabs/aws-cdk/issues/1655)) ([22fc8b9](https://github.com/awslabs/aws-cdk/commit/22fc8b9)), closes [#991](https://github.com/awslabs/aws-cdk/issues/991)
* **cfnspec:** manually add VPCEndpointService ([#1734](https://github.com/awslabs/aws-cdk/issues/1734)) ([f782958](https://github.com/awslabs/aws-cdk/commit/f782958)), closes [#1659](https://github.com/awslabs/aws-cdk/issues/1659)
* **codebuild:** add support for setting the gitCloneDepth property on Project sources. ([#1798](https://github.com/awslabs/aws-cdk/issues/1798)) ([5408a53](https://github.com/awslabs/aws-cdk/commit/5408a53)), closes [#1789](https://github.com/awslabs/aws-cdk/issues/1789)
* **core:** Add `construct.node.stack` attribute ([#1753](https://github.com/awslabs/aws-cdk/issues/1753)) ([a46cfd8](https://github.com/awslabs/aws-cdk/commit/a46cfd8)), closes [#798](https://github.com/awslabs/aws-cdk/issues/798)
* **dynamodb:** partitionKey and sortKey are now immutable ([#1744](https://github.com/awslabs/aws-cdk/issues/1744)) ([63ae0b4](https://github.com/awslabs/aws-cdk/commit/63ae0b4))
* **ecs:** allow ECS to be used declaratively ([#1745](https://github.com/awslabs/aws-cdk/issues/1745)) ([2480f0f](https://github.com/awslabs/aws-cdk/commit/2480f0f)), closes [#1618](https://github.com/awslabs/aws-cdk/issues/1618)
* **kms:** Allow opting out of "Retain" deletion policy ([#1685](https://github.com/awslabs/aws-cdk/issues/1685)) ([7706302](https://github.com/awslabs/aws-cdk/commit/7706302))
* **lambda:** allow specify event sources in props ([#1746](https://github.com/awslabs/aws-cdk/issues/1746)) ([a84157d](https://github.com/awslabs/aws-cdk/commit/a84157d))
* **lambda-event-sources:** "api" event source ([#1742](https://github.com/awslabs/aws-cdk/issues/1742)) ([5c11680](https://github.com/awslabs/aws-cdk/commit/5c11680))
* **route53:** Convenience API for creating zone delegations ([#1853](https://github.com/awslabs/aws-cdk/issues/1853)) ([f974531](https://github.com/awslabs/aws-cdk/commit/f974531)), closes [#1847](https://github.com/awslabs/aws-cdk/issues/1847)
* **sns:** Support raw message delivery ([#1827](https://github.com/awslabs/aws-cdk/issues/1827)) ([cc0a28c](https://github.com/awslabs/aws-cdk/commit/cc0a28c))
* **ssm:** allow referencing "latest" version of SSM parameter ([#1768](https://github.com/awslabs/aws-cdk/issues/1768)) ([9af36af](https://github.com/awslabs/aws-cdk/commit/9af36af)), closes [#1587](https://github.com/awslabs/aws-cdk/issues/1587)
* **toolkit:** improve docker build time in CI ([#1776](https://github.com/awslabs/aws-cdk/issues/1776)) ([1060b95](https://github.com/awslabs/aws-cdk/commit/1060b95)), closes [#1748](https://github.com/awslabs/aws-cdk/issues/1748)
* **codepipelines:** re-structure the CodePipeline Construct library API. ([#1590](https://github.com/awslabs/aws-cdk/issues/1590)) ([3c3db07](https://github.com/awslabs/aws-cdk/commit/3c3db07))
* **decdk:** Prototype for declarative CDK (decdk) ([#1618](https://github.com/awslabs/aws-cdk/pull/1618)) ([8713ac6](https://github.com/awslabs/aws-cdk/commit/8713ac6))


### BREAKING CHANGES

* **cloudtrail:** The `CloudTrail.addS3EventSelector` accepts an options
object instead of only a `ReadWriteType` value.
* **codedeploy:** If an existing role is provided to a LambdaDeploymentGroup,
you will need to provide the assuming service principal (`codedeploy.amazonaws.com`)
yourself.
* **core:**$$** 'Aws' class returns unscoped Tokens, introduce a
new class 'ScopedAws' which returns scoped Tokens.
* **ssm:** Rename `parameter.valueAsString` =>
`parameter.stringValue`, rename `parameter.valueAsList` =>
`parameter.stringListValue`, rename `ssmParameter.parameterValue` =>
`ssmParameter.stringValue` or `ssmParameter.stringListValue` depending
on type, rename `secretString.value` => `secretString.stringValue`,
rename `secret.toSecretString()` =>`secret.secretString`
* **cloudwatch:** Rename 'MetricAarmProps' => 'MetricAlarmProps'.
* **core:** `Stack.find(c)` and `Stack.tryFind(c)` were
replaced by `c.node.stack`.
* **dynamodb:** `partitionKey` is now a required property when defining a
`dynamodb.Table`. The `addPartitionKey` and `addSortKey` methods have been removed.
* **cdk:** Tag aspects use this feature and any consumers of this
implementation must change from `myConstruct.apply( ... )` to
`myConstruct.node.apply( ... )`.
* **ecs:** Rename 'addDefaultAutoScalingGroupCapacity' =>
'addCapacity', 'addAutoScalingGroupCapacity' => 'addAutoScalingGroup'.
* **codepipelines:** the CodePipeline Stage class is no longer a Construct,
and cannot be instantiated directly, only through calling Pipeline#addStage;
which now takes an Object argument instead of a String.
* **codepipelines:** the CodePipeline Actions are no longer Constructs.
* **codepipelines:** the CodePipeline Action name is now part of the Action props,
instead of being a separate parameter.
* **codepipelines:** the Pipeline#addToPipeline methods in Resources like S3, CodeBuild, CodeCommit etc.
have been renamed to `toCodePipelineAction`.
* **aws-eks:** For `AutoScalingGroup`, renamed `minSize` =>
`minCapacity`, `maxSize` => `maxCapacity`, for consistency with
`desiredCapacity` and also Application AutoScaling.
For ECS's `addDefaultAutoScalingGroupCapacity()`, `instanceCount` =>
`desiredCapacity` and the function now takes an ID (pass
`"DefaultAutoScalingGroup"` to avoid interruption to your deployments).



## [0.24.1](https://github.com/awslabs/aws-cdk/compare/v0.24.0...v0.24.1) (2019-02-07)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"tools/*"
],
"rejectCycles": "true",
"version": "0.24.1"
"version": "0.25.0"
}
Loading

0 comments on commit 54b5da1

Please sign in to comment.