crystal v0.7.6 Release Notes

Release Date: 2015-08-13 // over 8 years ago
    • (breaking change) removed support for trailing while/until (read this)
    • (breaking change) Renamed Enumerable#drop to Enumerable#skip
    • (breaking change) Renamed Time.at to Time.epoch, and Time#to_i and Time#to_f to Time#epoch and Time#epoch_f
    • (breaking change) inherited macro now runs before a class' body
    • ๐Ÿ— Renamed --no-build flag to --no-codegen
    • ๐Ÿ‘ Allow interpolations in heredocs (thanks @jessedoyle)
    • ๐Ÿ‘ Allow hash substitutions in String#% and sprintf (thanks @zamith)
    • โž• Added SecureRandom.base64, SecureRandom.urlsafe_base64 and SecureRandom.uuid (thanks @ysbaddaden)
    • โž• Added File.link, File.symlink and File.symlink? (thanks @ysbaddaden)
    • Added Enumerable#in_groups_of (thanks @jalyna)
    • โž• Added Array#zip? (thanks @yui-knk)
    • โž• Added Array#permutations and Array#each_permutation (thanks @jalyna and @kostya)
    • โž• Added IO#gets(limit : Int) and IO#gets(delimiter : Char, limit : Int)
    • Added Iterator#compact_map, Iterator#take_while and Iterator#skip_while (thanks @PragTob)
    • โž• Added StringLiteral#to_i macro method
    • โž• Added Crypto::Bcrypt (thanks @akaufmann)
    • Added Time.epoch_ms and Time#epoch_ms
    • โž• Added BitArray#toggle and BitArray#invert (thanks @will)
    • ๐Ÿ›  Fixed IO#reopen swapped semantic (thanks @technorama)
    • ๐Ÿ›  Many bug fixes and improvements