Crystal version 0.36 has been released. This update is particularly important as I believe it resolves this bug which made Crystal 0.35.1 unusable on FreeBSD: https://github.com/crystal-lang/crystal/pull/10259
^Triage: 0.36.1 is out upstream
Note: 0.36.0 includes several "breaking" changes. These may be irrelevant if the existing versions in latest/quarterly deadlock or are otherwise *entirely* unusable. @Reporter Can you advise on this being merged to quarterly? If they are effectively broken for everyone, then the breaking changes can/should likely be merged wholesale.
I do believe they are effectively broken for everyone, as in Crystal 0.35.1 on FreeBSD, raising any exception hangs the process.
Created attachment 222366 [details] crystal0361.patch Looks like an easy upgrade, still builds with existing bootstrap. Here's the patch. The issue mentioned above affects *uncaught* exceptions, so only programs that already blow up, blow up in a different way. I have checked that this worked fine on 0.35.1: begin raise "error" rescue puts "caught" end But I think it's fine to include the update in quarterly. It's a rapidly developing language still at 0.x — no stability guarantees yet. Generally no one ever wants an old 0.x of a project like this.
OK, I'm on it. Build testing...
A commit references this bug: Author: fernape Date: Fri Feb 12 11:17:55 UTC 2021 New revision: 565009 URL: https://svnweb.freebsd.org/changeset/ports/565009 Log: lang/crystal: Update to 0.36.1 ChangeLog: https://github.com/crystal-lang/crystal/blob/0.36.1/CHANGELOG.md Should fix this issue: https://github.com/crystal-lang/crystal/pull/10259 PR: 253111 Submitted by: rlwestlund@gmail.com Approved by: greg@unrelenting.technology (maintainer) MFH: 2021Q1 (runtime fix) Changes: head/lang/crystal/Makefile head/lang/crystal/distinfo head/lang/crystal/pkg-plist
A commit references this bug: Author: fernape Date: Fri Feb 12 11:19:36 UTC 2021 New revision: 565010 URL: https://svnweb.freebsd.org/changeset/ports/565010 Log: MFH: r565009 lang/crystal: Update to 0.36.1 ChangeLog: https://github.com/crystal-lang/crystal/blob/0.36.1/CHANGELOG.md Should fix this issue: https://github.com/crystal-lang/crystal/pull/10259 PR: 253111 Submitted by: rlwestlund@gmail.com Approved by: greg@unrelenting.technology (maintainer) Changes: _U branches/2021Q1/ branches/2021Q1/lang/crystal/Makefile branches/2021Q1/lang/crystal/distinfo branches/2021Q1/lang/crystal/pkg-plist
Committed and merged to 2021Q1. Thanks!