updated CHANGELOG
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 19 Nov 2023 05:07:05 +0000 (23:07 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Sun, 19 Nov 2023 05:07:05 +0000 (23:07 -0600)
CHANGELOG
bin/install.sh
build.sh

index 1cf56e8a718985f50be5b5758ebecbb219714397..f84fa8dd88852f1a59fc9e3bbdd53b7c440cb7e7 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,27 @@
+Release v0.1.8
+--------------
+Unreleased
+
+Additions:
+- MacOS compatibility
+    - Using Wasmer runtime, MacOS on ARM and AMD64 are supported.
+- Memory debugger
+    - A custom allocator that intercepts allocations and frees and reports them
+      to a client for visualizations and debugging.
+- New installation script
+    - sh <(curl https://get.onyxlang.io -sSfL)
+    - Works on Linux and MacOS
+
+Removals:
+
+Changes:
+- Renamed `--no-std` flag to `--no-core`, since Onyx does not call its standard
+  library "std", the name did not make any sense.
+
+Bugfixes:
+- Formatting of days and months were incorrect `time.strftime`.
+- Infinite loop in TCP server when a client disconnects.
+
 Release v0.1.7
 --------------
 October 25th, 2023
index e455993cb870c1cf52abc7227d512d3b30364fb1..bca321f9918743f1667d7fcfed791742e4c86ad5 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # This install script is intended to download and install the latest available
-# release of Wasmer.
+# release of Onyx.
 # It attempts to identify the current platform and an error will be thrown if
 # the platform is not supported.
 #
@@ -148,7 +148,7 @@ onyx_link() {
   else
     printf "Updating bash profile $ONYX_PROFILE\n"
     if ! grep -q 'ONYX_PATH' "$ONYX_PROFILE"; then
-      command printf "$SOURCE_STR" >>"$WASMER_PROFILE"
+      command printf "$SOURCE_STR" >>"$ONYX_PROFILE"
       if [ "$ONYX_INSTALL_LOG" = "$ONYX_VERBOSE" ]; then
         printf "we've added the following to your $ONYX_PROFILE\n"
         echo "If you have a different profile please add the following:"
@@ -368,7 +368,7 @@ onyx_download() {
        ;;
      1)
        onyx_warning "The selected version (${ONYX_RELEASE_TAG}) is lower than current installed version ($ONYX_VERSION)"
-       printf "Do you want to continue installing Wasmer $ONYX_RELEASE_TAG?"
+       printf "Do you want to continue installing Onyx $ONYX_RELEASE_TAG?"
        onyx_verify_or_quit || return 1
        ;;
      -1) ;;
@@ -390,7 +390,7 @@ onyx_download() {
 
   mkdir -p $INSTALL_DIRECTORY
 
-  # Untar the wasmer contents in the install directory
+  # Untar the Onyx contents in the install directory
   tar -C $INSTALL_DIRECTORY -zxf $DOWNLOAD_FILE
 
   # Make the executable executable
index f08a7dd890967c0696747b729a126f156bb58a6d..9cf73655d14777594c1ee04433f617aabae2feb2 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -63,7 +63,12 @@ package_all() {
 compress_all() {
     package_all
 
-    tar -C dist -zcvf onyx.tar.gz bin core examples include lib misc tests tools LICENSE
+    # Sign the binaries on MacOS
+    [ "$(uname)" = 'Darwin' ] && \
+        codesign -s - "$DIST_DIR/bin/onyx" && \
+        codesign -s - "$DIST_DIR/lib/onyx_runtime.dylib"
+
+    tar -C "$DIST_DIR" -zcvf onyx.tar.gz bin core examples include lib misc tests tools LICENSE
     mv onyx.tar.gz dist/
 }