Skip to content

Commit 749b9a9

Browse files
authored
chore(release): 1.128.0 (#5073)
See [CHANGELOG](https://github.com/aws/jsii/blob/bump/1.128.0/CHANGELOG.md)
2 parents 2117ad5 + ba686c4 commit 749b9a9

54 files changed

Lines changed: 12602 additions & 9303 deletions

File tree

Some content is hidden

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

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
--site-dir ${{ runner.temp }}/site
4141
working-directory: gh-pages
4242
- name: Upload Artifact
43-
uses: actions/upload-artifact@v6
43+
uses: actions/upload-artifact@v7
4444
with:
4545
name: doc-site
4646
path: ${{ runner.temp }}/site/
@@ -59,7 +59,7 @@ jobs:
5959
ref: gh-pages
6060
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
6161
- name: Download Artifact
62-
uses: actions/download-artifact@v7
62+
uses: actions/download-artifact@v8
6363
with:
6464
name: doc-site
6565
path: ${{ runner.temp }}/site

.github/workflows/main.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
with:
3939
distribution: "zulu"
4040
java-version: "8"
41+
- name: Enable Corepack
42+
run: corepack enable
4143
- name: Set up Node LTS
4244
uses: actions/setup-node@v6
4345
with:
@@ -64,7 +66,7 @@ jobs:
6466
# Prepare dependencies and build
6567
- name: Install Dependencies
6668
run: |-
67-
yarn install --frozen-lockfile
69+
yarn install --immutable
6870
- name: Full Build
6971
run: |-
7072
yarn build
@@ -80,7 +82,7 @@ jobs:
8082
.
8183
# Upload artifact (we'll tar it up to save time)
8284
- name: "Upload Artifact: built-tree"
83-
uses: actions/upload-artifact@v6
85+
uses: actions/upload-artifact@v7
8486
with:
8587
name: built-tree
8688
path: ${{ runner.temp }}/built-tree.tgz
@@ -120,6 +122,8 @@ jobs:
120122
with:
121123
distribution: "zulu"
122124
java-version: "8"
125+
- name: Enable Corepack
126+
run: corepack enable
123127
- name: Set up Node LTS
124128
uses: actions/setup-node@v6
125129
with:
@@ -145,7 +149,7 @@ jobs:
145149
${{ runner.os }}-
146150
# Prepare dependencies and build
147151
- name: Install Dependencies
148-
run: yarn install --frozen-lockfile
152+
run: yarn install --immutable
149153
# Determine a prerelease version (depending on whether this is a PR or Push event)
150154
- name: Standard Version (PR)
151155
if: github.event_name == 'pull_request'
@@ -173,7 +177,7 @@ jobs:
173177
yarn package
174178
# Upload artifacts
175179
- name: "Upload Artifact: release-package"
176-
uses: actions/upload-artifact@v6
180+
uses: actions/upload-artifact@v7
177181
with:
178182
name: release-package
179183
path: ${{ github.workspace }}/dist/
@@ -324,7 +328,7 @@ jobs:
324328
steps:
325329
# Check out the code
326330
- name: Download Artifact
327-
uses: actions/download-artifact@v7
331+
uses: actions/download-artifact@v8
328332
with:
329333
name: built-tree
330334
- name: Extract Artifact
@@ -348,6 +352,16 @@ jobs:
348352
with:
349353
distribution: "zulu"
350354
java-version: ${{ matrix.java }}
355+
- name: Enable Corepack
356+
# The pre-installed Yarn Classic shims on Windows GHA runners shadow
357+
# Corepack's yarn proxy. Re-installing corepack globally replaces them.
358+
# See: https://github.com/actions/setup-node/issues/531
359+
shell: bash
360+
run: |
361+
if [[ "$RUNNER_OS" == "Windows" ]]; then
362+
npm install -g corepack@0.34.6 --force
363+
fi
364+
corepack enable
351365
- name: Set up Node ${{ matrix.node }}
352366
uses: actions/setup-node@v6
353367
with:
@@ -364,7 +378,7 @@ jobs:
364378
- if: runner.os == 'Windows'
365379
name: Windows performance improvements
366380
run: |-
367-
yarn config set cache-folder D:\a\_temp\yarn
381+
yarn config set cacheFolder D:\a\_temp\yarn
368382
echo "TEMP=D:\a\_temp" >> $env:GITHUB_ENV
369383
- name: Cache
370384
uses: actions/cache@v5
@@ -381,7 +395,7 @@ jobs:
381395
# Run the tests
382396
- name: Install Dependencies
383397
run: |-
384-
yarn install --frozen-lockfile
398+
yarn install --immutable
385399
- name: Test
386400
run: |-
387401
yarn test
@@ -422,7 +436,7 @@ jobs:
422436
steps:
423437
# Check out the code
424438
- name: Download Artifact
425-
uses: actions/download-artifact@v7
439+
uses: actions/download-artifact@v8
426440
with:
427441
name: release-package
428442
path: ${{ runner.temp }}/release-package
@@ -474,7 +488,7 @@ jobs:
474488
# Upload artifact only on main and for latest rosetta
475489
- name: "Upload Artifact: integtest_aws-cdk-lib"
476490
if: github.ref == 'ref/head/main' && matrix.rosetta == 'latest'
477-
uses: actions/upload-artifact@v6
491+
uses: actions/upload-artifact@v7
478492
with:
479493
name: integtest_aws-cdk-lib
480494
path: ./node_modules/aws-cdk-lib/dist/

.github/workflows/yarn-upgrade.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- name: Check Out
1717
uses: actions/checkout@v6
1818

19+
- name: Enable Corepack
20+
run: corepack enable
21+
1922
- name: Set up Node
2023
uses: actions/setup-node@v6
2124
with:
@@ -24,7 +27,7 @@ jobs:
2427

2528
- name: Install Tools
2629
run: |-
27-
npm -g install lerna npm-check-updates@^9.0.0
30+
npm -g install lerna npm-check-updates@^20
2831
2932
- name: List Mono-Repo Packages
3033
id: monorepo-packages
@@ -76,7 +79,7 @@ jobs:
7679
# Upgrade devDependencies at repository root
7780
ncu --upgrade --target=minor --filter=@types/inquirer,@types/node,@jest/types,jest-config,jest-circus,eslint
7881
ncu --upgrade --target=patch --filter=typescript
79-
ncu --upgrade --target=latest --reject=@types/inquirer,@types/node,typescript,@jest/types,jest-config,jest-circus,eslint-plugin-import
82+
ncu --upgrade --target=latest --reject=@types/inquirer,@types/node,typescript,@jest/types,jest-config,jest-circus,eslint,eslint-plugin-import
8083
8184
# Upgrade all production dependencies (and other always major-pinned dependencies)
8285
lerna exec --parallel ncu -- --upgrade --target=minor \
@@ -95,8 +98,8 @@ jobs:
9598
- name: Run "yarn install"
9699
run: yarn install
97100

98-
- name: Run "yarn upgrade"
99-
run: yarn upgrade
101+
- name: Run "yarn up"
102+
run: yarn up '*'
100103

101104
# Next, create and upload the changes as a patch file. This will later be downloaded to create a pull request
102105
# Creating a pull request requires write permissions and it's best to keep write privileges isolated.
@@ -105,7 +108,7 @@ jobs:
105108
git add .
106109
git diff --patch --staged > ${{ runner.temp }}/upgrade.patch
107110
- name: Upload Patch
108-
uses: actions/upload-artifact@v6
111+
uses: actions/upload-artifact@v7
109112
with:
110113
name: upgrade.patch
111114
path: ${{ runner.temp }}/upgrade.patch
@@ -122,7 +125,7 @@ jobs:
122125
uses: actions/checkout@v6
123126

124127
- name: Download patch
125-
uses: actions/download-artifact@v7
128+
uses: actions/download-artifact@v8
126129
with:
127130
name: upgrade.patch
128131
path: ${{ runner.temp }}
@@ -137,13 +140,13 @@ jobs:
137140
author: "AWS CDK Automation <aws-cdk-automation@users.noreply.github.com>"
138141
branch: automation/yarn-upgrade
139142
commit-message: |-
140-
chore: npm-check-updates && yarn upgrade
143+
chore: npm-check-updates && yarn up
141144
142-
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
145+
Ran npm-check-updates and yarn up to keep the `yarn.lock` file up-to-date.
143146
# Pull Request details
144-
title: "chore: npm-check-updates && yarn upgrade"
147+
title: "chore: npm-check-updates && yarn up"
145148
body: |-
146-
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
149+
Ran npm-check-updates and yarn up to keep the `yarn.lock` file up-to-date.
147150
labels: contribution/core,dependencies,auto-approve
148151
# Privileged token so automated PR validation happens
149152
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
node_modules/
22
lerna-debug.log
3+
4+
# Yarn Berry
5+
.yarn/*
6+
!.yarn/patches
7+
!.yarn/plugins
8+
!.yarn/releases
9+
!.yarn/sdks
10+
!.yarn/versions
11+
.pnp.*
312
pip-wheel-metadata/
413
tsconfig.tsbuildinfo
514
.DS_Store

.mergify/config.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ pull_request_rules:
111111
- status-success=Unit Tests
112112
- status-success=Integration test (jsii-pacmak)
113113

114-
- name: Clean branch up
115-
actions:
116-
delete_head_branch: {}
117-
conditions:
118-
- merged
119-
120114
- name: Remove Label
121115
actions:
122116
label:

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
npmMinimalAgeGate: 3d

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
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.128.0](https://github.com/aws/jsii/compare/v1.127.0...v1.128.0) (2026-04-09)
6+
7+
8+
### Bug Fixes
9+
10+
* **kernel:** clean up resolved promises from #promises map ([#5054](https://github.com/aws/jsii/issues/5054)) ([e1766bd](https://github.com/aws/jsii/commit/e1766bdd0c0335b1c86d9ec3bfbc22f8eb645335))
11+
512
## [1.127.0](https://github.com/aws/jsii/compare/v1.126.0...v1.127.0) (2026-02-25)
613

714

buildspec.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ version: 0.2
33
phases:
44
install:
55
commands:
6-
# Temporarily - install yarn if it's not there already
7-
- yarn --version || npm install --global yarn
8-
- yarn install --frozen-lockfile
6+
- corepack enable
7+
- yarn install --immutable
98
build:
109
commands:
1110
- yarn build && yarn test

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.6.1
22
mkdocs-awesome-pages-plugin~=2.10.1
3-
mkdocs-material~=9.7.2
3+
mkdocs-material~=9.7.6
44
mkdocs-git-revision-date-plugin~=0.3.2

0 commit comments

Comments
 (0)