crystal v0.7.2 Release Notes
Release Date: 2015-05-26 // almost 9 years ago-
- ๐ Improved performance of Regex
- ๐ Fixed lexing of octal characters and strings (thanks @rhysd)
- ๐ Time.parse can return UTC times (thanks @will)
- ๐ Handle dashes in
crystal init
(thanks @niftyn8) - Generic type variables can now only be single letters (T, U, A, B, etc.)
- ๐ Support
%x
and%X
insprintf
(thanks @yyyc514) - โก๏ธ Optimized
Int#to_s
(thanks @yyyc514) - โ Added
upcase
option toInt#to_s
, and use downcase by default. - ๐ Improved
String#to_i
and fixed the many variants (to_i8
,to_u64
, etc.) - โ Added
Time.at
(thanks @jeromegn) - โ Added
Int#upto
,Int#downto
,Int#to
iterators. - โ Added
Iterator#cons
andEnumerable#each_cons
(thanks @porras) - โ Added
Iterator.of
,Iterator#chain
andIterator#tap
. - ๐ Allow top-level
private macro
(similar to top-levelprivate def
) - ๐ Optimized
BufferedIO
writing performance and memory usage. - โ Added
Channel#close
,Channel#closed?
,Channel#receive?
and allow them to send/receive nil values (thanks @datanoise). - ๐ Fixed
Process#run
after introducing non-blocking IO (thanks @will) Tuple#map
now returns aTuple
(previously it returned anArray
)Tuple#class
now returns a properClass
(previously it returned aTuple
of classes)- ๐ Lots of bug fixes.