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

Update inversify #477

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Update inversify #477

merged 1 commit into from
Dec 17, 2024

Conversation

tortmayr
Copy link
Contributor

The inversify dependency in sprotty is locked to 6.0.x. This version is now pretty outdated and there have been a lot of improvements in inversify.js that we can not consume yet.
In addition, this hardlock might block downstream projects.
In GLSP for instance, we might integrate into other components that also use inversify.js (e.g. Theia).
Unfortunately, dependency injection breaks if multiple different inversify.js versions are resolved so we have to align this.

This change updates to the latest inversify.js version (using 6.1.3 as minimum version same as in Theia)

@tortmayr tortmayr requested a review from spoenemann December 15, 2024 11:48
@tortmayr
Copy link
Contributor Author

@spoenemann
This inversify version issue currently block a new GLSP release. To fix this we would also need a new (minor) sprotty release.
From your point of view, is there anything preventing a new release after this is merged?

@tortmayr tortmayr merged commit d22ac0e into master Dec 17, 2024
2 checks passed
@spoenemann spoenemann deleted the update-inversify branch December 17, 2024 13:32
@tortmayr tortmayr added this to the v1.4.0 milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants