unstale

npm / jsii

jsii

What changed in jsii 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.

2 breaking1 security7 new APIs and options2 behavior and defaults2 tooling15 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

jsii 68 changes

New APIs and options 2

  • The CLI reads validate-tsconfig defaults from package.json.

    6.0.4release notes

  • Commands were added to validate a tsconfig and inspect tsconfig rule sets.

    6.0.0release notes

Tooling 1

  • TypeScript 6.0 support was added, allowing developers to use this TypeScript release with jsii.

    6.0.0release notes

Fixes and other changes 5

jsii 521 changes

Breaking changes 2

  • Index signatures, previously silently ignored and unavailable in non-JavaScript/TypeScript APIs, now cause an error unless explicitly opted out.

    5.0.0release notes

  • Tuple types, previously interpreted as synonyms to object and resulting in unusable APIs for non-JavaScript/TypeScript languages, now cause an error.

    5.0.0release notes

Security 1

  • Fixes packages not being released with npm provenance attestations.

    5.9.43release notes

New APIs and options 5

  • Warnings can now be suppressed inline with the @jsii suppress directive.

    5.9.29release notes

  • Warnings can now be silenced by JSII code, number, or diagnostic name.

    5.9.29release notes

  • Namespaces can now be configured for files-as-submodules, in addition to directories.

    5.8.23, 5.9.13release notesrelease notes

  • Intersection types are supported, allowing developers to express types that satisfy multiple type constraints.

    5.8.22release notes

  • Use the @jsii ignore doc-tag to explicitly opt index signatures out of the multi-language API.

    5.0.0release notes

Behavior and default changes 2

Tooling 1

  • Compilation output now includes error and warning counts and timing.

    5.9.29release notes

Fixes and other changes 10

  • Fixed broken transitive deprecation warnings.

    5.9.37release notes

  • Fixed the issue where the deprecation warnings source file was too large.

    5.9.36release notes

  • Fixed cyclic dependencies generated in the warnings.js file.

    5.9.36release notes

  • Submodule name collision detection no longer incorrectly triggers for names from a different submodule hierarchy level.

    5.9.31release notes

  • Silenced warnings are excluded from the summary warning count.

    5.9.29release notes

  • Detached diagnostics are now formatted with color.

    5.9.29release notes

  • Detached diagnostics now include source locations.

    5.9.29release notes

  • Diagnostic names now appear after the message text instead of after the source context.

    5.9.29release notes

  • The types field is no longer required in package.json.

    5.9.18release notes

  • Invalid jsii target parameters are now validated, helping developers catch invalid target configuration.

    5.8.23, 5.9.12release notesrelease notes