Crystal 1.20.0 is out with 161 changes from 21 contributors. Key highlights include a new @[TargetFeature] annotation for per-function CPU feature targeting (enabling portable SIMD with AVX2/AVX512 alternatives), a preview of a new ergonomic Process API treating command lines as string arrays with Process.capture and Process.capture_result, a preview io_uring event loop for Linux, and Kernel TLS support on Linux and FreeBSD. The release also adds M:N scheduling improvements to execution contexts (planned for default in 1.21), a security fix for HTTP request smuggling via conflicting Content-Length and Transfer-Encoding headers, compiler defaults to mold or lld linkers when available, and various stdlib improvements to StringScanner, HTTP::WebSocket sub-protocol negotiation, and OptionParser option bundling.

7m read timeFrom crystal-lang.org
Post cover image
Table of contents
HighlightsStatsChanges

Sort: