Skip to content

Commit bce6a1d

Browse files
authored
chore(release): 1.80.0 (#4041)
See [CHANGELOG](https://github.com/aws/jsii/blob/bump/1.80.0/CHANGELOG.md)
2 parents b22f628 + 047231a commit bce6a1d

File tree

35 files changed

+1457
-462
lines changed

35 files changed

+1457
-462
lines changed

.github/workflows/docker-images.yml

Lines changed: 46 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -169,57 +169,60 @@ jobs:
169169
-f superchain/Dockerfile \
170170
.
171171
172+
# Re-authenticate to ECR Public, this time with image-push permissions
173+
- name: Federate with AWS role for ECR Public push
174+
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main')
175+
uses: aws-actions/configure-aws-credentials@v2
176+
with:
177+
aws-region: us-east-1
178+
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_FOR_ECR_PUBLIC_PUSH }}
179+
role-session-name: GHA_aws-jsii_docker-images-PUSH
180+
- name: Authenticate with ECR Public for Push
181+
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main')
182+
uses: aws-actions/amazon-ecr-login@v1
183+
with:
184+
registry-type: public
185+
172186
# Only when puhsing to main/release from now on
173187
- name: Publish (nightly)
174-
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref != 'refs/heads/release'
188+
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
175189
# NOTE BELOW: The `--tag` flags can be provided multiple times... we use that capability...
176190
run: |-
177191
# If the current version is the default version, also tag this with the unqualified ':nightly' label
178192
if [[ "${{ matrix.node }}" == "$DEFAULT_NODE_MAJOR_VERSION" ]]; then
179-
docker buildx build \
180-
--builder ${{ steps.buildx.outputs.name }} \
181-
--platform linux/amd64,linux/arm64 \
182-
--target superchain \
183-
--cache-from type=local,src=/tmp/.buildx-cache \
184-
--cache-to type=local,dest=/tmp/.buildx-cache \
185-
--push \
186-
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
187-
--build-arg COMMIT_ID='${{ github.sha }}' \
188-
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
189-
--tag "jsii/superchain:1-buster-slim-nightly" \
190-
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}-nightly"\
191-
-f superchain/Dockerfile \
193+
docker buildx build \
194+
--builder ${{ steps.buildx.outputs.name }} \
195+
--platform linux/amd64,linux/arm64 \
196+
--target superchain \
197+
--cache-from type=local,src=/tmp/.buildx-cache \
198+
--cache-to type=local,dest=/tmp/.buildx-cache \
199+
--push \
200+
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
201+
--build-arg COMMIT_ID='${{ github.sha }}' \
202+
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
203+
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim-nightly" \
204+
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim-node${{ matrix.node }}-nightly" \
205+
--tag "jsii/superchain:1-buster-slim-nightly" \
206+
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}-nightly" \
207+
-f superchain/Dockerfile \
192208
.
193209
else
194-
docker buildx build \
195-
--builder ${{ steps.buildx.outputs.name }} \
196-
--platform linux/amd64,linux/arm64 \
197-
--target superchain \
198-
--cache-from type=local,src=/tmp/.buildx-cache \
199-
--cache-to type=local,dest=/tmp/.buildx-cache \
200-
--push \
201-
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
202-
--build-arg COMMIT_ID='${{ github.sha }}' \
203-
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
204-
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}-nightly"\
205-
-f superchain/Dockerfile \
210+
docker buildx build \
211+
--builder ${{ steps.buildx.outputs.name }} \
212+
--platform linux/amd64,linux/arm64 \
213+
--target superchain \
214+
--cache-from type=local,src=/tmp/.buildx-cache \
215+
--cache-to type=local,dest=/tmp/.buildx-cache \
216+
--push \
217+
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
218+
--build-arg COMMIT_ID='${{ github.sha }}' \
219+
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
220+
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim-node${{ matrix.node }}-nightly" \
221+
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}-nightly" \
222+
-f superchain/Dockerfile \
206223
.
207224
fi
208225
209-
# We only switch to an ECR-Push capable role if this is a "release" push, for safety reasons...
210-
- name: Federate with AWS role for ECE Public push
211-
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/release'
212-
uses: aws-actions/configure-aws-credentials@v2
213-
with:
214-
aws-region: us-east-1
215-
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_FOR_ECR_PUBLIC_PUSH }}
216-
role-session-name: GHA_aws-jsii_docker-images-PUSH
217-
- name: Authenticate with ECR Public for Push
218-
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/release'
219-
uses: aws-actions/amazon-ecr-login@v1
220-
with:
221-
registry-type: public
222-
223226
- name: Publish (latest)
224227
if: steps.should-run.outputs.result == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/release'
225228
# NOTE BELOW: The `--tag` flags can be provided multiple times... we use that capability...
@@ -236,10 +239,10 @@ jobs:
236239
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
237240
--build-arg COMMIT_ID='${{ github.sha }}' \
238241
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
239-
--tag "jsii/superchain:1-buster-slim" \
240-
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}" \
241242
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim" \
242243
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim-node${{ matrix.node }}" \
244+
--tag "jsii/superchain:1-buster-slim" \
245+
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}" \
243246
-f superchain/Dockerfile \
244247
.
245248
else
@@ -253,8 +256,8 @@ jobs:
253256
--build-arg BUILD_TIMESTAMP="${{ steps.build-time.outputs.value }}" \
254257
--build-arg COMMIT_ID='${{ github.sha }}' \
255258
--build-arg NODE_MAJOR_VERSION=${{ matrix.node }} \
256-
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}" \
257259
--tag "${{ secrets.ECR_PUBLIC_REGISTRY }}:1-buster-slim-node${{ matrix.node }}" \
260+
--tag "jsii/superchain:1-buster-slim-node${{ matrix.node }}" \
258261
-f superchain/Dockerfile \
259262
.
260263
fi

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
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.80.0](https://github.com/aws/jsii/compare/v1.79.0...v1.80.0) (2023-04-04)
6+
7+
8+
### Features
9+
10+
* **rosetta:** handle tablets with a streaming JSON codec ([#4034](https://github.com/aws/jsii/issues/4034)) ([d2ecb6d](https://github.com/aws/jsii/commit/d2ecb6d2a6a460e309e4985dc001a6b749b3aac7)), closes [aws/jsii-rosetta#43](https://github.com/aws/jsii-rosetta/issues/43)
11+
12+
13+
### Bug Fixes
14+
15+
* enable dereference when copying module to tmp dir ([#4030](https://github.com/aws/jsii/issues/4030)) ([e00102b](https://github.com/aws/jsii/commit/e00102bbd412be0edd5497948c63ae61c6717c5e))
16+
* **jsii:** incorrect symbol-id generated with typesVersions ([#4037](https://github.com/aws/jsii/issues/4037)) ([1f06ac9](https://github.com/aws/jsii/commit/1f06ac9d6937e823e4333300398260d50cce2978))
17+
518
## [1.79.0](https://github.com/aws/jsii/compare/v1.78.1...v1.79.0) (2023-03-23)
619

720

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ The [Python](./packages/jsii-pacmak/lib/targets/python.ts) target is a good
163163
example to work from.
164164

165165
## Releasing
166-
### The `jsii/superchain` Docker image
166+
### The `public.ecr.aws/jsii/superchain` Docker image
167167

168-
Upon merging new changes to the `main` branch, the `jsii/superchain:nightly`
169-
image will be released by TravisCI after a last validation build.
168+
Upon merging new changes to the `main` branch, the `public.ecr.aws/jsii/superchain:1-buster-slim-nightly`
169+
image will be released after a last validation build.
170170

171171
Upon making a new `jsii` release (when the GitHub release entry - and its
172-
corresponding git tag - is created), the `jsii/superchain:latest` image will
173-
be released by TravisCI after a last validation build.
172+
corresponding git tag - is created), the `public.ecr.aws/jsii/superchain:1-buster-slim` image will
173+
be released after a last validation build.
174174

175175
The latest release information (for both of the Docker image tags) can be seen
176-
on [Docker Hub](https://hub.docker.com/r/jsii/superchain/tags)
176+
on [ECR Public Gallery](https://gallery.ecr.aws/jsii/superchain)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![All Contributors](https://img.shields.io/github/all-contributors/aws/jsii/main?label=%E2%9C%A8%20All%20Contributors)](#contributors-)
55
[![Build Status](https://github.com/aws/jsii/workflows/Main/badge.svg)](https://github.com/aws/jsii/actions?query=workflow%3AMain+branch%3Amain)
66
[![npm](https://img.shields.io/npm/v/jsii?logo=npm)](https://www.npmjs.com/package/jsii)
7-
[![docker](https://img.shields.io/badge/docker-jsii%2Fsuperchain-brightgreen?logo=docker)](https://hub.docker.com/r/jsii/superchain)
7+
[![docker](https://img.shields.io/badge/Docker-public.ecr.aws%2Fjsii%2Fsuperchain-brightgreen?logo=docker)](https://gallery.ecr.aws/jsii/superchain)
88

99
## Overview
1010

gh-pages/content/specification/5-new-language-intake.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ code can be written. This component must be written in the new language.
5959
Once code is generated and it has a _host_ runtime library to rely on, [`jsii-pacmak`] needs to receive the additional
6060
logic required to compile and package the generated libraries as required, producing ready-to-publish artifacts.
6161

62-
The necessary toolchain needs to be added to the [`jsii/superchain`] _Docker_ image, so that `jsii` customers can rely
62+
The necessary toolchain needs to be added to the [`public.ecr.aws/jsii/superchain`] _Docker_ image, so that `jsii` customers can rely
6363
on this to build artifacts for any of the supported languages.
6464

6565
In addition to this, standardized _Amazon CodePipeline_ actions need to be developed in order to support publishing to
6666
the relevant idiomatic package managers.
6767

68-
[`jsii/superchain`]: https://github.com/aws/jsii/tree/main/superchain
68+
[`public.ecr.aws/jsii/superchain`]: https://github.com/aws/jsii/tree/main/superchain
6969

7070
## Compliance Tests
7171

gh-pages/content/user-guides/language-support/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ possible to publish artifacts even when tests in the suite are failing. As soon
105105

106106
## Building & Packaging
107107

108-
The necessary toolchains should be added to he [`jsii/superchain`] Docker image, so that the [`jsii-pacmak`] generation
109-
can be changed to support building ready to publish artifacts instead of just code.
108+
The necessary toolchains should be added to he [`public.ecr.aws/jsii/superchain`] Docker image, so that the
109+
[`jsii-pacmak`] generation can be changed to support building ready to publish artifacts instead of just code.
110110

111111
Before publishing any artifacts, ensure all packages (the _host library_ as well as generated artifacts) are designated
112112
as _experimental_ (e.g: **Python** packages were annotated with the `Development Status :: 4 - Beta` trove classifier on
@@ -165,7 +165,7 @@ declared _Generally Available_. At this point, breaking changes are no longer po
165165
[`jsii-pacmak`]: ../../packages/jsii-pacmak
166166
[`jsii-rosetta`]: ../../packages/jsii-rosetta
167167
[standard compliance suite]: ../../specification/4-standard-compliance-suite.md
168-
[`jsii/superchain`]: ../../superchain
168+
[`public.ecr.aws/jsii/superchain`]: ../../superchain
169169
[`aws-delivlib`]: https://github.com/awslabs/aws-delivlib
170170
[aws cdk]: https://github.com/aws/aws-cdk
171171
[semantic versioning]: https://semver.org

gh-pages/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mkdocs~=1.4.2
22
mkdocs-awesome-pages-plugin~=2.8.0
3-
mkdocs-material~=9.1.2
3+
mkdocs-material~=9.1.5
44
mkdocs-git-revision-date-plugin~=0.3.2

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"rejectCycles": true
1111
}
1212
},
13-
"version": "1.79.0"
13+
"version": "1.80.0"
1414
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"devDependencies": {
1818
"@jest/types": "^28.1.3",
1919
"@types/jest": "^29.5.0",
20-
"@types/node": "^14.18.40",
21-
"@typescript-eslint/eslint-plugin": "^5.56.0",
22-
"@typescript-eslint/parser": "^5.56.0",
20+
"@types/node": "^14.18.42",
21+
"@typescript-eslint/eslint-plugin": "^5.57.0",
22+
"@typescript-eslint/parser": "^5.57.0",
2323
"all-contributors-cli": "^6.24.0",
24-
"eslint": "^8.36.0",
24+
"eslint": "^8.37.0",
2525
"eslint-config-prettier": "^8.8.0",
2626
"eslint-import-resolver-node": "^0.3.7",
2727
"eslint-import-resolver-typescript": "^3.5.3",
@@ -31,8 +31,8 @@
3131
"jest-circus": "^28.1.3",
3232
"jest-config": "^28.1.3",
3333
"jest-expect-message": "^1.1.3",
34-
"lerna": "^6.5.1",
35-
"prettier": "^2.8.6",
34+
"lerna": "^6.6.1",
35+
"prettier": "^2.8.7",
3636
"standard-version": "^9.5.0",
3737
"ts-node": "^10.9.1",
3838
"typescript": "~4.7.4"

packages/@jsii/benchmarks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@types/glob": "^8.1.0",
17-
"glob": "^9.3.1"
17+
"glob": "^9.3.2"
1818
},
1919
"scripts": {
2020
"build": "yarn --silent tsc --build && npm run lint",

0 commit comments

Comments
 (0)