Skip to content

Upgrading Amazon.JSII.Runtime 0.7 to 0.8

Breaking0.7.15 → 0.8.2Breaking3New3Changed1Fixed10

BreakingUpgrade verdict

3 breaking changes.

  • You can no longer export constant enums from jsii code.
  • If you define a data type, every property must be readonly or the build will fail.
  • Members starting with an underscore must be tagged @internal, which hides them from type declarations and jsii APIs.
3 items need code or config changes
Breaking3
Prohibits exported const enums in jsii compilation.
Requires all properties in data type interfaces to be marked readonly, otherwise jsii compilation fails.
readonly
Requires member names beginning with underscore to be marked @internal in their jsdocs.
@internal