@asterite asterite released this Jul 30, 2015 · 5390 commits to master since this release

Assets 6
  • (breaking change) 0 is not a prefix for octal numbers anymore. Use 0o
  • (breaking change) Renamed MissingKey to KeyError
  • (breaking change) Renamed IndexOutOfBounds to IndexError
  • Fixed all exception-handling related bugs.
  • Allow nested and multiline ternary expressions (thanks @daviswahl)
  • Allow assigning to _ (underscore), give error when trying to read from it
  • Macros can now also receive the following nodes: And, Or, Case, RangeLiteral and StringInterpolation. And and Or have left and right methods.
  • Added -e option to hierarchy command to filter types by a regex
  • Added -v as an alias of --version
  • Added -h as an alias of --help
  • Added Array#transpose (thanks @rhysd)
  • Added Benchmark#ips (thanks @will)
  • Added Hash#merge(&block) and Hash#merge!(&block) (thanks @yui-knk)
  • Added Hash#invert (thanks @yui-knk)
  • Added Bool#^ (thanks @yui-knk)
  • Added Enumerable#drop, Enumerable#drop_while and Enumerable#take_while (thanks @PragTob)
  • Added Enumerable#none? (thanks @yui-knk)
  • Added Set#subset?, Set#superset? and Set#intersects? (thanks @yui-knk)
  • Added Set#new(Enumerable) (thanks @yui-knk)
  • Added String#succ (thanks @porras and @Exilor)
  • Added Array#* (thanks @porras)
  • Added Char#===(Int) and Int#===(Char) (thanks @will)
  • Added StringLiteral#camelcase and StringLiteral#underscore in macros
  • Added Expressions#expressions in macros
  • Added Cast#obj and Cast#to in macros
  • Added ASTNode#class_name in macros (thanks @yui-knk)
  • Added Array#push/Array#<< and Array#unshift in macros (thanks @ysbaddaden)
  • Added Def#visibility in macros (thanks @ysbaddaden)
  • Added String#codepoints and String#each_codepoint (thanks @jhass)
  • Char#to_i(base) now supports bases from 2 to 36
  • Set#| now correctly accepts a set of a possible different type (thanks @yui-knk)
  • Flush STDERR on exit (thanks @jbbarth)
  • HTTP::Client methods accept an optional block, which will yield an HTTP::Response with a non-nil body_io property to consume the response's IO
  • Document URI, UDPSocket (thanks @davydovanton)
  • Improved URI class (thanks @will)
  • Define $~ in String#gsub and String#scan
  • Define $? in Process.run
  • Lots of bug fixes and small improvements