From 5338275dcdd97fd8d9fc614f420a645500836a59 Mon Sep 17 00:00:00 2001 From: underscorediscovery Date: Mon, 30 Sep 2019 21:38:08 -0700 Subject: [PATCH] 0.2.0 prep work --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++++++ src/include/wren.h | 4 ++-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00d5119f..bce89a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +## 0.2.0 + +0.2.0 spans a pretty wide time period with [around 290 commits](https://github.com/wren-lang/wren/compare/0.1.0...master). +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! diff --git a/src/include/wren.h b/src/include/wren.h index dbea3077..9585af3b 100644 --- a/src/include/wren.h +++ b/src/include/wren.h @@ -7,11 +7,11 @@ // The Wren semantic version number components. #define WREN_VERSION_MAJOR 0 -#define WREN_VERSION_MINOR 1 +#define WREN_VERSION_MINOR 2 #define WREN_VERSION_PATCH 0 // A human-friendly string representation of the version. -#define WREN_VERSION_STRING "0.1.0" +#define WREN_VERSION_STRING "0.2.0" // A monotonically increasing numeric representation of the version number. Use // this if you want to do range checks over versions.