Skip to content

Concerto v0.81.0

Compare
Choose a tag to compare
@jeromesimeon jeromesimeon released this 06 Oct 20:02

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