crystal v0.36.1 Release Notes
Release Date: 2021-02-02 // about 3 years ago-
Standard library
- ๐ Fix
Enum.from_value?
for flag enum with nonInt32
base type. (#10303, thanks @straight-shoota)
Text
- Don't raise on
String.new
withnull
pointer and bytesize 0. (#10308, thanks @asterite)
Collections
- โช Explicitly return a
Hash
inHash#dup
andHash#clone
(reverts #9871). (#10331, thanks @straight-shoota)
Serialization
- ๐ XML: fix deprecation warning. (#10335, thanks @bcardiff)
โ Runtime
- Eager load DWARF only if
CRYSTAL_LOAD_DWARF=1
. (#10326, thanks @bcardiff)
Compiler
- ๐ (performance) Initialize right-away constants in a separate function. (#10334, thanks @asterite)
- ๐ Fix incorrect casting between different union types. (#10333, thanks @asterite)
- ๐ Fix a formatting error in the "missing argument" error. (#10325, thanks @BlobCodes)
- ๐ Fix while condition assignment check for Not. (#10347, thanks @asterite)
- ๐ Allow operators and setters-like macros names back. (#10338, thanks @asterite)
Language semantics
- ๐ Fix