Hello,
Since the release of DAML SDK 2.10.0 and the release of the SCU tool, I would like to ask who is including the major version in the module names of the packages.
Adding the major version to the package name is now inevitable due to the upgradability feature. But, renaming the module name is not necessary, however, I saw that happening, for example in the DAML Finance library.
So, I wanted to ask who is also renaming the module names when working on a new release, and why you are doing it.
To use SCU-upgrades, one would increment the package version, but change neither the package name or the module name.
To avoid SCU-upgrades (of contracts from different versions of similarly named templates), one can change either the package name or the module name.
I believe you are asking, “Why would someone change both the package name and the module name?”
While I was not involved in the specific example you noticed, I suspect this extra layer of explicitness helps prevent accidental misuse of incompatible template versions and makes dependencies clearer in projects that consume these libraries.
Does that at least address the question you are asking?