You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,28 @@
2
2
3
3
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.
* 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))
Copy file name to clipboardExpand all lines: gh-pages/content/user-guides/lib-author/typescript-restrictions.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,14 @@ A *jsii module* can declare dependencies on any other *jsii module* by adding en
14
14
`package.json` file. Since most other platforms do not support multiple different versions of the same library to
15
15
coexist in the same closure, it is recommended to also declare all such dependencies as `peerDependencies`.
16
16
17
+
### non-jsii dependencies
18
+
17
19
Occasionally, a dependency on a *non-jsii module* is useful. Since such dependencies do not have generated bindings in
18
20
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.
21
25
22
26
!!! info
23
27
For more information on `package.json` file contents, refer to the [npm documentation][package-json].
0 commit comments