Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Releases: accordproject/ergo

Ergo v0.6.0

10 Jan 07:20
Compare
Choose a tag to compare
Ergo v0.6.0 Pre-release
Pre-release

🕑 It's 2019: time for a brand new Date & Time library! You can now use directly Duration and Period 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.

Also included in this release: new fancy overloaded operators (never write +i ever again), and various bug fixes.

Language

  • 🛍 Overloaded operators (#375)
  • 🕑 DateTime support:
    • Ergo Duration operations use common/time.cto model (#345)
    • Distinguish between Duration and TimePeriod (#483)

Testing

  • 🥒 Now uses Cucumber for functional tests!

Bug fixes

  • 🐞 The JavaScript target now provides runtime access to the model's inheritance hierarchy (#58)
  • 🐞 Accessing fields from records now works as expected (#385)
  • 🐞 Long does not get confused with Double by the type checker anymore (#488 )
  • 🐞 Type checking for match over optionals now fails when the input type isn't an optional (as expected!) (#502, #387)

Ergo v0.5.8

22 Dec 00:34
Compare
Choose a tag to compare
Ergo v0.5.8 Pre-release
Pre-release

This release fixes two critical bugs in Ergo's JavaScript backend. Happy Holidays! ☃️

Bug fixes

  • 🐞Fix to support missing optional fields in JSON serialization (#492)
  • 🐞Fix for variable shadowing issues in the JavaScript targets (#485)

Ergo v0.5.7

14 Dec 17:10
24c896d
Compare
Choose a tag to compare
Ergo v0.5.7 Pre-release
Pre-release

This is a bug-fix and improvements release for Ergo.

Compiler

  • 🚴 Enabling optimizations in the NNRC Intermediate Language!

Bug fixes

  • 🐞Various fixes to standard library functions for Durations
  • 🐞Fix bug in JavaScript runtime for dateTimeSubtract (#482)
  • 🐞Integer literals are now serialized to JSON properly in JavaScript targets (#484)
  • 🐞Partial fix for variable shadowing issues in the JavaScript targets (WIP #485)

Ergo v0.5.5

30 Nov 04:56
Compare
Choose a tag to compare
Ergo v0.5.5 Pre-release
Pre-release

This is a bug-fix and improvements release for Ergo.

Standard library

  • 🕑 New support for DateTime functions: dateTimeStartOf (beginning of time period) dateTimeEndOf(end of time period) and dateTimeComponent (time period)

Bug fixes

  • 🐞toString built-in function now works on DateTime

Ergo v0.5.4

14 Nov 20:11
Compare
Choose a tag to compare
Ergo v0.5.4 Pre-release
Pre-release

This is a bug-fix and improvements release for Ergo.

Standard library

  • π New support for trigonometric functions: cos, sin, tan, etc.

Bug fixes

  • 🐞JSON results printed by ergorun look nice again!

Ergo v0.5.3

09 Nov 16:07
Compare
Choose a tag to compare
Ergo v0.5.3 Pre-release
Pre-release

This is a bug-fix and dependency upgrade release for Ergo.

  • ⚙Upgrade to Concerto 0.60
  • 🐞Generated JavaScript code does not depend on where you run the compiler anymore (file name removed from enforce expression expansion) #474

Ergo v0.5.2

26 Oct 18:00
Compare
Choose a tag to compare
Ergo v0.5.2 Pre-release
Pre-release

⚙ Ergo is now using the brand new Composer Concerto modeling language as its type system!

While this isn't likely to affect many Ergo users, this is a breaking change:

  • If your Ergo code depends on any of the previous system Hyperledger types (Event, Transaction, Concept, Asset, or Participant) those will now be considered by the Ergo compiler to be in the org.accordproject.base namespace.
  • The org.accordproject.base namespace is now reserved for built-in types. If you have CTO models or Ergo code depending on it you should consider renaming to a new namespace.

Ergo v0.4.4

10 Oct 05:49
Compare
Choose a tag to compare
Ergo v0.4.4 Pre-release
Pre-release

This is a bug-fix release and adjustments for the up and coming ergo playground template studio!

General improvements

  • 🎉 Consolidation of JavaScript version of REPL

Compiler

  • 🔧 cicero target now generates dispatch and init functions for convenience

Bug fixes

  • 🐞 Fully qualified names are now properly checked (#365)
  • 🐞 Can now refer to functions using qualified names (#465)

Ergo v0.4.3

27 Sep 11:04
Compare
Choose a tag to compare
Ergo v0.4.3 Pre-release
Pre-release

This release features improved command-line tools, and general improvements .

Command lines

  • New ergorun command replacing ergo execute with clearer options
  • ergoc command now fully replaces ergo compile
  • Align command line arguments for all CLI

Bug fixes

  • 🐞 Location information for string literals is now accurate

Ergo v0.4.2

20 Sep 00:22
Compare
Choose a tag to compare
Ergo v0.4.2 Pre-release
Pre-release

This release features new compiler targets for ES5 and Java, as well as improvements to the REPL and bug fixes.

Compiler

  • New compiler target for ES5
  • New compiler target for Java (experimental)
  • ergo compile is now deprecated, use ergoc instead
  • New --link option to ergoc links the javascript runtime

REPL

  • Consolidate examples
  • No more semicolon is needed after return statements

Bug fixes

  • 🐞 bug in JS code generation for integer operators (#456)
  • 🐞 bug in Ergo expansion phase (#454)