# Including version number in module names since SDK 2.10.0

**URL:** <https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955>\
**Category:** App Development\
**Tags:** daml\
**Created:** [May 8, 2025, 12:42pm UTC](https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955 "2025-05-08T12:42:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cohen.avraham](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@cohen.avraham](https://forum.canton.network/u/cohen.avraham)\
**Post date:** [May 8, 2025, 12:42pm UTC](https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955/1 "2025-05-08T12:42:28Z")

</div>

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.

Thanks,

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [May 8, 2025, 1:06pm UTC](https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955/2 "2025-05-08T13:06:48Z")

</div>

> [@cohen.avraham](#):
>
> renaming the module name is not necessary, however, I saw that happening, for example in the DAML Finance library.

There could be a variety of reasons for renaming modules. Would you be willing to point to a specific example?

---

<div class="post-metadata">

**Author:** ![cohen.avraham](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@cohen.avraham](https://forum.canton.network/u/cohen.avraham)\
**Post date:** [May 8, 2025, 7:32pm UTC](https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955/3 "2025-05-08T19:32:34Z")

</div>

Hi @WallaceKelly for your response.  
For example, you can see that there is an additional folder that represents the 4th version:  
[daml-finance/src/main/daml/Daml/Finance/Account/V4/Account.daml at 155f931b6ebe7d3662fd72788cb17f0bfb5a7ba6 · digital-asset/daml-finance · GitHub](https://github.com/digital-asset/daml-finance/blob/155f931b6ebe7d3662fd72788cb17f0bfb5a7ba6/src/main/daml/Daml/Finance/Account/V4/Account.daml).  
In addition, you can see the following folder name: `ContingentClaims.Core.V3`  
Since I consider some issues with upgrading contracts that do not keep same file names, I want to understand when this approach will worth the extra burden of such naming.

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [May 9, 2025, 4:18pm UTC](https://forum.canton.network/t/including-version-number-in-module-names-since-sdk-2-10-0/7955/4 "2025-05-09T16:18:41Z")

</div>

I _believe_ you are pointing out that…

1. **To use SCU-upgrades** , one would increment the package version, but change neither the package name or the module name.
2. **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?
