Dhall-ruby release announcements

Just re-created after the forum history got wiped :slight_smile:

0.4.0

https://rubygems.org/gems/dhall/versions/0.4.0

Update to dhall-lang 0.9.0, dhall-compile -c, etc

Breaking Changes

  • Version of dhall-lang supported: 0.9.0
  • Dhall::Expression#to_binary now includes the self-describe CBOR tag
  • Dhall::Coder will translate values of type List { mapKey = k, mapValue = v }
    to Hash
  • Method#as_dhall now equivalent to method.to_proc.as_dhall
  • Import resolution follows redirects now (was a bug)

Bugfixes

  • Some operator normalizations were commuting when the standard
    normalization would not
  • Multiline strings now consider an all-whitespace last line when
    stripping indentation
  • Fix for Dhall::EmptyList#join

New Features

  • New FunctionProxyRaw and RubyObjectRaw can allow easily folding a
    Dhall expression into a non-Dhall Ruby object (undocumented)
  • Dhall::Types module for common types
  • dhall-compile -c produces a folder compatible with the standard dhall
    filesystem cache
2 Likes

If you announce it on Twitter I can retweet it from the http://twitter.com/dhall_lang account

1 Like

0.5.0

https://git.sr.ht/~singpolyma/dhall-ruby/refs/0.5.0
https://rubygems.org/gems/dhall/versions/0.5.0
https://www.rubydoc.info/gems/dhall/0.5.0
Tweet: https://twitter.com/singpolyma/status/1188152600019001351

Update to dhall-lang 0.10.0

Breaking Changes

  • Version of dhall-lang supported: 0.10.0
  • Fix to require imports to type-check with an empty context

Bugfixes

  • Fix stack level too deep for long multiline string

New Features

  • make unit now stops after the first failure
2 Likes