Skip to content

1.3.0

Compare
Choose a tag to compare
@joeldrapper joeldrapper released this 29 Nov 11:51
· 23 commits to main since this release

We’ve tagged this as a minor update, which means it could include breaking changes. However, in this case, these changes are very unlikely to be breaking for you. Some error messages and inspect output will be different, if you depended on that.

What’s Changed

  • Fixed an issue that occurred when creating a property called property with prop.
  • Improved error output for the _Map type.
  • New _Deferred type now makes it possible to define recursive self-referencing types.
  • Simplified some equivalent types — for example _Callable now returns _Interface(:call), _Not(_Not(true)) is now just true.
  • All built in types are now comparable via Literal.subtype?(a, of: b). For now, consider this method private — however it will be used to make the upcoming Literal::Array, Literal::Hash and Literal::Set objects faster.
  • Various improvements to Literal::Array, which is still experimental
  • Various improvements to Literal::Flags, which is still experimental

New Contributors

Full Changelog: 1.2.0...1.3.0