github projen/projen v0.81.0

latest releases: v0.81.8, v0.81.7, v0.81.6...
26 days ago

0.81.0 (2024-04-11)

⚠ BREAKING CHANGES

  • subprojects: by default projen will not be installed in subproject directories. To install projen in a subproject directory, explicitly set projenDevDependency: true in the subproject.

Installing projen in sub-projects leads to weird behavior where the sub-project is referencing different source than the parent project - which breaks things like instanceof expressions when the two class objects are from different sources. I think it makes more sense to only install a single copy of projen for an entire project graph.
I suspect that enabling sub-project installation by default was an oversight originally since it makes sense to have that default for the root project. So I think its safe to consider this a non-breaking change since the default will stay unchanged for a root project.

Bug Fixes

  • subprojects: conflicting projenDevDependency is added to subprojects by default (#3506) (c6d17e5), closes #3304

Don't miss a new projen release

NewReleases is sending notifications on new releases.