version bump
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 24 Sep 2023 22:03:32 +0000 (17:03 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 24 Sep 2023 22:03:32 +0000 (17:03 -0500)
CHANGELOG
compiler/src/onyx.c

index 92f0e157209aef66e898cfade7004c687ea124d4..7fba5704fedeb43a8167f1d643f41ea9e40d5b48 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,18 +1,36 @@
 Release v0.1.6
 -----------
-Not released
+24th September 2023
 
 Additions:
-* Tagging global variables.
+- Tagging global variables.
     - Just like procedure and structure tags.
     - Use `runtime.info.tagged_globals` and `runtime.info.get_globals_with_tag()`
-* `string.to_cstr_on_stack`
+- `logf` for formatted logging.
+    - This is only present if `conv.format` is present.
+- Ability to debug GC allocator by defining `runtime.vars.Enable_GC_Debug`.
+- Ability to set allocator on `Map`.
+- `string.to_cstr_on_stack`
+- `Date.day_of_week()`
 
 Removals:
 
 Changes:
+- `misc.any_to_map` now returns `? Map(str, any)`.
+- Build scripts on Linux no longer internally use `sudo`, requiring the script to be run with `sudo` instead.
+    - This makes it possible to easily build Onyx into a container image.
+- Parse errors with an unexpected symbol now say the symbol's name instead of TOKEN_TYPE_SYMBOL.
 
 Bugfixes:
+- `alloc.arena.clear` would not leave the arena in a proper state for further allocations.
+- `array.filter` was implemented incorrectly.
+- `runtime.platform.__get_env` was implemented incorrectly on Onyx runtime.
+- `Result.is_ok` and `Result.is_err` were implemented with incorrect return types.
+- `Timestamp.from_date` was implemented incorrectly.
+- `Date.add_months` was implemented incorrectly.
+- `alloc.atomic` was left untested.
+- `Reader.read_bytes` was implemented incorrectly.
+- `string.last_index_of` was implemented incorrectly.
 
 
 
index dc583189af1cedc596a3761cb99842737fd01157..f0f03ce84ff546006b6926351f68c17ddf95127c 100644 (file)
@@ -19,7 +19,7 @@ extern struct bh_allocator global_heap_allocator;
 #include "wasm_emit.h"
 #include "doc.h"
 
-#define VERSION "v0.1.5"
+#define VERSION "v0.1.6"
 
 
 Context context;
@@ -173,6 +173,12 @@ static CompileOptions compile_opts_parse(bh_allocator alloc, int argc, char *arg
         options.action = ONYX_COMPILE_ACTION_WATCH;
         arg_parse_start = 2;
     }
+        // `#ifdef ENABLE_RUN_WITH_WASMER
+        // `else if (!strcmp(argv[1], "run-watch")) {
+        // `    options.action = ONYX_COMPILE_ACTION_RUN_WATCH;
+        // `    arg_parse_start = 2;
+        // `}
+        // `#endif
     #endif
     else {
         char *script_filename = bh_aprintf(alloc, "%s/tools/%s.wasm", core_installation, argv[1]);