1.3.0
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
withprop
. - 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 justtrue
. - 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 upcomingLiteral::Array
,Literal::Hash
andLiteral::Set
objects faster. - Various improvements to
Literal::Array
, which is still experimental - Various improvements to
Literal::Flags
, which is still experimental
New Contributors
- @alvitovitch made their first contribution in #231
Full Changelog: 1.2.0...1.3.0