Skip to content

Releases: accordproject/concerto

Concerto v0.82.1

17 Oct 18:23
Compare
Choose a tag to compare

🚪 This is a bug-fix release, making the concerto get command more robust on Windows platforms.

Concerto v0.82.0

16 Oct 19:36
Compare
Choose a tag to compare

🍫 This new release includes a fully revised Command Line Interface, which aligns better with the other Accord Project packages.

New compile command

The new CLI has the following commands:

concerto <cmd> [args]

Commands:
  concerto validate  validate JSON against model files
  concerto compile   generate code for a target platform                   // replaces 'generate'
  concerto get       save local copies of external model dependencies

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]

New options:

  • The --format option has been replaced by --target in the new compile command
  • The --outputDirectory option has been replaced by --output in all commands

Modules and API

💥 This release potentially includes breaking changes:

  • several modules: JS parsing and PlantUML encoding have been removed from the distribution to reduce dependencies and code size.
  • the FileWriter module has been moved from concerto-core to concerto-tools

Concerto v0.81.1

08 Oct 17:45
Compare
Choose a tag to compare

🐛 This is a bug-fix release, which addresses issues when using the Command Line Interface on some Accord Project models (#89 ).

It also adds a --ctoSystem option to the CLI for use with custom systems model. ⚠️ We are currently considering deprecating support for such systems models, see #62 .

Concerto v0.81.0

06 Oct 20:02
Compare
Choose a tag to compare

This is a major release, with numerous improvements, a new validate comment in the CLI, new naming for the core Concerto packages, and support for Ergo-specific serialization.

CLI

There is now a new command for testing validation of a JSON instance against a model:

concerto validate

validate JSON against model files

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]
  --sample       sample JSON to validate       [string] [default: "sample.json"]
  --ctoFiles     array of CTO files                       [array] [default: "."]

Packages and API

  • @accordproject/concerto has been renamed to @accordproject/concerto-core (#74 )
  • The @accordproject/concerto-core comes with typescript interfaces (#77 #82)
  • The Accord Project logger is available as part of the @accordproject/concerto-core package (#102 )
  • Supports a new ergo option for the Serializer.toJSON and Serializer.fromJSON API calls (#110 )

Build

  • The build now checks and reports code coverage (#88 )
  • The build now checks linting rules (#84 )

Bug fixes

Concerto v0.80.3

27 Sep 16:50
Compare
Choose a tag to compare
feat(cli): Add concerto binary handle

Signed-off-by: Matt Roberts <[email protected]>

Concerto v0.80.2

27 Sep 16:01
9279bd6
Compare
Choose a tag to compare

This release adds two new functions to the ModelManager JS API:

  • getModels returns an array containing the name and Concerto source for all model files registered with the model manager.
  • writeModelsToFileSystem writes all models in this model manager to the specified path in the file system.

We also include a experimental CLI for concerto, this is available with npm i -g @accordproject/concerto-cli

Finally, this release restructures the concerto code base to a monorepo and includes https://github.com/accordproject/concerto-tools here. This is not expected to introduce any functional changes. https://github.com/accordproject/concerto-tools will now be deprecated.

Concerto v0.80.0

15 Sep 20:29
Compare
Choose a tag to compare

✨ This is the first release of the Concerto Modeling Language under the Accord Project umbrella. This release has identical functionality as the last version that was previously published under the umbrella of the Hyperledger project.

⚠️ There are two breaking change:

  • the component field in Concerto errors now returns @accordproject/concerto rather than concerto
  • instanceof has been fixed for Concerto objects to ensure they are robust across multiple npm modules (#47)

Migration

To switch to that version, change the package.json and require statements in your code from composer-concerto to @accordproject/concerto

v0.71.0

25 Jun 08:24
Compare
Choose a tag to compare

Minor fixes to how file/component names are stored in exceptions.

v0.40.0

29 Oct 09:24
fbfa47c
Compare
Choose a tag to compare

Allow specifying an identified by for transactions.