Skip to content

Commit c296f99

Browse files
authored
Merge branch 'master' into update-support-node-version
2 parents 0193c49 + 655f3bf commit c296f99

File tree

171 files changed

+1264
-481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+1264
-481
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
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.
44

5+
## [1.36.1](https://github.com/aws/aws-cdk/compare/v1.36.0...v1.36.1) (2020-04-29)
6+
7+
### Bug Fixes
8+
9+
* multiple breakages due to jest version upgrade ([#7667](https://github.com/aws/aws-cdk/pull/7667)) ([e18312](https://github.com/aws/aws-cdk/commit/e18312c4de42857d893913bd3124bd06bb16982e)), closes [#7657](https://github.com/aws/aws-cdk/issues/7657)
10+
511
## [1.36.0](https://github.com/aws/aws-cdk/compare/v1.35.0...v1.36.0) (2020-04-28)
612

713

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"tools/*"
1111
],
1212
"rejectCycles": "true",
13-
"version": "1.36.0"
13+
"version": "1.36.1"
1414
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"**/jszip/**",
4747
"@aws-cdk/cdk-assets-schema/semver",
4848
"@aws-cdk/cdk-assets-schema/semver/**",
49-
"@aws-cdk/assets/minimatch",
50-
"@aws-cdk/assets/minimatch/**",
49+
"@aws-cdk/core/minimatch",
50+
"@aws-cdk/core/minimatch/**",
5151
"@aws-cdk/aws-codepipeline-actions/case",
5252
"@aws-cdk/aws-codepipeline-actions/case/**",
5353
"@aws-cdk/aws-ecr-assets/minimatch",

packages/@aws-cdk/alexa-ask/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
<!--END STABILITY BANNER-->
1515

1616
```ts
17-
const alexaAsk = require('@aws-cdk/alexa-ask');
17+
import * as alexaAsk from '@aws-cdk/alexa-ask';
1818
```

packages/@aws-cdk/app-delivery/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ The example below defines a *CDK App* that contains 3 stacks:
4141
#### `index.ts`
4242

4343
```typescript
44-
import codebuild = require('@aws-cdk/aws-codebuild');
45-
import codepipeline = require('@aws-cdk/aws-codepipeline');
46-
import codepipeline_actions = require('@aws-cdk/aws-codepipeline-actions');
47-
import cdk = require('@aws-cdk/core');
48-
import cicd = require('@aws-cdk/app-delivery');
44+
import * as codebuild from '@aws-cdk/aws-codebuild';
45+
import * as codepipeline from '@aws-cdk/aws-codepipeline';
46+
import * as codepipeline_actions from '@aws-cdk/aws-codepipeline-actions';
47+
import * as cdk from '@aws-cdk/core';
48+
import * as cicd from '@aws-cdk/app-delivery';
4949

5050
const app = new cdk.App();
5151

packages/@aws-cdk/assert/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"devDependencies": {
3232
"@types/jest": "^25.2.1",
3333
"cdk-build-tools": "0.0.0",
34-
"jest": "^25.5.2",
34+
"jest": "^25.5.3",
3535
"pkglint": "0.0.0",
3636
"ts-jest": "^25.4.0"
3737
},
@@ -44,7 +44,7 @@
4444
},
4545
"peerDependencies": {
4646
"@aws-cdk/core": "0.0.0",
47-
"jest": "^25.5.2",
47+
"jest": "^25.5.3",
4848
"constructs": "^3.0.2"
4949
},
5050
"repository": {

packages/@aws-cdk/assets/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
<!--BEGIN STABILITY BANNER-->
33
---
44

5-
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
5+
![Deprecated](https://img.shields.io/badge/deprecated-critical.svg?style=for-the-badge)
66

7-
> The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
7+
> This API may emit warnings. Backward compatibility is not guaranteed.
88
99
---
1010
<!--END STABILITY BANNER-->
1111

12-
This module includes core classes for to CDK assets, used for copying asset
13-
files to a staging area. Most CDK users should not need to use the classes in
14-
this package directly.
15-
16-
12+
All types moved to @aws-cdk/core.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { SymlinkFollowMode } from '@aws-cdk/core';
2+
import { FollowMode } from './fs/follow-mode';
3+
4+
export function toSymlinkFollow(follow?: FollowMode): SymlinkFollowMode | undefined {
5+
if (!follow) {
6+
return undefined;
7+
}
8+
9+
switch (follow) {
10+
case FollowMode.NEVER: return SymlinkFollowMode.NEVER;
11+
case FollowMode.ALWAYS: return SymlinkFollowMode.ALWAYS;
12+
case FollowMode.BLOCK_EXTERNAL: return SymlinkFollowMode.BLOCK_EXTERNAL;
13+
case FollowMode.EXTERNAL: return SymlinkFollowMode.EXTERNAL;
14+
default:
15+
throw new Error(`unknown follow mode: ${follow}`);
16+
}
17+
}

packages/@aws-cdk/assets/lib/fs/follow-mode.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Symlink follow mode.
3+
* @deprecated see `core.SymlinkFollowMode`
4+
*/
15
export enum FollowMode {
26
/**
37
* Never follow symlinks.

packages/@aws-cdk/assets/lib/fs/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)