Skip to content

Commit

Permalink
chore(release): 1.18.0 #2491 (#2491)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller authored Jan 28, 2021
2 parents 2bac5fd + c62708e commit 4595dab
Show file tree
Hide file tree
Showing 153 changed files with 5,302 additions and 2,975 deletions.
18 changes: 18 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,24 @@
"contributions": [
"doc"
]
},
{
"login": "camilobermudez85",
"name": "Camilo Bermúdez",
"avatar_url": "https://avatars0.githubusercontent.com/u/7834055?v=4",
"profile": "https://camilobermudez85.github.io/",
"contributions": [
"bug"
]
},
{
"login": "benfarr",
"name": "Ben Farr",
"avatar_url": "https://avatars0.githubusercontent.com/u/10361379?v=4",
"profile": "https://github.com/benfarr",
"contributions": [
"doc"
]
}
],
"repoType": "github",
Expand Down
21 changes: 16 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ updates:
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
versioning-strategy: increase
Expand All @@ -21,7 +20,6 @@ updates:
directory: '/packages/@jsii/dotnet-runtime/src'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/dotnet
Expand All @@ -30,7 +28,6 @@ updates:
directory: '/packages/@jsii/dotnet-runtime-test/test'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/dotnet
Expand All @@ -39,7 +36,6 @@ updates:
directory: '/packages/@jsii/python-runtime'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/python
Expand All @@ -48,7 +44,22 @@ updates:
directory: '/gh-pages'
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- dependencies
- language/python

- package-ecosystem: pip
directory: '/packages/jsii-pacmak/test/generated-code'
schedule:
interval: daily
labels:
- dependencies
- language/python

- package-ecosystem: pip
directory: '/packages/jsii-pacmak/lib/targets/python'
schedule:
interval: daily
labels:
- dependencies
- language/python
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,3 +466,95 @@ jobs:
path: |-
${{ github.workspace }}/aws-cdk/dist/
${{ github.workspace }}/aws-cdk/**/dist/
push-go-runtime:
needs: build
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Set up Node 12
uses: actions/setup-node@v2.1.4
with:
node-version: '12'
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: built-tree
path: ${{ github.workspace }}/jsii-built-tree
- name: Extract Artifact
working-directory: ${{ github.workspace }}/jsii-built-tree
run: |-
echo "::group::Untar Archive"
tar Jxvf built-tree.tar.xz
echo "::endgroup"
rm built-tree.tar.xz
- name: Get Last Commit Message
id: get-last-commit-msg
working-directory: ${{ github.workspace }}/jsii-built-tree
run: |-
message=$(git log -1 --format=%s)
echo "::set-output name=result::$message"
- name: Locate Caches
id: cache-locations
run: |-
echo "::set-output name=yarn-cache::$(yarn cache dir)"
- name: Cache
uses: actions/cache@v2
with:
path: |-
${{ steps.cache-locations.outputs.yarn-cache }}
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/*/node_modules
key: ${{ hashFiles('**/yarn.lock') }}
restore-keys: |-
${{ runner.os }}-yarn-
- name: Install Dependencies
working-directory: ${{ github.workspace }}/jsii-built-tree
run: |-
yarn install --frozen-lockfile
- name: Build Runtime Repo Directory
id: build-repo-dir
run: |-
mkdir ${{ github.workspace }}/jsii-runtime-go
repo_dir=${{ github.workspace }}/jsii-runtime-go
echo "::set-output name=repodir::$repo_dir"
- name: Clone Runtime
uses: actions/checkout@v2
with:
repository: ${{ secrets.JSII_RUNTIME_REPO_NAME }}
ref: 'main'
token: ${{ secrets.AUTO_APPROVE_GITHUB_TOKEN }}
path: ${{ steps.build-repo-dir.outputs.repodir }}
- name: Copy Runtime Files
working-directory: ${{ github.workspace }}/jsii-built-tree/packages/@jsii/go-runtime
run: |-
yarn ts-node ./build-tools/build-repo-dir.ts ${{ steps.build-repo-dir.outputs.repodir }}
- name: Check for changes
id: check-for-changes
working-directory: ${{ steps.build-repo-dir.outputs.repodir }}
run: |-
git fetch --depth=1 --quiet origin main
git add .
# Check for modifications in tracked files
changed=$(git diff --name-only origin/main)
if [-z "$changed"]; then
echo "::set-output name=result::false"
else
echo "::set-output name=result::true"
fi
- name: Commit and Push
if: steps.check-for-changes.outputs.result == 'true'
working-directory: ${{ steps.build-repo-dir.outputs.repodir }}
run: |-
git config user.name "AWS CDK Automation"
git config user.email "aws-cdk+automation@amazon.com"
git commit -m "${{ steps.get-last-commit-msg.outputs.result }}"
git push
- name: Tag Release
if: github.ref == 'refs/head/release'
run: |-
VERSION=$(node -e 'console.log(require("./lerna.json").version)')
cd ${{ steps.build-repo-dir.outputs.repodir }}
git tag -a $VERSION -m "v$VERSION"
git push $VERSION
78 changes: 0 additions & 78 deletions .github/workflows/push-go-runtime.yml

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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.

