Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.35 KB

CHANGELOG.md

File metadata and controls

64 lines (48 loc) · 2.35 KB

0.3.0

The CLI has been split to it's own repo in this release, and therefore the changelog from here on will be CLI only. For Wren language/VM changes, see https://github.com/wren-lang/wren.

This release was focused on streamlining the build process and making platform support consistent. All platforms build out of the box, and the pre-build steps have been removed. The CLI should build as is.

This release also includes prebuilt binaries on the GitHub page. The docs for the CLI have their own home now, http://wren.io/cli

CLI

  • Added prebuilt binaries
  • Use premake for project generation, see projects/
  • Vendor libuv and wren directly into repo, no complex pre-build steps
  • Use S_IFDIR in isDirectory, portability fix.
  • Fix memory leak in findModulesDirectory()
  • Update libuv to latest at the time (1.34.2)

0.2.0

0.2.0 spans a pretty wide time period with around 290 commits. This includes many bug fixes, improvements, clarity in the code and documentation and so on. There's too many to explicitly list. Below is the obvious user facing stuff that was easy to spot in the history.

Most noteworthy is that 'relative imports' are a slightly breaking change, but help pave the way forward toward a consistency for modules.

Language/VM

  • import was made smarter, differentiating relative from logical
  • Fiber can now accept a value from the first call/transfer
  • Added String.trim, String.trimEnd, String.trimStart variants
  • Added String.split, String.replace, String.fromByte
  • Added String.indexOf(needle, startIndex)
  • Added Sequence.take and Sequence.skip
  • Added List.filled(count, value)
  • Added Num.pow, Num.log, Num.round
  • Added Num.largest, Num.smallest
  • Added Map iteration (MapEntry)

C API

  • Added wren.hpp for use in c++
  • Added void* user data to WrenVM
  • Allow hosts with no module loader to still load optional modules.
  • Added wrenAbortFiber

CLI

Please note that beyond 0.2.0 the CLI will have it's own changelog. This list is not exhaustive. For a fuller history see the commit log above.

  • Add path module
  • Add --version
  • Add REPL written in Wren
  • Add Stdin.isTerminal
  • Added Platform class
  • Rename process module to os

0.1.0

First declared version. Everything is new!