We’ve written a blog post summarizing the changes in this release: Crystal 1.2.0 released! - The Crystal Programming Language . While we have tested it against several known and sizeable projects, that doesn’t preclude the existence of regressions. If you find an issue, please check the issue tracker and file a bug: it will be fixed in a patch version.
It is available on most platforms already, check the install page for details. That includes docker images
Unfortunately, we are facing issues in the snapcraft repo, where the 1.2.0 version exists only in the beta and edge channels, but not in the stable one.
The brew formula is not yet ready, as we are trying to have a formula working for M1 macs. Will keep you posted!
Given that Crystal now has support/bottle for M1, is there anything that needs to be as part of other brew formulas that depend on Crystal other than bump the revision and force an arm bottle?
Also I am immensely excited about ARM support on the Homebrew builds! I can finally move off my self-compiled Crystal compiler on this laptop! Nice work, friends!
Looks like the binary is precompiled. For a fresh install on a cold Homebrew cache, this takes just a few seconds, no visible compilation step:
➜ ~ time brew install oq
==> Downloading https://ghcr.io/v2/homebrew/core/oq/manifests/1.3.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/oq/blobs/sha256:e28f2b92624cade03207c8ebec0b8b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e28f2b9262
######################################################################## 100.0%
==> Pouring oq--1.3.0.arm64_big_sur.bottle.tar.gz
🍺 /opt/homebrew/Cellar/oq/1.3.0: 5 files, 506.6KB
brew install oq 1.92s user 0.93s system 84% cpu 3.354 total