From f23c5e8804cf3309fe0fa494db5e1856d9774308 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sat, 18 Nov 2023 23:07:05 -0600 Subject: [PATCH] updated CHANGELOG --- CHANGELOG | 24 ++++++++++++++++++++++++ bin/install.sh | 8 ++++---- build.sh | 7 ++++++- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1cf56e8a..f84fa8dd 100644 --- 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 diff --git a/bin/install.sh b/bin/install.sh index e455993c..bca321f9 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -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 diff --git a/build.sh b/build.sh index f08a7dd8..9cf73655 100755 --- 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/ } -- 2.25.1