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 in sprintf (thanks @yyyc514)
    • โšก๏ธ Optimized Int#to_s (thanks @yyyc514)
    • โž• Added upcase option to Int#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 and Enumerable#each_cons (thanks @porras)
    • โž• Added Iterator.of, Iterator#chain and Iterator#tap.
    • ๐Ÿ‘ Allow top-level private macro (similar to top-level private 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 a Tuple (previously it returned an Array)
    • Tuple#class now returns a proper Class (previously it returned a Tuple of classes)
    • ๐Ÿ›  Lots of bug fixes.