## [1.18.0](https://github.com/aws/jsii/compare/v1.17.1...v1.18.0) (2021-01-28)


### Features

* add support for bin-scripts (python only) ([#1941](https://github.com/aws/jsii/issues/1941)) ([61ef5ed](https://github.com/aws/jsii/commit/61ef5edc9696c41a45984c907dc30771c675e20b))
* **dotnet,java:** kernel process inherits host's STDERR ([#2248](https://github.com/aws/jsii/issues/2248)) ([70ce153](https://github.com/aws/jsii/commit/70ce15312d7553bc44c2e4f8981b596563b5ecd7))
* submodules expose readmes and targets via `jsii-reflect` ([#2482](https://github.com/aws/jsii/issues/2482)) ([33f41eb](https://github.com/aws/jsii/commit/33f41eb7f1e5acddcf505070ecb3f8dee6f9f4b1))
* **go:** run "go build" on generated code ([#2485](https://github.com/aws/jsii/issues/2485)) ([d3602ec](https://github.com/aws/jsii/commit/d3602ece2fb7fa329557cef6043106669fd22608)), closes [#2463](https://github.com/aws/jsii/issues/2463)
* **go:** runtime release tagging ([#2417](https://github.com/aws/jsii/issues/2417)) ([9ffd204](https://github.com/aws/jsii/commit/9ffd20481bd804ff288ab4bf91b9f394d52d3d90))
* **jsii:** experimental --strip-deprecated feature ([#2437](https://github.com/aws/jsii/issues/2437)) ([f958f5a](https://github.com/aws/jsii/commit/f958f5a9603da990146ed6fe3674094fee227079))


### Bug Fixes

* **dotnet:** Use nested classes for proxies to avoid name collision ([#2368](https://github.com/aws/jsii/issues/2368)) ([90b17e2](https://github.com/aws/jsii/commit/90b17e2a7da159879a7e618ce6f2edca336f316e)), closes [#2367](https://github.com/aws/jsii/issues/2367)
* **go:** generated code runtime dependency version ([#2399](https://github.com/aws/jsii/issues/2399)) ([f1a06e5](https://github.com/aws/jsii/commit/f1a06e5f71e599fcf6efccaa0906cee8cd93d3e1))
* **go:** invalid output for multi-line [@return](https://github.com/return) and [@deprecated](https://github.com/deprecated) comments ([#2462](https://github.com/aws/jsii/issues/2462)) ([590681a](https://github.com/aws/jsii/commit/590681a4adc672345febdc274e1aa45658a8d7a5)), closes [#2457](https://github.com/aws/jsii/issues/2457)
* **jsii:** errors when invoking with a project root argument ([#2351](https://github.com/aws/jsii/issues/2351)) ([9c66340](https://github.com/aws/jsii/commit/9c66340d2471db36175000c6673d1d498f4ec2c5))
* **jsii:** submodules of dependencies show up in assembly ([#2481](https://github.com/aws/jsii/issues/2481)) ([2630a80](https://github.com/aws/jsii/commit/2630a8046dc5f9c799546248e783d24ed58a6783))
* **jsii:** unknown error in Assembler._validateHeritageClauses ([#2350](https://github.com/aws/jsii/issues/2350)) ([3120bf4](https://github.com/aws/jsii/commit/3120bf448cc160cb0249aa57a0a2bd62e35c1659)), closes [#2349](https://github.com/aws/jsii/issues/2349)
* bad working directory in go runtime push ([#2356](https://github.com/aws/jsii/issues/2356)) ([53457e2](https://github.com/aws/jsii/commit/53457e2f6063e5f0202eac7040ad03e1ed64805e))
* **pacmak:** illegal static overrides in java & c# ([#2373](https://github.com/aws/jsii/issues/2373)) ([4672e4b](https://github.com/aws/jsii/commit/4672e4b5f37a83ebfe6e2296c81839af6b296d8f)), closes [#2358](https://github.com/aws/jsii/issues/2358)
* **python:** mypy validation errors ([#2472](https://github.com/aws/jsii/issues/2472)) ([2b2e9a8](https://github.com/aws/jsii/commit/2b2e9a86e80a8a608b0ff5f0c4114e2a7b43883e)), closes [#2464](https://github.com/aws/jsii/issues/2464) [#2476](https://github.com/aws/jsii/issues/2476)
* **python:** pin mypy to the exact version ([#2476](https://github.com/aws/jsii/issues/2476)) ([01a46d6](https://github.com/aws/jsii/commit/01a46d64fe30d81913b58c27d81899e1529715a3)), closes [#2464](https://github.com/aws/jsii/issues/2464)
* **rosetta:** correctly emit multi-line string literals ([#2419](https://github.com/aws/jsii/issues/2419)) ([a30a996](https://github.com/aws/jsii/commit/a30a996479f961c93523ce9e378ededa39424948))

## [1.17.1](https://github.com/aws/jsii/compare/v1.17.0...v1.17.1) (2021-01-13)

### Bug Fixes
Expand Down
Loading

0 comments on commit 4595dab

Please sign in to comment.