All Versions
4
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History

  • v0.4.0 Changes

    Language

    • โž• Add continue keyword
    • โž• Add as: import "..." for Name as OtherName
    • โž• Add Support positive sign in scientific notation
    • โž• Add Fiber.try(value) to complement Fiber.call(value)
    • ๐Ÿ‘ Allow . to be on a different line (for fluent/builder APIs)

    Modules

    • Random: Random.sample optimizations
    • List:
      • add list.sort() and list.sort {|a, b| ... } (quicksort)
      • add list.swap(index0, index1) for swapping elements within a list
      • add list.indexOf(value) for finding values in a list
    • Num:
      • add Num.tau
      • add Num.nan
      • add Num.infinity
      • add min(other)
      • add max(other)
      • add clamp(min, max)
      • add exp
      • add log2

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fix stack corruption related to Fn calls
    • Fix a byte offset bug in CODE_IMPORT_VARIABLE
    • ๐Ÿ›  Fix some stack corruptions related to multiple wrenInterpret calls
    • ๐Ÿ›  Fixed crash when GC collects module during import
    • ๐Ÿ›  Fix Bool, Num and Null allowing subclassing, which is invalid

    API

    • ๐Ÿ’ฅ BREAKING: Add userData to wrenReallocateFn
    • ๐Ÿ’ฅ BREAKING: Add WrenLoadModuleResult which has a onComplete callback, allowing freeing module strings
    • โž• Add wrenHasVariable and wrenHasModule queries, for use with wrenGetVariable
    • โž• Add wrenSetListElement to complement wrenGetListElement, and allow negative index for both
    • โž• Add Map functions to API
      • wrenSetSlotNewMap
      • wrenGetMapCount
      • wrenGetMapContainsKey
      • wrenGetMapValue
      • wrenSetMapValue
      • wrenRemoveMapValue

    Other

    • ๐Ÿ— build; add util/generate_docs.py for regenerating project files
    • ๐Ÿ vm; Allow computed goto when using clang on Windows
    • vm; WREN_MAX_TEMP_ROOTS default is 8 (instead of 5)
    • ๐Ÿ–จ vm; GC debug times are printed in milliseconds, not seconds
  • v0.3.0 Changes

    ๐Ÿš€ 0.3.0 is a fairly specific release, aimed at fixing build issues across platforms, streamlining the process for new users and making embedding easier. This is a stepping stone for working on language features and improving the VM, ๐Ÿ“„ hacking on the docs and the VM is simpler than ever!

    ๐Ÿ— Builds now work out of the box on all primary platforms. ๐Ÿ Previously there was issues on Windows and other platforms due to unix-ey workflows being the default.

    โšก๏ธ All the python scripts have also been fixed and updated (to python 3), and work consistently โœ… across all platforms out of the box too (including the tests, benchmarks, metrics etc). ๐Ÿ Like before, there was some things that didn't hold up on Windows or Mac. Fixed!

    A lot of work has been done to also clarify the distinction between the CLI project and the VM, ๐Ÿšš as well as move the CLI to its own repo! ๐Ÿšš This removes a lot of code that wasn't being used, and also been clarified the project structure.

    ๐Ÿ“„ Docs have also had a clean up, and a new page to try Wren directly on the doc page was added.

    Language/VM

    • ๐Ÿšš CLI moved to own repo
    • ๐Ÿ‘€ Use premake for project generation, see projects/
    • ๐Ÿ›  Fix builds across platforms. "Just works" on all primary platforms.
    • ๐Ÿ›  Fix amalgamated script generator and amalgamated build
    • ๐Ÿ›  Fix unicode parsing and other issues in all python scripts
    • All python scripts are python3 now, and run on all platforms correctly
    • โœ… Test runner isolated and unified for VM tests
    • โœ‚ Remove SASS and Pygments requirements from docs, just python now
    • โšก๏ธ Updated docs to clarify VM/CLI split
    • โž• Added Try page for running wren code in the docs
  • v0.2.0 Changes

    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
  • v0.1.0 Changes

    First declared version. Everything is new!