digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 199 forks source link

Multi-package upgrades support #18934

Open samuel-williams-da opened 5 months ago

samuel-williams-da commented 5 months ago

The upgrades field in the daml.yaml is not currently integrated with multi-package. Ideally it can be automatically built when needed as per data-dependencies. Also, Package name imports aims to remove explicit dar paths from the daml.yaml, so should implement its logic for the upgrades field. However, it is unreasonable to do this without the multi-build support, for consistency. Concretely, we should:

Feature work:

samuel-williams-da commented 2 months ago

Partially addressed by 19481

paulbrauner-da commented 2 months ago

Would also be nice: in daml assistant or daml studio, a way to "create a new version of a package" that would create a copy of the package with a new version number.