Skip to content

v1.5.0

Compare
Choose a tag to compare
@aNNiMON aNNiMON released this 17 Oct 11:15
· 165 commits to latest since this release
  • Added modules zip, gzip, okhttp
  • Added functions std::getBytes, std::stringFromBytes, std::stripMargin
  • Added JProgressBar, JTextArea, JScrollPane to forms, methods for JButton, JTextField and WindowListener
  • Added function joining to functional::stream
  • Added array properties: arr.length, arr.isEmpty(), arr.joinToString(...)
  • Added null coalesce operator ??
  • Added basic support for classes
  • Strict string to number conversion
  • for supports iterating strings and arrays with index:
    for ch : "test"
    for ch, code : "test"
    for el : arr
    for el, index : arr
  • Pretty-print for jsonencode:
    jsonencode(obj) — minified json
    jsonencode(obj, 2) — pretty-print json with 2 spaces indent
  • Ability to set options for yaml parser/dumper
  • Fixed mysql connection in jdbc
  • Fixed str::range for reversed ranges
  • Fixed files::readBytes with offset and length
  • Fixed matching class constructor in java::new. Ability to instantiate classes with new operator
  • Other minor changes