v 0.20.0 - accordproject/ergo GitHub Wiki
Language
- New string template syntax
`This is text with {{% expression %}} and more text`
- Support for enumerated values, with proper typing and pattern matching support #3
- Expression sublanguage for modifying state #143
Standard Library
- New
encode
anddecode
functions - New
format
function forDateTime
- New
getOptions
function which returns global static options for the compiler (e.g.,wrapVariables
)
Bug fixes
now
is no longer a magic variable (https://github.com/accordproject/ergo/issues/642)- toString now properly format numeric values based on their types (https://github.com/accordproject/ergo/issues/575)
- constants are now properly imported and scoped, and can be accessed using an explicit namespace (https://github.com/accordproject/ergo/issues/465)
- Cicero target properly includes type hierarchy (https://github.com/accordproject/ergo/issues/644)
- Type soundness of match expression (https://github.com/accordproject/ergo/issues/645)