Skip to content

0.30.0

Compare
Choose a tag to compare
@bcardiff bcardiff released this 01 Aug 19:37
· 4018 commits to master since this release
cbf651a

Language changes

Macros

  • Add args/named_args macro methods to Annotations. (#7694, thanks @Blacksmoke16)
  • Unify resolve and types macro methods API for Type and Path for convenience. (#7970, thanks @asterite)

Standard library

Numeric

  • Fixed incorrect Int#% overflow. (#7980, thanks @asterite)
  • Fixed inconsistency between Float#to_s and BigFloat#to_s, always show .0 for whole numbers. (#7982, thanks @Lasvad)

Text

  • Fixed unicode alternate ranges generation. (#7924, thanks @asterite)

Collections

Serialization

  • (breaking-change) JSON: use enums instead of symbols. (#7966, thanks @asterite)
  • Fixed YAML deserialization of String in a union type. (#7938, thanks @asterite)
  • Validate element names in XML::Builder. (#7965, thanks @Blacksmoke16)
  • Allow numeric keys in JSON (ie: Hash(Int32, String).from_json). (#7944, thanks @asterite)
  • Add alias/merge methods to YAML::Builder and YAML::Nodes::Builder. (#7949, thanks @Blacksmoke16)

Files

Networking

Crypto

  • Require openssl algorithm in pkcs5. (#7985, thanks @will)
  • Fixed cipher expectation in OpenSSL::SSL::Socket spec. (#7871, thanks @j8r)

Concurrency

  • Fixed sysconf call on OpenBSD. (#7879, thanks @jcs)

System

Compiler

Language semantics

  • Fixed generic metaclass argument expansion. (#7916, thanks @asterite)
  • Fixed top-level private const not being scoped. (#7907, thanks @asterite)
  • Fixed enum overflow when declaring members. (#7881, thanks @asterite)
  • Fixed annotation lookup on generic types. (#7891, thanks @asterite)

Tools

Formatter

Doc generator

Others