Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency jsii to v5 #45

Merged
merged 3 commits into from
May 19, 2023
Merged

Conversation

cu-infra-svc-git
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
jsii (source) ^1.77.0 -> ^5.0.5 age adoption passing confidence

Release Notes

aws/jsii-compiler

v5.0.5

Compare Source

What's Changed

Full Changelog: aws/jsii-compiler@v5.0.4...v5.0.5

v5.0.4

Compare Source

What's Changed

Full Changelog: aws/jsii-compiler@v5.0.3...v5.0.4

v5.0.3

Compare Source

What's Changed

Full Changelog: aws/jsii-compiler@v5.0.2...v5.0.3

v5.0.2

Compare Source

What's Changed

Full Changelog: aws/jsii-compiler@v5.0.1...v5.0.2

v5.0.1

Compare Source

What's Changed

Full Changelog: aws/jsii-compiler@v5.0.0...v5.0.1

v5.0.0

Announcing jsii@5.0.x

Starting with this release, all packages in the jsii toolchain that internally use the TypeScript compiler (i.e: jsii and jsii-rosetta) will be released on a new release line that uses the same major.minor number as the TypeScript compiler they are built against. All other packages (such as @jsii/spec, jsii-pacmak, etc...) will continue to be released against the same 1.x release line they are currently released in.

The TypeScript compiler does not conform to semantic versioning), and instead guarantees the absence of breaking changes within a given major.minor release line. We recommend developers model their dependencies on jsii and jsii-rosetta using a minor-pinned version range (e.g: ~5.0.0) in order to avoid new TypeScript language versions breaking their codebases at undesirable times.

New features will be introduced only in the latest major.minor release line of jsii and jsii-rosetta (typically corresponding to the current stable release of the TypeScript compiler). Breaking changes may be introduced with every new major.minor release line and will continue to be documented in the CHANGELOG.

Users may need to modify their code when upgrading from one major.minor release line to another (addressing TypeScript language evolutions and jsii feature evolutions). While upgrading to the latest release line of jsii helps minimize the effort required for these updates, the release strategy allows developers to do so on their own schedule.

This change is made to allow developers to benefit from the latest and greatest features of the TypeScript language without requiring the entire ecosystem to make the switch at the same time.

The complete support policy applicable for this release of jsii-rosetta can be found on GitHub.

Breaking Changes

In order to allow developers to use the latest & greatest features of TypeScript, the jsii compiler and jsii-rosetta are now made in-line with those of the typescript compiler (e.g: jsii@5.0.x is built on TypeScript 5.0.x). Since the TypeScript compiler does not follow semantic versioning, we strongly recommend you upgrade your devDependency on jsii and jsii-rosetta to use a tilde range (e.g: ~5.0.0) to be able to control when you migrate to future TypeScript language versions. New jsii and jsii-rosetta features will only be introduced in the latest release line, while older release lines only receive bug fixes until they are declared end-of-life.

The jsii@1.x release line silently ignored index signatures, which were consequently not available in non-Javascript/TypeScript APIs. These are now an error with jsii@5.0.x. Users can explicitly opt index signatures out of their multi-language api by using the @jsii ignore doc-tag.

The jsii@1.x release incorrectly interpreted tuple types as synonyms to object, resulting in the API being unusable from non-Javascript/TypeScript languages (attempting to use would result in a runtime error). These are now an error with jsii@5.0.x.

TypeScript Updates

This release of jsii-rosetta is built on TypeScript 5.0. The TypeScript language includes syntax breaking changes since TypeScript 3.9 that is used by jsii-rosetta@1.x. More information can be found in the TypeScript release nodes:

Full Changelog: https://github.com/aws/jsii-rosetta/commits/v5.0.0


Configuration

📅 Schedule: Branch creation - "before 1am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

Merging #45 (639897f) into main (a59a164) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #45   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files           6        6           
  Lines        1641     1641           
  Branches      167      167           
=======================================
  Hits         1599     1599           
  Misses         42       42           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a59a164...639897f. Read the comment docs.

Signed-off-by: github-actions <github-actions@github.com>
@cu-infra-svc-git
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@ahammond ahammond enabled auto-merge (squash) May 19, 2023 17:30
@ahammond ahammond merged commit 5b16e29 into main May 19, 2023
@ahammond ahammond deleted the renovate/jsii-5.x branch May 19, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants