-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade Guide
Cursor Agent edited this page Apr 8, 2026
·
9 revisions
Quick reference for upgrading DAML packages in this repository.
npm run upgrade-package -- --package Subscriptions --type majornpm run upgrade-package -- --package Subscriptions --type minor- ✅ Folder renamed (e.g.,
OpenCapTable-v33/→OpenCapTable-v34/) - ✅ Package name updated in
daml.yaml - ✅ Version reset to
0.0.1indaml.yaml - ✅ All file references updated across the repository
- ✅
multi-package.yamlupdated
- ✅ Version incremented in
daml.yaml(e.g.,0.0.1→0.0.2) - ✅ All version references updated across the repository
Current packages that can be upgraded (see root multi-package.yaml for the full set):
-
OpenCapTable→OpenCapTable-v34 -
OpenCapTableReports→OpenCapTableReports-v01 -
OpenCapTableProofOfOwnership→OpenCapTableProofOfOwnership-v01 -
NftApi→NftApi-v01 -
NftReference→NftReference-v01 -
EquityCertificate→EquityCertificate-v01 -
EquityCertificateShared(no-vNNfolder suffix) -
Subscriptions(alias forCantonPaymentsfolder) CouponMinter-
Shared(no version suffix)
Test is a dependent package (not typically version-bumped like the libraries above).
-
Run the upgrade script:
npm run upgrade-package -- --package <name> --type <major|minor>
-
Review the changes:
git status git diff
-
Build and test:
npm run build && npm run test
-
Commit the changes:
git add -A git commit -m "Upgrade <package> to <new-version>"
# Before: CantonPayments (version 0.2.3)
npm run upgrade-package -- --package Subscriptions --type major
# After: CantonPayments (version 0.0.1)Files changed:
-
CantonPayments/→CantonPayments/ -
CantonPayments/daml.yaml(name and version fields) multi-package.yaml- All scripts referencing
CantonPayments - README files
- Test files
# Before: CantonPayments (version 0.2.3)
npm run upgrade-package -- --package Subscriptions --type minor
# After: CantonPayments (version 0.2.4)Files changed:
-
CantonPayments/daml.yaml(version field only) - Any files with hardcoded version strings
See scripts/README.md for full documentation of the upgrade script.
- The script skips
node_modules,.daml,lib, andgenerateddirectories - The script validates folder and version formats before making changes
- Review all changes with
git diffbefore committing
Develop
Decisions
Releases
- Releases (index)
- Package tag release process
- 2026-06-22 — OCP v35 conversion mechanism validation
- 2026-06-22 — OCP v35 SDK scaffold
- 2026-05-04 — OCP v34 major upgrade
- 2026-05-04 — DAML extraction / fairmint-daml
- 2026-03-05 — OCP v32 PPS-based conversion rename
- 2026-02-17 — OCP v31 ArchiveCapTable
- 2026-02-12 — OCP v31 vesting zero portion
Other Fairmint DAML
Documentation for CantonPayments, NFT, Reports, CouponMinter, equity certificate, proof-of-ownership, and related deployment playbooks lives with fairmint/daml and @fairmint/daml-js — not in this wiki.