Skip to content

Commit db7f27d

Browse files
authored
chore(release): 1.92.0 (#4336)
See [CHANGELOG](https://github.com/aws/jsii/blob/bump/1.92.0/CHANGELOG.md)
2 parents 1b1f239 + 7d2da6f commit db7f27d

File tree

57 files changed

+837
-682
lines changed

Some content is hidden

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

57 files changed

+837
-682
lines changed

.github/workflows/docker-images.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
debian:
25-
- 'buster' # 10
26-
node: ['16', '18', '20']
25+
- 'buster' # 10
26+
- 'bullseye' # 11
27+
node: ['18', '20']
2728
include:
28-
- debian: 'bullseye' # 11
29-
node: '20'
3029
- debian: 'bookworm' #12
3130
node: '20'
3231
env:
3332
# Node version whose images will be aliased without the -nodeXX segment
34-
DEFAULT_NODE_MAJOR_VERSION: 16
33+
DEFAULT_NODE_MAJOR_VERSION: 18
3534
steps:
3635
- name: Check out
3736
uses: actions/checkout@v4

.github/workflows/main.yml

Lines changed: 27 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
with:
4343
distribution: 'zulu'
4444
java-version: '8'
45-
- name: Set up Node 16
45+
- name: Set up Node 18
4646
uses: actions/setup-node@v4
4747
with:
4848
cache: yarn
49-
node-version: '16'
50-
- name: Set up Python 3.7
49+
node-version: '18'
50+
- name: Set up Python 3.8
5151
uses: actions/setup-python@v4
5252
with:
53-
python-version: '3.7'
53+
python-version: '3.8'
5454
cache: pip
5555
- name: Install python3-venv
5656
run: sudo apt install -y python3-venv
@@ -125,15 +125,15 @@ jobs:
125125
with:
126126
distribution: 'zulu'
127127
java-version: '8'
128-
- name: Set up Node 16
128+
- name: Set up Node 18
129129
uses: actions/setup-node@v4
130130
with:
131131
cache: yarn
132-
node-version: '16'
133-
- name: Set up Python 3.7
132+
node-version: '18'
133+
- name: Set up Python 3.8
134134
uses: actions/setup-python@v4
135135
with:
136-
python-version: '3.7'
136+
python-version: '3.8'
137137
cache: pip
138138
- name: Install python3-venv
139139
run: sudo apt install -y python3-venv
@@ -195,101 +195,94 @@ jobs:
195195
dotnet: ['6.0.x']
196196
go: ['1.18']
197197
java: ['8']
198-
node: ['16'] # EOL 2023-09-11
198+
node: ['18'] # EOL 2025-04-30
199199
os: [ubuntu-latest]
200-
python: ['3.7']
201-
# Add specific combinations to be tested against "node 14" (to restrict cardinality)
200+
python: ['3.8']
201+
# Add specific combinations to be tested against (to restrict cardinality)
202202
include:
203203
# Test using Windows
204204
- title: 'Windows'
205205
os: windows-latest
206206
dotnet: '6.0.x'
207207
go: '1.18'
208208
java: '8'
209-
node: '16'
210-
python: '3.7'
209+
node: '18'
210+
python: '3.8'
211211
# Test using macOS
212212
- title: 'macOS'
213213
os: macos-latest
214214
dotnet: '6.0.x'
215215
go: '1.18'
216216
java: '8'
217-
node: '16'
218-
python: '3.7'
217+
node: '18'
218+
python: '3.8'
219219
# Test alternate Nodes
220-
- title: 'Node 16'
221-
java: '8'
222-
dotnet: '6.0.x'
223-
go: '1.18'
224-
node: '16' # EOL 2023-09-11
225-
os: ubuntu-latest
226-
python: '3.7'
227220
- title: 'Node 18'
228221
java: '8'
229222
dotnet: '6.0.x'
230223
go: '1.18'
231224
node: '18' # EOL 2025-04-30
232225
os: ubuntu-latest
233-
python: '3.7'
226+
python: '3.8'
234227
- title: 'Node 20'
235228
java: '8'
236229
dotnet: '6.0.x'
237230
go: '1.18'
238231
node: '20' # EOL 2026-04-30
239232
os: ubuntu-latest
240-
python: '3.7'
233+
python: '3.8'
241234
# Test alternate .NETs
242235
- title: '.NET 7.0'
243236
java: '8'
244237
dotnet: '7.0.x'
245238
go: '1.18'
246-
node: '16'
239+
node: '18'
247240
os: ubuntu-latest
248-
python: '3.7'
241+
python: '3.8'
249242
# Test alternate Gos
250243
- title: 'Go 1.19'
251244
java: '8'
252245
dotnet: '6.0.x'
253246
go: '1.19'
254-
node: '16'
247+
node: '18'
255248
os: ubuntu-latest
256-
python: '3.7'
249+
python: '3.8'
257250
# Test alternate Javas
258251
- title: 'Java 11'
259252
java: '11'
260253
dotnet: '6.0.x'
261254
go: '1.18'
262-
node: '16'
255+
node: '18'
263256
os: ubuntu-latest
264-
python: '3.7'
257+
python: '3.8'
265258
# Test alternate Pythons
266259
- title: 'Python 3.8'
267260
python: '3.8'
268261
dotnet: '6.0.x'
269262
go: '1.18'
270263
java: '8'
271-
node: '16'
264+
node: '18'
272265
os: ubuntu-latest
273266
- title: 'Python 3.9'
274267
python: '3.9'
275268
dotnet: '6.0.x'
276269
go: '1.18'
277270
java: '8'
278-
node: '16'
271+
node: '18'
279272
os: ubuntu-latest
280273
- title: 'Python 3.10'
281274
python: '3.10'
282275
dotnet: '6.0.x'
283276
go: '1.18'
284277
java: '8'
285-
node: '16'
278+
node: '18'
286279
os: ubuntu-latest
287280
- title: 'Python 3.11'
288281
python: '3.11'
289282
dotnet: '6.0.x'
290283
go: '1.18'
291284
java: '8'
292-
node: '16'
285+
node: '18'
293286
os: ubuntu-latest
294287

295288
runs-on: ${{ matrix.os }}
@@ -479,4 +472,3 @@ jobs:
479472
with:
480473
name: integtest_aws-cdk-lib
481474
path: ./node_modules/aws-cdk-lib/dist/
482-

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
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.92.0](https://github.com/aws/jsii/compare/v1.91.0...v1.92.0) (2023-11-16)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* jsii-pacmak and the libraries it generates for Python targets now require a minimum Python version of 3.8, instead of 3.7 previously. We recommend users upgrade to the latest supported Python release (Python 3.11).
11+
* all libraries and tools now require a minimum version of Node.js 18, instead of 16 previously. We recommend users upgrade to the latest supported Node.js release (Node.js 20).
12+
13+
### Features
14+
15+
* **jsii-reflect:** TypeSystem can be locked to improve reflection performance ([#4318](https://github.com/aws/jsii/issues/4318)) ([c87da43](https://github.com/aws/jsii/commit/c87da436671d677d1fee276d0932ea7edd431f78))
16+
* make node 18 the default ([#4325](https://github.com/aws/jsii/issues/4325)) ([8784725](https://github.com/aws/jsii/commit/87847254c8a39f6e99383bfa3a375ae6c8d9a8a5))
17+
* **superchain:** publish a bullseye image with node18 & python 3.9 ([#4326](https://github.com/aws/jsii/issues/4326)) ([7197b4f](https://github.com/aws/jsii/commit/7197b4f21e7f6776fbbfe5bac7f03a308cd9f7c0))
18+
* switch to python 3.8 ([#4327](https://github.com/aws/jsii/issues/4327)) ([416e2b5](https://github.com/aws/jsii/commit/416e2b504895800281a3598b3139b141330aa906))
19+
20+
21+
### Bug Fixes
22+
23+
* **kernel:** invokeBinScript fails when using symlinked cache ([#4324](https://github.com/aws/jsii/issues/4324)) ([a2ab316](https://github.com/aws/jsii/commit/a2ab31609d361ac5ceca6c928584ec59f2d705d3))
24+
* **pacmak:** *.tsbuildinfo not in auto-generated .npmignore file ([#4236](https://github.com/aws/jsii/issues/4236)) ([d55b8d5](https://github.com/aws/jsii/commit/d55b8d57ce43dc9fd3d5132d7ba3ad0aa9ead3b9)), closes [#3978](https://github.com/aws/jsii/issues/3978)
25+
* **superchain:** installed setuptools is an unsupported version ([#4333](https://github.com/aws/jsii/issues/4333)) ([c0a4140](https://github.com/aws/jsii/commit/c0a41409568bc71b086fd1c56e2c5a08f708c3ad))
26+
527
## [1.91.0](https://github.com/aws/jsii/compare/v1.90.0...v1.91.0) (2023-10-24)
628

729
## [1.90.0](https://github.com/aws/jsii/compare/v1.89.0...v1.90.0) (2023-10-06)

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ in your development environment.
4545
+ [`maven >= 3.0.5`](https://maven.apache.org)
4646
- [.NET `6.0`] or later
4747
+ *Recommended:* [`mono >= 6`](https://www.mono-project.com)
48-
- [Python `3.7.3`] or later
48+
- [Python `3.8.10`] or later
4949
+ [`pip`](https://pip.pypa.io/en/stable/installing/)
5050
+ [`setuptools >= 38.6.0`](https://pypi.org/project/setuptools/)
5151
+ [`wheel`](https://pypi.org/project/wheel/)
@@ -57,7 +57,7 @@ in your development environment.
5757
[Oracle's OpenJDK8]: http://openjdk.java.net/install/
5858
[Amazon Corretto 8]: https://aws.amazon.com/corretto/
5959
[.NET `6.0`]: https://www.microsoft.com/net/download
60-
[Python `3.7.3`]: https://www.python.org/downloads/release/python-373/
60+
[Python `3.8.10`]: https://www.python.org/downloads/release/python-3810/
6161
[Go]: https://go.dev/dl/
6262

6363
## Getting Started
@@ -228,13 +228,14 @@ The [Python](./packages/jsii-pacmak/lib/targets/python.ts) target is a good
228228
example to work from.
229229

230230
## Releasing
231+
231232
### The `public.ecr.aws/jsii/superchain` Docker image
232233

233-
Upon merging new changes to the `main` branch, the `public.ecr.aws/jsii/superchain:1-buster-slim-nightly`
234+
Upon merging new changes to the `main` branch, the `public.ecr.aws/jsii/superchain:1-bullseye-slim-nightly`
234235
image will be released after a last validation build.
235236

236237
Upon making a new `jsii` release (when the GitHub release entry - and its
237-
corresponding git tag - is created), the `public.ecr.aws/jsii/superchain:1-buster-slim` image will
238+
corresponding git tag - is created), the `public.ecr.aws/jsii/superchain:1-bullseye-slim` image will
238239
be released after a last validation build.
239240

240241
The latest release information (for both of the Docker image tags) can be seen

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ in significant re-engineering effort:
6969
- How are dependencies modeled? If [semantic versioning] is not the norm, what is the strategy to correctly represent
7070
semantic version ranges?
7171
- What are the toolchain and platform requirements?
72-
- For example, **Java** requires an OpenJDK 8 distribution and `maven`, **Python** requires `python` 3.7 or above,
72+
- For example, **Java** requires an OpenJDK 8 distribution and `maven`, **Python** requires `python` 3.8 or above,
7373
etc...
7474

7575
## Code Generation

gh-pages/content/user-guides/lib-author/configuration/targets/python.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ The `python` target requires two configuration entries:
1616
- Additionally, the following `Programming Language ::` classifiers are already set (more could be added by the user
1717
if relevant):
1818
- `Programming Language :: Python :: 3 :: Only`
19-
- `Programming Language :: Python :: 3.7`
2019
- `Programming Language :: Python :: 3.8`
2120
- `Programming Language :: Python :: 3.9`
2221
- `Programming Language :: Python :: 3.10`

gh-pages/content/user-guides/lib-author/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ to produce releasable artifacts.
1919
| .NET | .NET ≥ 6.0 |
2020
| Go | Go ≥ 1.18 |
2121
| Java | JDK ≥ 8 *and* Maven ≥ 3.6 |
22-
| Python | Python ≥ 3.7 |
22+
| Python | Python ≥ 3.8 |
2323

2424

2525
## :octicons-desktop-download-24: Download Locations

gh-pages/content/user-guides/lib-author/typescript-restrictions.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ A *jsii module* can declare dependencies on any other *jsii module* by adding en
1414
`package.json` file. Since most other platforms do not support multiple different versions of the same library to
1515
coexist in the same closure, it is recommended to also declare all such dependencies as `peerDependencies`.
1616

17+
### non-jsii dependencies
18+
1719
Occasionally, a dependency on a *non-jsii module* is useful. Since such dependencies do not have generated bindings in
1820
all the supported languages, they must be bundled with the *jsii module* that depends on them, by adding the library
19-
into the `bundleDependencies` array in `package.json`. The API of the *jsii module* can not expose any type from bundled
20-
dependencies, since those types would not be available in other languages.
21+
into the `bundleDependencies` array in `package.json`.
22+
23+
The API of the *jsii module* can not expose any type from bundled dependencies, since those types would not be available in other languages.
24+
TypeScript files that include a non-jsii dependency (e.g. a lambda handler for an AWS CDK Construct) cannot be exported from the `main`/`types` entry point.
2125

2226
!!! info
2327
For more information on `package.json` file contents, refer to the [npm documentation][package-json].

gh-pages/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ markdown_extensions:
5858
- pymdownx.superfences
5959
- pymdownx.tabbed
6060
- pymdownx.emoji:
61-
emoji_index: !!python/name:materialx.emoji.twemoji
62-
emoji_generator: !!python/name:materialx.emoji.to_svg
61+
emoji_index: !!python/name:material.extensions.emoji.twemoji
62+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
6363

6464
plugins:
6565
- awesome-pages:

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.5.3
22
mkdocs-awesome-pages-plugin~=2.9.2
3-
mkdocs-material~=9.4.6
3+
mkdocs-material~=9.4.8
44
mkdocs-git-revision-date-plugin~=0.3.2

0 commit comments

Comments
 (0)