Releases: accordproject/concerto
Concerto v0.82.1
🚪 This is a bug-fix release, making the concerto get
command more robust on Windows platforms.
Concerto v0.82.0
🍫 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 newcompile
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 fromconcerto-core
toconcerto-tools
Concerto v0.81.1
Concerto v0.81.0
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 theSerializer.toJSON
andSerializer.fromJSON
API calls (#110 )
Build
Bug fixes
Concerto v0.80.3
feat(cli): Add concerto binary handle Signed-off-by: Matt Roberts <[email protected]>
Concerto v0.80.2
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
✨ 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.
- 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