Skip to content

Commit

Permalink
chore(release): 1.47.0 (#3232)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 6, 2021
2 parents cd08c55 + a8b48cb commit 86d2c33
Show file tree
Hide file tree
Showing 73 changed files with 2,500 additions and 1,583 deletions.
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@
},
{
"login": "kaizen3031593",
"name": "kaizen3031593",
"name": "Kaizen Conroy",
"avatar_url": "https://avatars.githubusercontent.com/u/36202692?v=4",
"profile": "https://github.com/kaizen3031593",
"contributions": [
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
java-version: '8'
distribution: 'zulu'
- name: Set up Node 12
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.0
with:
cache: yarn
node-version: '12'
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
java-version: '8'
distribution: 'zulu'
- name: Set up Node 12
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.0
with:
cache: yarn
node-version: '12'
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Set up Node ${{ matrix.node }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.0
with:
cache: yarn
node-version: ${{ matrix.node }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/yarn-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v2.4.0

- name: Set up Node
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.0
with:
cache: yarn
node-version: 12
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
title: 'chore: npm-check-updates && yarn upgrade'
body: |-
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
labels: contribution/core,dependencies
labels: contribution/core,dependencies,pr/auto-approve
team-reviewers: aws-cdk-team
# Privileged token so automated PR validation happens
token: ${{ secrets.AUTO_APPROVE_GITHUB_TOKEN }}
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

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.

## [1.47.0](https://github.com/aws/jsii/compare/v1.45.0...v1.47.0) (2021-12-06)


### Features

* **reflect:** add `allTypes` accessor ([#3194](https://github.com/aws/jsii/issues/3194)) ([41f301a](https://github.com/aws/jsii/commit/41f301a8304bd1ed6ed7ec4e31bd23ffd1a2ed8b))
* **rosetta:** metadata tag for fixtures in docs ([#3200](https://github.com/aws/jsii/issues/3200)) ([8cefa8b](https://github.com/aws/jsii/commit/8cefa8bc8c9554913960b48226531aff874ee247))
* **rosetta:** generate rosetta tablets next to each assembly ([#3223](https://github.com/aws/jsii/issues/3223)) ([1e7b604](https://github.com/aws/jsii/commit/1e7b604c15a0083f27ceafd8ca32ff9b6cf61759))
* **rosetta:** reuse output file as additional cache and introduce `--infuse` option for `extract` ([#3210](https://github.com/aws/jsii/issues/3210)) ([ccb3c57](https://github.com/aws/jsii/commit/ccb3c57b834225f16ec619f55a7976e59b7a53c3))


### Bug Fixes

* **jsii:** constants can't mix letters and digits ([#3209](https://github.com/aws/jsii/issues/3209)) ([a444e29](https://github.com/aws/jsii/commit/a444e2993b73dc002586e2c4a3446121c279eb65)), closes [#3208](https://github.com/aws/jsii/issues/3208)
* **jsii:** deprecation message is not displayed for deprecated classes ([#3206](https://github.com/aws/jsii/issues/3206)) ([3841538](https://github.com/aws/jsii/commit/3841538179226b67c756ca8689ac1a3de4bec521))
* **pacmak:** don't automatically translate examples without asking ([#3219](https://github.com/aws/jsii/issues/3219)) ([937f8c3](https://github.com/aws/jsii/commit/937f8c3753bec27269ce9213a6bc55fea79647b0))
* **rosetta:** `extract` ignores `--compile` option ([#3193](https://github.com/aws/jsii/issues/3193)) ([639c510](https://github.com/aws/jsii/commit/639c510ba6d07b26bf35d0c8d3c9cdcced6d916a))
* **rosetta:** enum resolution breaks for properties ([#3190](https://github.com/aws/jsii/issues/3190)) ([3b49066](https://github.com/aws/jsii/commit/3b49066e4dd960385709dbdce1d9c1fbfb2f20cf))
* **rosetta:** use `--compile` flag by default ([#3218](https://github.com/aws/jsii/issues/3218)) ([9df7950](https://github.com/aws/jsii/commit/9df7950f263aae045877accb45007e0f9a5b03bd))

## [1.46.0](https://github.com/aws/jsii/compare/v1.45.0...v1.46.0) (2021-11-21)


Expand Down
18 changes: 9 additions & 9 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions eslint-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ rules:
'no-case-declarations': off
'require-atomic-updates': off

# This is not a bad rule but it got sprung on us and our code loudly fails it
# Disable to get the eslint upgrade to pass.
'@typescript-eslint/no-unsafe-argument': off

# 'consistent-return' actually decreases safety. Its use will enforce useless `throws`
# statements, forcing a runtime error that occlude cases where the TypeScript type
# checker would actually have caught something like a non-exhaustive `switch` statement
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"rejectCycles": true
}
},
"version": "1.46.0"
"version": "1.47.0"
}
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@
"compliance": "(cd tools/jsii-compliance && yarn report)"
},
"devDependencies": {
"@jest/types": "^27.2.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@jest/types": "^27.2.5",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"all-contributors-cli": "^6.20.0",
"eslint": "^7.32.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"jest-circus": "^27.2.4",
"jest-config": "^27.2.4",
"jest-circus": "^27.3.1",
"jest-config": "^27.3.1",
"lerna": "^4.0.0",
"prettier": "^2.4.1",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"standard-version": "^9.3.2",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "~3.9.10"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageReference Update="Microsoft.Extensions.Logging" Version="5.0.0" />
<PackageReference Update="Microsoft.Extensions.Logging.Console" Version="5.0.0" />

<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.11.0" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.0.1" />
<PackageReference Update="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3" />
<PackageReference Update="Microsoft.CodeQuality.Analyzers" Version="3.3.2" />

Expand Down
6 changes: 3 additions & 3 deletions packages/@jsii/check-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
},
"devDependencies": {
"@types/chalk": "^2.2.0",
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"jest": "^27.2.4"
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"jest": "^27.3.1"
}
}
2 changes: 1 addition & 1 deletion packages/@jsii/dotnet-runtime-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@jsii/dotnet-runtime": "^0.0.0",
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"jsii-calc": "^3.20.120",
"jsii-pacmak": "^0.0.0",
"typescript": "~3.9.10"
Expand Down
4 changes: 2 additions & 2 deletions packages/@jsii/dotnet-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"devDependencies": {
"@jsii/runtime": "^0.0.0",
"@types/node": "^12.20.28",
"@types/semver": "^7.3.8",
"@types/node": "^12.20.37",
"@types/semver": "^7.3.9",
"jsii-build-tools": "^0.0.0",
"semver": "^7.3.5",
"typescript": "~3.9.10"
Expand Down
6 changes: 3 additions & 3 deletions packages/@jsii/go-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"codemaker": "^0.0.0",
"eslint": "^7.32.0",
"eslint": "^8.3.0",
"fs-extra": "^9.1.0",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"prettier": "^2.4.1",
"ts-node": "^10.2.1",
"ts-node": "^10.4.0",
"typescript": "~3.9.10"
}
}
12 changes: 6 additions & 6 deletions packages/@jsii/integ-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
},
"license": "Apache-2.0",
"dependencies": {
"@octokit/rest": "^18.11.4",
"@octokit/rest": "^18.12.0",
"dotenv": "^8.6.0",
"fs-extra": "^9.1.0",
"jest": "^27.2.4",
"jest": "^27.3.1",
"jsii": "^0.0.0",
"jsii-pacmak": "^0.0.0",
"jsii-rosetta": "^0.0.0",
Expand All @@ -29,10 +29,10 @@
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"@types/tar": "^4.0.5",
"eslint": "^7.32.0",
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"@types/tar": "^6.1.1",
"eslint": "^8.3.0",
"prettier": "^2.4.1",
"typescript": "~3.9.10"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@jsii/java-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@jsii/runtime": "^0.0.0",
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"jsii-build-tools": "^0.0.0",
"typescript": "~3.9.10"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/@jsii/kernel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"@scope/jsii-calc-base": "^0.0.0",
"@scope/jsii-calc-lib": "^0.0.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"@types/tar": "^4.0.5",
"eslint": "^7.32.0",
"jest": "^27.2.4",
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"@types/tar": "^6.1.1",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"jest-expect-message": "^1.0.2",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"prettier": "^2.4.1",
"ts-jest": "^27.0.5",
"ts-jest": "^27.0.7",
"typescript": "~3.9.10"
}
}
2 changes: 1 addition & 1 deletion packages/@jsii/python-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"jsii-pacmak": "^0.0.0",
"ts-node": "^10.2.1",
"ts-node": "^10.4.0",
"typescript": "~3.9.10"
}
}
4 changes: 2 additions & 2 deletions packages/@jsii/python-runtime/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
black~=21.10b0
black~=21.11b1
mypy==0.812
pip~=21.3
pytest~=6.2
pytest-mypy~=0.8
setuptools~=58.5
setuptools~=59.2
wheel~=0.37

-e .
2 changes: 1 addition & 1 deletion packages/@jsii/python-runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"cattrs~=1.8.0 ; python_version >= '3.7'",
"importlib_resources ; python_version < '3.7'",
"python-dateutil",
"typing_extensions~=3.7",
"typing_extensions>=3.7,<5.0",
],
python_requires="~=3.6",
classifiers=[
Expand Down
14 changes: 7 additions & 7 deletions packages/@jsii/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"devDependencies": {
"@scope/jsii-calc-base": "^0.0.0",
"@scope/jsii-calc-lib": "^0.0.0",
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"eslint": "^7.32.0",
"jest": "^27.2.4",
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"jsii-build-tools": "^0.0.0",
"jsii-calc": "^3.20.120",
"prettier": "^2.4.1",
"source-map-loader": "^3.0.0",
"ts-jest": "^27.0.5",
"ts-jest": "^27.0.7",
"typescript": "~3.9.10",
"webpack": "^5.57.1",
"webpack-cli": "^4.8.0"
"webpack": "^5.64.3",
"webpack-cli": "^4.9.1"
}
}
2 changes: 1 addition & 1 deletion packages/@jsii/spec/lib/validate-assembly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const schema: Schema = require('../schema/jsii-spec.schema.json');
export function validateAssembly(obj: any): Assembly {
const validator = new Validator();
validator.addSchema(schema); // For definitions
const result = validator.validate(obj, schema, { nestedErrors: true } as any); // nestedErrors does exist but is not in the TypeScript definitions
const result = validator.validate(obj, schema, { nestedErrors: true });
if (result.valid) {
return obj;
}
Expand Down
10 changes: 5 additions & 5 deletions packages/@jsii/spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"jsonschema": "^1.4.0"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"eslint": "^7.32.0",
"jest": "^27.2.4",
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"jsii-build-tools": "^0.0.0",
"prettier": "^2.4.1",
"typescript": "~3.9.10",
"typescript-json-schema": "^0.51.0"
"typescript-json-schema": "^0.52.0"
}
}
2 changes: 1 addition & 1 deletion packages/@scope/jsii-calc-base-of-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"test:update": "npm run build && UPDATE_DIFF=1 npm run test"
},
"devDependencies": {
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-rosetta": "^0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@scope/jsii-calc-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@scope/jsii-calc-base-of-base": "^2.1.1"
},
"devDependencies": {
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-rosetta": "^0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@scope/jsii-calc-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@scope/jsii-calc-base-of-base": "^2.1.1"
},
"devDependencies": {
"@types/node": "^12.20.28",
"@types/node": "^12.20.37",
"jsii": "^0.0.0",
"jsii-build-tools": "^0.0.0",
"jsii-rosetta": "^0.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/codemaker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
"package": "rm -fr dist/js && mkdir -p dist/js && mv $(npm pack) dist/js"
},
"dependencies": {
"camelcase": "^6.2.0",
"camelcase": "^6.2.1",
"decamelize": "^5.0.1",
"fs-extra": "^9.1.0"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.2",
"@types/node": "^12.20.28",
"eslint": "^7.32.0",
"jest": "^27.2.4",
"@types/jest": "^27.0.3",
"@types/node": "^12.20.37",
"eslint": "^8.3.0",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"typescript": "~3.9.10"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/jsii-calc/lib/calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export namespace composition {
* The expression that this operation consists of.
* Must be implemented by derived classes.
*/
abstract readonly expression: NumericValue;
public abstract readonly expression: NumericValue;

public toString() {
switch (this.stringStyle) {
Expand Down
Loading

0 comments on commit 86d2c33

Please sign in to comment.