We are releasing the first post-1.0 release, making efforts to keep our promise of making regular releases each 3 months, a bit delayed because of the

Crystal 1.1.0 is released!

submited by
Style Pass
2021-07-21 07:30:07

We are releasing the first post-1.0 release, making efforts to keep our promise of making regular releases each 3 months, a bit delayed because of the conference, and with special focus on keeping the language stability. Below we list the most important or interesting changes, without mentioning the several bugfixes. For details visit the release’s notes.

In this release we included 166 PRs since the 1.0.0 release by 28 contributors. We thank all the effort put into improving the language and its stdlib! ❤️

The type of a while expression is now the union of all break expressions within the body, plus Nil if the condition isn’t exactly the true literal; the while expression returns nil if the condition fails. The type of a break expression is computed similarly to a break inside a block or a return (Nil if empty, Tuple if multiple values) (#10566).

We included a small breaking change, as there was a mismatch between the documentation and the code regarding Path#global?. The former Path#global is now deprecated in favor of Path#global?, whose name better represents it (#10812).

Leave a Comment