Summary
Upgrade the @parity/product-sdk stack, @parity/polkadot-app-deploy, DotNS, and the CDM tooling to the latest releases.
Current versions
@parity/product-sdk-terminal ^0.5.0
@parity/product-sdk-contracts ^0.7.7
@parity/product-sdk-cloud-storage ^0.6.4
@parity/product-sdk-descriptors ^0.6.1
@parity/product-sdk-keys ^0.3.10
@parity/product-sdk-tx ^0.2.14
@parity/polkadot-app-deploy 0.11.0
@parity/dotns-cli 0.7.2
@parity/cdm-builder 3.1.7, @parity/cdm-codegen 0.6.20, @parity/cdm-env ^2.0.6
Target versions (latest)
@parity/product-sdk-terminal 0.6.2
@parity/product-sdk-contracts 0.9.2
@parity/product-sdk-cloud-storage 0.8.1
@parity/product-sdk-descriptors 0.8.0
@parity/product-sdk-keys 0.3.16
@parity/product-sdk-tx 0.3.2
@parity/polkadot-app-deploy latest 0.13.x
@parity/dotns-cli latest
@parity/cdm-* latest
Breaking change to plan for
@parity/product-sdk@0.18.0 introduced the Result based error API (submitAndWatch, batchSubmitAndWatch, contract .tx / .prepare, ensureContractAccountMapped, cloud storage queryJson). CLI command handlers that wrap these in try/catch need to inspect the Result and keep the existing error message prefixes.
What needs to happen
Acceptance criteria
- The CLI builds and the e2e suite passes.
dot init, install, and deploy all work against a live environment.
- No stale
@novasamatech or CDM version pins remain that are no longer needed.
Summary
Upgrade the
@parity/product-sdkstack,@parity/polkadot-app-deploy, DotNS, and the CDM tooling to the latest releases.Current versions
@parity/product-sdk-terminal^0.5.0@parity/product-sdk-contracts^0.7.7@parity/product-sdk-cloud-storage^0.6.4@parity/product-sdk-descriptors^0.6.1@parity/product-sdk-keys^0.3.10@parity/product-sdk-tx^0.2.14@parity/polkadot-app-deploy0.11.0@parity/dotns-cli0.7.2@parity/cdm-builder3.1.7,@parity/cdm-codegen0.6.20,@parity/cdm-env^2.0.6Target versions (latest)
@parity/product-sdk-terminal0.6.2@parity/product-sdk-contracts0.9.2@parity/product-sdk-cloud-storage0.8.1@parity/product-sdk-descriptors0.8.0@parity/product-sdk-keys0.3.16@parity/product-sdk-tx0.3.2@parity/polkadot-app-deploylatest 0.13.x@parity/dotns-clilatest@parity/cdm-*latestBreaking change to plan for
@parity/product-sdk@0.18.0introduced theResultbased error API (submitAndWatch,batchSubmitAndWatch, contract.tx/.prepare,ensureContractAccountMapped, cloud storagequeryJson). CLI command handlers that wrap these in try/catch need to inspect theResultand keep the existing error message prefixes.What needs to happen
@parity/product-sdk-*packages,@parity/polkadot-app-deploy,@parity/dotns-cli, and the@parity/cdm-*tools to the versions above.Resulterror API while preserving user facing messages.dot init, an install, and a deploy end to end.Acceptance criteria
dot init, install, and deploy all work against a live environment.@novasamatechor CDM version pins remain that are no longer needed.