crystal v1.5.1 Release Notes
Release Date: 2022-09-07 // over 1 year ago-
Standard Library
- ๐ Fix
Class#nilable?
for recursive unions and root types (#12353, thanks @HertzDevil)
Numeric
- ๐ Fix
Float#abs
andNumber#format
for-0.0
(#12424, thanks @straight-shoota)
Text
- ๐ Fix null dereference when passing empty slice to
Base64.encode
(#12377, thanks @dscottboggs)
Compiler
- Do not check abstract def parameter names on abstract types and modules (#12434, thanks @HertzDevil)
Codegen
- Compiler/codegen: reset
@needs_value
(#12444, thanks @asterite) - ๐ Fix
homogeneous_aggregate?
check for aarch64 types (#12445, thanks @mattrberry)
Semantic
- Compiler: don't eagerly check cast type (#12272, thanks @asterite)
- ๐ Fix type restriction augmenter for
Union(*T)
and similar (#12438, thanks @asterite)
Tools
Formatter
- Formatter: Fix assign followed by comment (#12319, thanks @straight-shoota)
- ๐ Handle formatting annotated method parameters (#12446, thanks @Blacksmoke16)
Other
- ๐ Fix