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) The body property of HTTP::Request is now an IO? (previously it was String). Use request.body.try(&.gets_to_end) if you need the entire body as a String.
(breaking change)MemoryIO has been renamed to IO::Memory. The old name can still be used but will produce a compile-time warning. MemoryIO will be removed immediately after 0.20.0.
(breaking change)Char#digit? was split into Char#ascii_number? and Char#number?. The old name is still available and will produce a compile-time warning, but will be removed immediately after 0.20.0.
(breaking change)Char#alpha? was split into Char#ascii_letter? and Char#letter?. The old name is still available and will produce a compile-time warning, but will be removed immediately after 0.20.0.
(breaking change) The Iterable module is now generic
Many String and Char methods are now unicode-aware, for example String#downcase, String#upcase, Char#downcase, Char#upcase, Char#whitespace?, etc.
Added support for HTTP client and server streaming.
Added __END_LINE__ magic constant in method default arguments: will be the last line of a call (if the call has a block, it will be the last line of that block)
Added @def inside macros that takes the value of the current method
API docs have a nicer style now, and notes like TODO and DEPRECATED are better highlighted (thanks @samueleaton)
Slight improvement to debugging support (thanks @ggiraldez)
Line numbers in backtraces (linux only for now) (thanks @ysbaddaden)
Added iteration times to Benchmark.ips (thanks @RX14)
Allow HTTP::Client block initializer to be used when passing an URI (thanks @philnash)
JSON.mapping and YAML.mapping getter/setter generation can now be controlled (thanks @zatherz)
Time is now serializable to JSON and YAML using ISO 8601 date-time format