Skip to content

Releases: CityOfZion/cpm

v1.1.0

05 Apr 05:59
Compare
Choose a tag to compare

Changelog

  • aa28e28 ci: automate Unix & Windows draft release merging (#24)
  • 7ebd906 generators: support off-chain Golang SDK (#28)
  • 0445b4d generators: support off-chain Java SDK (#27)

v1.0.0

15 Dec 08:25
81c589d
Compare
Choose a tag to compare

Hello World! 😎

Changelog

  • 16f4e58 ci: add testing workflow (#22)
  • 3aaed96 tests: cover contract and manifest downloading (#18)

v0.7.1

01 Dec 11:02
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

Changelog

v0.7.0

29 Nov 10:41
Compare
Choose a tag to compare

Changelog

  • 2403980 *: cleanup warnings (#15)
  • 0ba454d cli: add a command to show CPM's version (#14)
  • 95b91b4 cli: rework cpm run command (#17)
  • 07f32d6 generators: refactor structure to support offchain/onchain sdk types (#12)
  • eda195c generators: support off-chain Python SDK (#13)
  • 104f5f8 generators: update import on TS template
  • 44cb8e5 setup: add publishing to Chocolatey
  • 2146cc8 setup: change archive format to fix Chocolatey publishing
  • 4146783 setup: resolve goreleaser deprecation warnings
  • 9017d9c setup: split goreleaser config into unix and windows
  • 59b3bea typescript: add an optional parameter on methods that return Iterators

v0.6.0

19 Sep 14:52
Compare
Choose a tag to compare

The major highlight of this release is the addition of TypeScript SDK generation for off-chain use!

The second highlight worthy change is a breaking change where the language flag (-l) was removed and turned into a sub command. Instead of

cpm generate -l python -m samplecontract.manifest.json

use

cpm generate python -m samplecontract.manifest.json

This change allows per language options e.g. extra flags if the language supports special features.

Changelog

  • 13af9d2 cli: add saving contract hash to cpm.yaml on download
  • 45a28ec cli: correctly handle optional script hash for generate command
  • e6567c7 cli: properly support off-chain generation from cpm.yml
  • 4162916 cli: restructure language option to be subcommand of generate (#8)
  • d180fc3 generators: support on-chain TypeScript SDK (#10)
  • 642d020 generators: streamline errors
  • bd9b66a python: add hash class variable to contract interface (#9)
  • e6c4ac8 python: fix package naming convention

v0.5.0

12 May 06:12
3651c60
Compare
Choose a tag to compare

With this release support for customising SDK output paths and generating for multiple languages in one go is added. This change is a breaking change to the config file format. Specifically the global sdk-language key is removed from the defaults section and replaced by an on-chain key with with language and destination options as described in the documentation.

Changelog

  • 3651c60 generators: support customising output path (#5)

v0.4.0

21 Apr 09:12
f7bf5ef
Compare
Choose a tag to compare

Changelog

  • 5d23770 cli: update cli package
  • 9da8f19 config: change to yaml format (#6)
  • f7bf5ef python: fix generated contract methods (#7)

v0.3.0

05 Apr 17:33
83f40a5
Compare
Choose a tag to compare

Changelog

  • a040e10 cli: error when attempting to generate without specifying output language
  • 83f40a5 generators: place output under /cpm_out/ (#4)
  • b918305 python: drop package init contents (boa can't handle the relative import)
  • 4ae3788 python: update imports to work with boa >= 0.12.x

v0.2.1

21 Feb 08:32
c6bf25a
Compare
Choose a tag to compare

Changelog

  • c6bf25a config: delete trailing comma

v0.2.0

16 Dec 11:53
150e862
Compare
Choose a tag to compare

Changelog

  • 049ba01 - Fix duplicate download for some contract - Remove unused import from Python generator
  • 3a36698 - java; lower camel case method and variable names in output, change output directory, fix output extension - refactor template function
  • 8bd0af3 Add java and csharp generators
  • 2dc7f8f add golang generator support
  • 150e862 ci: release workflow (#3)
  • feda36c refactor python package creation streamline SDK generation message across languages