mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 21:58:48 +01:00
1.5 KiB
1.5 KiB
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
importwas made smarter, differentiating relative from logicalFibercan now accept a value from the firstcall/transfer- Added
String.trim,String.trimEnd,String.trimStartvariants - Added
String.split,String.replace,String.fromByte - Added
String.indexOf(needle, startIndex) - Added
Sequence.takeandSequence.skip - Added
List.filled(count, value) - Added
Num.pow,Num.log,Num.round - Added
Num.largest,Num.smallest - Added
Mapiteration (MapEntry)
C API
- Added
wren.hppfor 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
processmodule toos
0.1.0
First declared version. Everything is new!