0.81.0 (2024-04-11)
⚠ BREAKING CHANGES
- subprojects: by default
projen
will not be installed in subproject directories. To installprojen
in a subproject directory, explicitly setprojenDevDependency: 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.