crystal v0.7.3 Release Notes
Release Date: 2015-06-07 // almost 9 years ago-
- Added
Tuple.from_json
andTuple.to_json
- ๐ The
method_missing
macro now accepts a 1 argument variant that is a Call node. The 3 arguments variant will be deprecated. - ๐จ Flush STDOUT at program exit (fixes
print
not showing any output) - Added
Time#to_utc
andTime#to_local
(thanks @datanoise) - Time comparison is now correct when comparing local vs. utc times
- ๐ Support timezone offsets in Time parsing and formatting
- โ Added
IO#gets(delimiter : String)
- โ Added
String#chomp(Char)
andString#chomp(String)
- ๐ Allow invoking
debug()
inside a macro to see what's being generated. - ๐จ
IO#puts
andIO#print
now receive a splat (thanks @rhysd) - โ Added
Process.kill
andProcess.getpgid
(thanks @barachy) - ๐ฆ
Signal
is now an enum. Use it likeSignal::INT.trap { ... }
instead ofSignal.trap(Signal::INT) { ... }
- โ Added
CSV.each_row
(both in block and iterator forms) - ๐ Important fixes to non-blocking IO logic.
- Added