paritytech / paritytech/playground-cli

Upgrade @parity/product-sdk and dependencies to the latest releases

Open
#465 0 comments 0 reactions 1 assignee View on GitHub

@ReinhardHatko is already working on this.

Since Jul 22, 2026.

dependencies priority:medium task
Dominant language
TypeScript
Stars
5
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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

  • Bump the @parity/product-sdk-* packages, @parity/polkadot-app-deploy, @parity/dotns-cli, and the @parity/cdm-* tools to the versions above.
  • Migrate command handlers to the Result error API while preserving user facing messages.
  • Re-check the local pnpm patches against the new versions and drop any fixed upstream.
  • Run dot init, an install, and a deploy end to end.

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.