You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(breaking change)IO#gets, IO#each_line, String#lines, String#each_line, etc. now chomp lines by default. You can pass chomp: false to prevent automatic chomping. Note that chomp is true by default for argless IO#gets (read line) but false if args are given.
(breaking change)HTTP::Handler is now a module instead of a class (thanks @andrewhamon)
(breaking change) Free variables now must be specified with forall, a single uppercase letter will not work anymore
(breaking change) The libs directory is no longer in the default CRYSTAL_PATH, use lib (running crystal deps should fix this)
Optimized compile times, specially on linux
private can now be used with macros inside types (thanks @makenowjust)
CLI: the -s/--stats option now also shows execution time (thanks @makenowjust)
CLI: added -t/--time to show execution time (thanks @makenowjust)
Added String#split versions that accept a block (thanks @splattael)
Added URI#normalize and normalize! (thanks @taylorfinnell)
Added reuse optional argument to many Array, Enumerable and Iterable methods that allow you to reuse the yielded/return array for better performance and less memory footprint
The :debug flag is now present when compiled with --debug, useful for doing flag?(:debug) in macros (thanks @luislavena)