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

Ergo v0.6.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jeromesimeon jeromesimeon released this 10 Jan 07:20

πŸ•‘ 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)