Cicero v0.10.0
Pre-release
Pre-release
This release features the latest (and improved) Ergo 0.6.0 with a brand new DateTime library, overloaded operators, and various improvements to the Ergo compiler and type system!
Install the latest release of the Cicero command-line tool with
npm i -g @accordproject/cicero-cli
Ergo
- π Overloaded operators: never write
+i
again! (accordproject/ergo#375). - π You can now use directly
Duration
andPeriod
concepts from the most recent Concerto time model. New operations include converting durations between different time units, duration division and computing the minimum/maximum in an array of dates.DateTime support: (accordproject/ergo#345, accordproject/ergo#483)
Bug fixes
- π The JavaScript target now provides runtime access to the model's inheritance hierarchy (accordproject/ergo#58)
- π Accessing fields from records now works as expected (accordproject/ergo#385)
- π Long does not get confused with Double by the type checker anymore (accordproject/ergo#488)
- π Type checking for match over optionals now fails when the input type isn't an optional (as expected!) (accordproject/ergo#502), (accordproject/ergo#387)