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
toEnumerable#skip
- (breaking change) Renamed
Time.at
toTime.epoch
, andTime#to_i
andTime#to_f
toTime#epoch
andTime#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#%
andsprintf
(thanks @zamith) - โ Added
SecureRandom.base64
,SecureRandom.urlsafe_base64
andSecureRandom.uuid
(thanks @ysbaddaden) - โ Added
File.link
,File.symlink
andFile.symlink?
(thanks @ysbaddaden) - Added
Enumerable#in_groups_of
(thanks @jalyna) - โ Added
Array#zip?
(thanks @yui-knk) - โ Added
Array#permutations
andArray#each_permutation
(thanks @jalyna and @kostya) - โ Added
IO#gets(limit : Int)
andIO#gets(delimiter : Char, limit : Int)
- Added
Iterator#compact_map
,Iterator#take_while
andIterator#skip_while
(thanks @PragTob) - โ Added
StringLiteral#to_i
macro method - โ Added
Crypto::Bcrypt
(thanks @akaufmann) - Added
Time.epoch_ms
andTime#epoch_ms
- โ Added
BitArray#toggle
andBitArray#invert
(thanks @will) - ๐ Fixed
IO#reopen
swapped semantic (thanks @technorama) - ๐ Many bug fixes and improvements
- (breaking change) removed support for trailing